FSLogix Profile Issues

%3CLINGO-SUB%20id%3D%22lingo-sub-1988611%22%20slang%3D%22en-US%22%3EFSLogix%20Profile%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1988611%22%20slang%3D%22en-US%22%3E%3CP%3EAll%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHoping%20someone%20here%20can%20help%20out%20with%20FSLogix%20issue.%20Environment%20%3D%20250%20%2B%20users%2C%20using%20Citrix%20Provision%20MCS%2C%20Single%20Session%20Windows%2010%20VDI%20(Windows%2010%20Version%201909)%20with%20FSLogix%20Version%202004%20(2.9.7349.30108)%2C%20being%20the%20profile%20manager.%20Below%20are%20the%20FSLogix%20GPO%20settings%20applied%20to%20Windows%2010%20Golden%20image%2C%20which%20then%20gets%20deployed%20to%20250%2B%20VDI.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPolicy%20definitions%20(ADMX%20files)%20retrieved%20from%20the%20central%20store.FSLogix%3CBR%20%2F%3EPolicy%20Setting%20Comment%3CBR%20%2F%3EDays%20to%20keep%20log%20files%20Enabled%3CBR%20%2F%3EDays%20to%20keep%20log%20files%2014%3CBR%20%2F%3E%3CBR%20%2F%3EPolicy%20Setting%20Comment%3CBR%20%2F%3EEnable%20logging%20Enabled%3CBR%20%2F%3EAll%20logs%20enabled%3CBR%20%2F%3E%3CBR%20%2F%3EPolicy%20Setting%20Comment%3CBR%20%2F%3EEnable%20logging%3A%20Profiles%20Enabled%3C%2FP%3E%3CP%3EPolicy%20Setting%20Comment%3CBR%20%2F%3EEnable%20search%20roaming%20Enabled%3CBR%20%2F%3ESingle-user%20search%3CBR%20%2F%3E%3CBR%20%2F%3EPolicy%20Setting%20Comment%3CBR%20%2F%3EPath%20to%20logging%20files%20Enabled%3CBR%20%2F%3EPath%20to%20logging%20files%20(%5C%5Clocal%20share%20host%20server%202016%20server)%3C%2FP%3E%3CP%3EFSLogix%2FProfile%20Containers%3CBR%20%2F%3EPolicy%20Setting%20Comment%3CBR%20%2F%3EDynamic%20VHD(X)%20allocation%20Enabled%3CBR%20%2F%3E%3CBR%20%2F%3EPolicy%20Setting%20Comment%3CBR%20%2F%3EEnabled%20Enabled%3CBR%20%2F%3E%3CBR%20%2F%3EPolicy%20Setting%20Comment%3CBR%20%2F%3EProfile%20type%20Enabled%3CBR%20%2F%3ENormal%20direct-access%20profile%3CBR%20%2F%3E%3CBR%20%2F%3EPolicy%20Setting%20Comment%3CBR%20%2F%3ESet%20Outlook%20cached%20mode%20on%20successful%20container%20attach%20Enabled%3C%2FP%3E%3CP%3EPolicy%20Setting%20Comment%3CBR%20%2F%3ESize%20in%20MBs%20Enabled%3CBR%20%2F%3ESize%20in%20MBs%2020000%3CBR%20%2F%3E%3CBR%20%2F%3EPolicy%20Setting%20Comment%3CBR%20%2F%3EStore%20search%20database%20in%20profile%20container%20Enabled%3CBR%20%2F%3ESingle-user%20search%3CBR%20%2F%3E%3CBR%20%2F%3EPolicy%20Setting%20Comment%3CBR%20%2F%3EVHD%20location%20Enabled%3CBR%20%2F%3EVHD%20location%20(%5C%5Clocalshare%5C%25Username%25)%3CBR%20%2F%3E%3CBR%20%2F%3EPolicy%20Setting%20Comment%3CBR%20%2F%3ERemove%20Orphaned%20OST%20Files%20On%20Logoff%20Enabled%3C%2FP%3E%3CP%3EPolicy%20Setting%20Comment%3CBR%20%2F%3EVHDX%20sector%20size%20Enabled%3CBR%20%2F%3E512%20bytes%3CBR%20%2F%3E%3CBR%20%2F%3EPolicy%20Setting%20Comment%3CBR%20%2F%3EVolume%20re-attach%20retry%20count%20Enabled%3CBR%20%2F%3EVolume%20re-attach%20retry%20count%202%3C%2FP%3E%3CP%3EFSLogix%2FProfile%20Containers%2FContainer%20and%20Directory%20Naming%3CBR%20%2F%3EPolicy%20Setting%20Comment%3CBR%20%2F%3EVirtual%20disk%20type%20Enabled%3CBR%20%2F%3EVHDX%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIssue%3A%20VHDX%20profile%20gets%20DISCONNECTED%20at%20exactly%2010%20Hours%20mark.%20Since%20the%20user%20profile%20is%20mounted%20to%20Windows%2010%20VDI%20upon%20log%20on%2C%20when%20the%20VHDX%20profile%20is%20disconnected%2C%20everything%20stops%20working.%20By%20everything%20i%20meant%20access%20to%20File%20explorer%20and%20all%20Applications%20stops%20and%20the%20VDI%20becomes%20completely%20unresponsive.%20If%20there%20were%20unsaved%20files%2C%20they%20would%20be%20lost.%20The%20only%20way%20to%20get%20around%20this%20is%20by%20getting%20user%20to%20sign%20out%20of%20the%20affected%20vdi.%20Start%20Menu%20and%20Task%20Manager%20remains%20functional%2C%20so%20users%20can%20click%20start%20and%20sign%20out.%20When%20they%20sign%20out%2C%20the%20VDI%20is%20automatically%20restarted%20and%20placed%20back%20to%20the%20VDI%20pool%20(Citrix%20MCS).%20When%20the%20same%20user%20starts%20another%20new%20session%2C%20they%20are%20assigned%20a%20new%20Windows%2010%20VDI%20and%20the%20countdown%20begins%20once%20again.%3CBR%20%2F%3EOn%20the%20server%20that%20is%20hosting%20VHDX%2C%20we%20can%20see%20sessions%20getting%20dropped%20as%20soon%20as%20they%20hit%2010%20hours.%3CBR%20%2F%3EWe%20narrowed%20down%20the%20issue%20by%20setting%20up%20a%20new%20Citrix%20UPM%20machine%20catalog%2C%20No%20FSlogix%20and%20the%20issue%20where%20profile%20gets%20disconnected%20after%2010%20hours%20does%20not%20occur.%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EWe%20have%20tried%20the%20following%3A%3CBR%20%2F%3E%E2%80%A2%20Able%20to%20replicate%20the%20issue%20with%20or%20without%20having%20any%20workload%20on%20VDI%20and%20by%20multiple%20users%3CBR%20%2F%3E%E2%80%A2%20Removed%20the%20last%20installed%20MS%20patch%20(November%2010%2C%202020%E2%80%94KB4586786.%20This%20KB%20had%20some%20Kerberos%20ticket%20it%20issues%2C%20which%20we%20suspect%20to%20be%20the%20root%20cause%20especially%20if%20you%E2%80%99re%20using%20FSlogix%2C%20but%20then%20again%20no%20proves%2C%20other%20than%20Microsoft%20acknowledgement%20of%20Kerberos%20issue%20on%20KB4586786.%20We%20have%20not%20yet%20applied%20the%20December%20patch%20but%20we%20rollback%20to%20previous%20month%20snapshot%2C%20but%20the%20issue%20persists.%3CBR%20%2F%3E%E2%80%A2%20Stopped%20the%20Windows%20Search%20Service%20before%20the%2010%20hours%20mark%3CBR%20%2F%3E%E2%80%A2%20Restart%20Windows%20Search%20Service%20just%20before%20the%2010%20hours%20mark%3CBR%20%2F%3E%E2%80%A2%20Stopped%20Outlook%20Indexing%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EWe%E2%80%99re%20contemplating%20on%20whether%20to%20upgrade%20to%20FSlogix%20Version%202009%2C%20but%20we%E2%80%99re%20not%20sure%20if%20this%20would%20fix%20the%20issue.%3C%2FP%3E%3CP%3EPlease%20advise%20if%20you%E2%80%99ve%20come%20across%20this%20or%20similar%20FSLogix%20issue%20in%20the%20past.%3CBR%20%2F%3EThank%20you%20for%20your%20help%20in%20advance.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F613357%22%20target%3D%22_blank%22%3E%40Gonzalo_Reyna%3C%2FA%3E%26nbsp%3B%26nbsp%3B%3C%2FSPAN%3Eany%20suggestions%20please%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1988611%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3Efslogix%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2219431%22%20slang%3D%22en-US%22%3ERe%3A%20FSLogix%20Profile%20Issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2219431%22%20slang%3D%22en-US%22%3EHi%20Magualeek%2C%3CBR%20%2F%3E%3CBR%20%2F%3EMaybe%20to%20late%2C%20but%2010%20hours%20mark%20sound%20for%20me%20a%20Kerberos%20Ticket%20problem.%20I%20had%20the%20same%20problem%20and%20the%20Kerberos%20ticket%20was%20not%20renewed%20during%20the%20session.%20The%20Ticket%20will%20be%20only%20renewed%20if%20you%20do%20a%20re%20login%20from%20screensaver%20or%20similar.%20This%20was%20the%20point%20in%20my%20case.%20Use%20the%20command%20klist%20to%20watch%20Kerberos%20Tickets...%3C%2FLINGO-BODY%3E
Established Member

All,

 

Hoping someone here can help out with FSLogix issue. Environment = 250 + users, using Citrix Provisioning MCS, Single Session Windows 10 VDI (Windows 10 Version 1909) with FSLogix Version 2004 (2.9.7349.30108) being the profile manager. Below are the FSLogix GPO settings applied to Windows 10 Golden image, which then gets deployed to 250+ VDI.

 

Policy definitions (ADMX files) retrieved from the central store.FSLogix
Policy Setting Comment
Days to keep log files Enabled
Days to keep log files 14

Policy Setting Comment
Enable logging Enabled
All logs enabled

Policy Setting Comment
Enable logging: Profiles Enabled

Policy Setting Comment
Enable search roaming Enabled
Single-user search

Policy Setting Comment
Path to logging files Enabled
Path to logging files (\\local share host server 2016 server)

FSLogix/Profile Containers
Policy Setting Comment
Dynamic VHD(X) allocation Enabled

Policy Setting Comment
Enabled Enabled

Policy Setting Comment
Profile type Enabled
Normal direct-access profile

Policy Setting Comment
Set Outlook cached mode on successful container attach Enabled

Policy Setting Comment
Size in MBs Enabled
Size in MBs 20000

Policy Setting Comment
Store search database in profile container Enabled
Single-user search

Policy Setting Comment
VHD location Enabled
VHD location (\\localshare\%Username%)

Policy Setting Comment
Remove Orphaned OST Files On Logoff Enabled

Policy Setting Comment
VHDX sector size Enabled
512 bytes

Policy Setting Comment
Volume re-attach retry count Enabled
Volume re-attach retry count 2

FSLogix/Profile Containers/Container and Directory Naming
Policy Setting Comment
Virtual disk type Enabled
VHDX

 

Issue: VHDX profile gets DISCONNECTED at exactly 10 Hours mark. Since the user profile is mounted to Windows 10 VDI upon log on, when the VHDX profile is disconnected, everything stops working. By everything i meant access to File explorer and all Applications stops and the VDI becomes completely unresponsive. If there were unsaved files, these would be lost. The only way to get around this is by getting user to sign out of the affected VDI. Start Menu and Task Manager remains functional, so users can click start and sign out. When they sign out, the VDI is automatically restarted and placed back to the VDI pool (Citrix MCS). When the same user starts another new session, they are assigned a new Windows 10 VDI and the countdown begins once again.
On the server that is hosting VHDX, we can see sessions getting dropped as soon as they hit 10 hours.
We narrowed down the issue by setting up a new Citrix UPM machine catalog, No FSlogix and the issue where profile gets disconnected after 10 hours does not occur.


We have tried the following:
• Able to replicate the issue with or without having any workload on VDI and by multiple users
• Removed the last installed MS patch (November 10, 2020—KB4586786. This KB had some Kerberos ticket issues, which we suspect to be the root cause especially on FSlogix Profile environment, but then again no prove, other than Microsoft acknowledgement of Kerberos issue on KB4586786. We have not yet applied the December patch but we rollback to previous month snapshot, but the issue persists.
• Stopped the Windows Search Service before the 10 hours mark as this one of the Service that stop as soon as the issue occurs
• Restart Windows Search Service just before the 10 hours mark
• Stopped Outlook Indexing


We’re contemplating on whether to upgrade to FSlogix Version 2009, but we’re not sure if this would fix the issue.

Please advise if you’ve come across this or similar FSLogix issue in the past.
Thank you for your help in advance.

 

@Gonzalo_Reyna  any suggestions please?

 

2 Replies

@Magualeek Thanks for contacting us. I can certainly tell you that there is no FSLogix setting that would cause such situation and I have not seen anything like that. Considering that you are saying that it is exactly at the 10 hrs. mark, I would start a procmon trace a couple of minutes before the 10 hrs. mark and stop it after the disk is disconnected, then look for the processes that are started before VHDX gets disconnected. You can get procmon from here Process Monitor - Windows Sysinternals | Microsoft Docs.

 

If you need assistance analyzing the trace, I would strongly recommend you to open a support ticket.

Hi Magualeek,

Maybe to late, but 10 hours mark sound for me a Kerberos Ticket problem. I had the same problem and the Kerberos ticket was not renewed during the session. The Ticket will be only renewed if you do a re login from screensaver or similar. This was the point in my case. Use the command klist to watch Kerberos Tickets...