Fslogix: is a type of user profile solution which enhance and enables a consistent experience for windows user profiles in virtual desktop computing environment. Fslogix is not limited to virtual desktop environments and could be used on physical desktop where a more portable user experience is desired.
Fslogix Function:
Roam user data.
Minimize sign in times for virtual desktop environments.
Optimize file I/O (input/Output)
Provide a local profile experience.
Simplify the managements of applications and Gold images.
Why we use Fslogix.
Filter driver masks the folder where the VHD is mounted.
Behaves as if its locally-mounted, avoiding the problems introduced by using junction points.
Enables use of Teams and OneDrive.
Fslogix containers supports concurrent sessions.
RDS Client access license (CALs)
RDS subscriber Access License (SAL)
Azure virtual desktop per-user license.
FSLOGIX Supported OS: Supports all MS supported a partially system
1. Windows 11 single or multi session.
Windows server license (2016,2019,2022,2025)
Types of containers: Fslogix has two primary containers:
Profile container: A profile container is all the data related to a user's profile which is directly stored in the VHD(X).
i) It’s a full remote profile solution for non-persistent environment.
ii) Redirects the entire user profile to the remote location.
iii) Its configuration defines how and where the profile is re-directed.
iv) The entire profile except redirection.XML is included in the profile container.
v) Profile container includes all the benefits of the Office container.
vi) Profile container VHD will contain the entire windows profile for the user except for:
a) The temp folder location.
b) The IE Crash folder location.
Note: Exclusions are done with a "redirection.xml" file.ODFC Container: An ODFC container type which is focused on storing profile content that is unique to Microsoft Office applications:
i) It redirects only area of the profile that are specific to Microsoft Office.
ii) A default ODFC container includes:
Office activation, outlook, outlook personalization, SharePoint, OneDrive, Skype for Business (legacy support)
ODFC containers are an optional configuration.
ODFC container is not backed up or replicated to alternate location since the data is recoverable from the source.
Agent components of FSLOGIX:
FRX.exe - it is the command line utility. Installed to C>program files>Fslogix>apps
Services:
FRXSVC.exe: Service that communicates with the command line tool, the drivers and monitor the rule folder for changes.
FXRCCDS.exe: Service responsible for handling cloud cache operations.
Drivers:
FRXDRV.sys: this driver is responsible for handling file system and registry request to make hiding and redirection work.
FRXDRVVT.sys: This driver provides the advanced redirection capabilities for profile on ODFC containers.
FRXCCD.sys: responsible for handling cloud cache.
Prerequisites for FSLOGIX:
Supported OS (Windows 11, WS 2016, 2019, 2022, 2025)
Eligible licenses (E3/E5, A3/A5, F1)
User should have access to the storage provider
\\{server-name}contoso.com\{share-name}
\\{RDCB.contoso.com\fileshare. Or
\\{storage-account-name}.File.core.windows.net\{sharename}Configure anti-virus exclusion (av=anti-virus)
Note: Anti-virus products are known to conflict with Fslogix containers and requires that specific files and folders are excluded from any type of scanning.
The VHD(X) can be located on the local drive or on a network drive.
FSLOGIX installation path:
C > Program files > Fslogix > apps
Cloud cache:
Used for high availability environment.
Location: registry/policy: CCDlocation
Path: HKLM > SOFTWARE >FSLOGIX > Profile (For Profile)
HKLM > SOFTWARE > Policies > FSLOGIX > ODFC (for ODFC )
CCDLocation and VHD location must not be present at the same time.
Cloud cache: is a feature that works with profile and ODFC containers to provide resiliency and high availability.
FSLOGIX logs
C > Program data > Fslogix > logs
Common log files in Fslogix:
By default logging is enabled for all log files.
Logging configuration (how many days to keep the logs etc)
HKLM > SOFTWARE > Fslogix > logging
Profile Container related logs:
Directory: %programdata%\fslogix\logs\profile
For ODFC container:
Path: %Programdata%\Fslogix\logs\ODFC
Rule Compilation
%Program%\fslogix\logs\rulecompilation
Fslogix Service logs:
%programdata%\fslogix\logs\service
How to install and configure Fslogix:
Download the latest version
Extract the files
Move the .admx file to C > Windows > Policydefinitions
Move the .adml file to C > Windows > policydefinition > En-US
# We move both these files so that Fslogix can appear in Gpedit.msc (both these files are template)
Note: After FSLogix is installed 4 user groups are created:
Fslogix ODFC exclude list
Fslogix include list
Fslogix Profile Exclude list (add domain administrator using lusrmgr.msc)
Fslogix Profile Include list
Profile Type:
Type= Dword
Default value = 0
0 : Normal profile behavior
1: Machine should only be the RW profile instance
2: Machine should only be the RO profile instance
3: Machine should try to take the RW role and if it can't, it should fall back to a RO role.
VHDX Disk Compaction: VHD disk compaction is a process that runs every time a user signs out. The compaction process is designed to automatically decrease the amount of storage a user's container, depending on a predefined threshold. VHD disk compaction is enabled by default.
Disk compaction dependency:
VHD disk compaction process depends on the optimize drivers service ( Defragsvc)
Requirement for Disk compaction:
Drivers should be dynamically expandable (VHDX)
Disk compaction should be enabled (it is enabled by default)
Disk defragment should not be disabled.
Size of the container must be greater than 1gb for disk compaction to run.
A-B=c
If C >= (A x 0.2), compaction runs
If C < (A x 0.2 ), compaction doesn't run
FSLOGIX Workflow/Connection flow.
User logs in to the Windows Machine with Fslogix installed and configured.
Fslogix agents reads through the Fslogix configuration and checks VHD location.
If the user has correct permission (read/write), the VHD(X) is dynamically attached/mounted to the machine.
The user profile is immediately available and appears in the system and behaves like a local profile.
After user logs off, the VHD is detached/unmounted gracefully and ready to be attached the next time user logs in.
On-Premise:
On supported windows machine install Fslogix apps.
Fslogix,m it can be configured in two ways:
i) GPO
ii) RegistryIf using GPO to configure Fslogix, we need to add the Fslogix.admx and Fslogix.adml files to %sysvol%\policydefinition and %sysvol%\policydefinition\en-us respectively
This will add the policy template to the local group policy.Create a file share and share with the users (allow read\write)
Configure below GPOs: Enabled: set to enabled and select Enabled.
* VHD Location: Set to Enabled and specify the path of the file share (eg: \\fileserver.domain.com\fileshare)Set optional GPO such as:
i) Delete local profile when VHD should apply
ii) Volume type
iii) Prevent login with temp profile
iv) Prevent login with failure
v) Size in MBEnsure that the user is member of the "FSLOGIX profile include group" in the local user groups (by default everyone is added)
i) It is recommended to add the administrators to the "FSLOGIX profile Exclude group" for troubleshooting purpose.Login to the configured windows machine using the account added to the FSLOGIX include group.
User should have Fslogix profile created and loaded.
FSLOGIX Deployment (AVD Entra- joined)
On the session host, install the Fslogix app using Fslogix app setup.
Fslogix can be configured in two ways, GPO and registry.
If using GPO to configure Fslogix, we need to add the Fslogix.admx and Fslogix.adml files to %sysvol%\policydefinition and %sysvol%\policydefinition\en-us respectively.
Create a storage account and a file share within the storage account
- Using access control fomr the file share assign below Rbac role to the user:
-Role: SME share contributorConfigure below GPO (required):
- Enabled: set to Enabled and select Enabled.
-VHD location: et to enabled and specify the path of the file share (eg: \\stroage account name.file.core.windows.net\fileshare-Set option GPO such as:
- Delete local profile when VHD should apply
-Volume type
- Prevent login with temp profile
- Prevent login with failure
- Size in MBEnsure that the user is a member of the "FSLOGIX profile include group" In the local user group (by default everyone is added)"
- It is recommended to add the administrator to the "FSLOGIX profile exclude group" for troubleshooting purpose.Login to the AVD using the Windows app.
Users should have FSLOGIX profile created and loaded.
Cleanup Invalid Sessions
HKLM > SOFTWARE > FSLOGIX > APPS
Dword > cleanupInvalidSessions
Enabled value=1
Disabled value= 0 (default)
When cleanup invalid session is configured FSLOGIX attempts to clean up the invalid session (The VHD(X) mounted for the user profile isn't properly detached) and allow a successful sign-in when the user sign-in next time.