New verison is out - 2210!
FsLogix - Unclean logoff causing locked files until server reboot
Problem is described by M4deman under unclean-logoff-causing-locked-files-until-server-reboot
It seems to have something to do with the 2009 version.
The latest version of FSLogix is installed whats-new
Description
After a user logoff, the "System" Process (PID 4) locks the following folders:
C:\Users\local_username\AppData\Local\Microsoft\Credentials
C:\Users\local_username\AppData\Roaming\Microsoft\Credentials
The user is completely logged of, according to Task Manager.
In the FSLogix Profile Log file I can see the following:
[07:53:55.601][tid:00000c90.0000ce44][ERROR:00000020] Delete profile failed for sid S-1-5-21-3364776539-3721753400-1968955100-1179, Cleaning up manually. (Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird.)
The last sentence means that the process cannot access the file, because another process already uses it.
Also the whole "local_username" folder cannot be deleted:
[08:23:15.479][tid:00000c90.0000bcc4][WARN: 00000005] Failed to delete C:\Users\local_usename (Access is denied)
Access Denied
Does someone have any info on this behaviour?
Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
Windows for business | Windows Client for IT Pros | User experience | FSLogix
107 answers
Sort by: Most helpful
-
TheAppGuru 1 Reputation point
2022-11-19T03:13:58.133+00:00 We have the same issue with LTSR 2203 CU1, Server 2019, and latest version of FSLogix. Opened a ticket with support and they blamed the Citrix DLLs, specifically the special redirection DLL SfrHook
I just ended up closing the ticket rather than going down that rabbit hole.
Right now, I keep removing exclusions from our Redirections.xml. All the folders that it's complained about so far have mostly been empty. Every week it's a new folder so we'll see if I ever find the center of the lollipop.
-
Martijn Kools 171 Reputation points
2022-10-17T14:23:47.733+00:00 This is still not fixed. Just did a new Citrix install, 2203 LTSR on W2019 with latest Fslogix version (FSLogix 2201 hotfix 2 (2.9.8228.50276).
Credentials folders are still not deleted on logoff.
-
Steve Turnbull 26 Reputation points
2022-03-19T07:49:14.987+00:00 Hi
We also have the same issues with the following environment
Windows server 2019 + latest updates
Citrix 1912cu3 vda
Fslogix 2105
Ivanti environment manager for policiesWe see the local_username folders left behind.which cannot be removed and see entries in logs for either folder not empty or access denied when it’s trying to do a cleanup.
We are also using cloud cache and sometimes profile containers appear to be having some corruption as we will see some failures at logon where drive mappings etc won’t work and ivanti policy fails to load for the user session. This is intermittent and you can log on and off multiple times and not see it but suddenly it will happen for a user.
We are using the cleanupinvalidsession key and I read in an old article this was not supported with cloudcache. What is the reason not to use it with cloudcache and is there any impact using it?
We don’t seem to have many issues with logoff or container locks but we have had issues with logons which required a server reboot to fix.
Has anyone had any success with the recent preview build of 2201? to resolve any of these issues.
Thanks
-
Georgios Papadopoulos 1 Reputation point
2022-03-08T17:42:34.687+00:00 Hello,
I'm thinking about upgrading FSlogix in our AVD infrastructure to latest version, just in case it fixes this problem.
Can I just download the latest installer and run it? Do I need to do any changes prior or after the upgrade??