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:

Why we use Fslogix.

 

 

FSLOGIX Supported OS: Supports all MS supported a partially system

1. Windows 11 single or multi session.

 

 

Types of containers: Fslogix has two primary containers:

 

 

Agent components of FSLOGIX:

 

Services:

 

 

 

Drivers:

 

 

Prerequisites for FSLOGIX:

 

 

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.

 

 

FSLOGIX installation path:

C > Program files > Fslogix > apps

 

Cloud cache:

 

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.

 


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:

 

 

# 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:

 

 

 

Profile Type:

Type= Dword

Default value = 0


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:

 

 

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.

 



On-Premise:

 

 

 

 

FSLOGIX Deployment (AVD Entra- joined)

 



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.