Forum Discussion

Redsman13's avatar
Redsman13
Copper Contributor
Oct 12, 2022

FSLogix Profile exclusions for Win10 Multi-User Sessions

Hi all,

 

Are there any recommended Microsoft best practises with regards to FSLogix profile exclusions when running Windows 10 + M365 Multi User Sessions utilising the redirections.xml file.

 

Thanks in advance.

3 Replies

  • Few suggestions which I did in my environment hope that helps
    .Antivirus Exclusions for FSLogix
    Exclude files:
    %ProgramFiles%\FSLogix\Apps\frxdrv.sys
    %ProgramFiles%\FSLogix\Apps\frxdrvvt.sys
    %ProgramFiles%\FSLogix\Apps\frxccd.sys
    Exclude file type:
    %TEMP%*.VHD
    %TEMP%*.VHDX
    %Windir%\TEMP\*.VHD
    %Windir%\TEMP\*.VHDX
    \\storageaccount.file.core.windows.net\share\*.VHD
    \\storageaccount.file.core.windows.net\share\*.VHDX

    Note: replace " storageaccount.file.core.windows.net\share " with correct path to your storage location

    Exclude processes:
    %ProgramFiles%\FSLogix\Apps\frxccd.exe
    %ProgramFiles%\FSLogix\Apps\frxccds.exe
    %ProgramFiles%\FSLogix\Apps\frxsvc.exe

    3.Set CleanupInvalidSessions Reg Key
    SET IN: [HKLM\Software\FSLogix\apps\CleanupInvalidSessions]

    Available in FSLogix release 2009 or later

    Type: DWORD

    Default Value=1

    At times a Windows Session may suffer an inelegant termination, in these cases FSLogix is not provided an appropriate event to trigger the dismount of the VHD(x) file for Profile Container and Office Container. By setting CleanupInvalidSessions to 1, additional FSLogix logic is triggered to make this scenario less likely. Setting CleanupInvalidSessions will cause the functionality to be utilized for both Profile Container and Office Container. KNOWN ISSUE: at this time CleanupInvalidSessions should not be used in conjunction with Cloud Cache when concurrent sessions (e.g utilizing ProfileType/VHDAccessMode) are in use.

    4.Set time limit for disconnect session
    Configure Timeout and Reconnection Settings for Remote Desktop Services Sessions

    Open Group Policy Console in your AD

    Then navigate to the following location as the below given instructions and set to 20 or 30 minutes:

    Local Computer Policy
    => Computer Configuration
    => Administrative Templates
    => Windows Components
    => Remote Desktop Services
    => Remote Desktop Session Host
    => Session Time Limits

    • Chandrasekhar_Arya's avatar
      Chandrasekhar_Arya
      Iron Contributor
      Thanks a lot Please "Accept as Answer" if it helped so it can help others in community looking for help on similar topics.
      • Redsman13's avatar
        Redsman13
        Copper Contributor
        Is there any update to date Microsoft guidance on FSLogix best practices for a Windows 10 Multi User Session Environment? We are experiencing the following issue at the moment and are working through the implementation of some additional exclusions detailed in the article:

        https://learn.microsoft.com/en-us/microsoft-365/troubleshoot/authentication/cannot-sign-in-microsoft-365-desktop-apps

        Thanks in advance.

Resources