Electron Process Execution Failure with FSLogix
Technical Note: Electron Process Execution Failure with FSLogix
1. Overview
When running Electron-based applications in environments using FSLogix Profile or Office Containers, users may encounter issues where the Electron process fails to launch or execute properly. This behavior has been observed in Azure Virtual Desktop (AVD), Windows Virtual Desktop (WVD), and other environments where FSLogix filter drivers are active.
2. Symptoms
-
Electron-based applications (e.g., desktop apps built on Electron, CLI wrappers) do not start, remain unresponsive, or terminate silently.
-
No visible logs or error messages are generated by the application.
-
Standard executables run correctly when placed outside of the FSLogix-controlled profile path (e.g., copying to
C:\Tempallows execution). -
The issue is reproducible across all Electron apps in the FSLogix-managed profile.
3. Root Cause
The issue is linked to FSLogix filter drivers (frxdrv, frxdrvvt, frxccd) interfering with how Electron performs:
-
File I/O redirection
-
Process spawning
-
Temp/cache file usage
Electron apps rely heavily on filesystem operations and IPC channels. Certain FSLogix driver feature flags appear to block or alter these operations, preventing the Electron runtime from initializing correctly.
4. Resolution
The workaround is to adjust the SupportedFeatures registry value for all three FSLogix drivers:
Registry Keys
Value to Set
-
Hexadecimal:
b orDecimal:11
Steps
-
Open Registry Editor (
regedit.exe) with administrative privileges. -
Navigate to each of the keys listed above.
-
Modify the
SupportedFeaturesvalue:-
Change from existing value to
11(decimal) orb(hex).
-
-
Close the Registry Editor.
-
Reboot the system to apply changes.
5. Verification
-
Launch the affected Electron-based application.
-
Confirm that the process executes normally under FSLogix-managed profiles.
-
Validate logs (if available) to ensure no startup errors persist.
6. Considerations
-
This change alters how FSLogix drivers handle certain feature flags. Microsoft has not fully documented the meaning of value
0x11. -
The fix is widely reported to resolve Electron startup issues and other CLI/runtime failures (e.g., Azure CLI, AWS CLI).
-
Apply in test environments first before deploying broadly.
-
Track FSLogix release notes for a permanent fix (future builds may eliminate the need for this workaround).
Comments
Post a Comment