New version out https://techcommunity.microsoft.com/t5/azure-virtual-desktop/the-fslogix-2201-public-preview-is-now-available/m-p/3070794#M8455
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?
106 answers
Sort by: Most helpful
-
-
EslieRey 6 Reputation points
2022-01-25T20:55:57.96+00:00 hi,
does everyone saw this tweet:
hxxps://twitter.com/mohrpheus78/status/1485707139096223745?t=Q-4iV--uvKFdIK-Uqw65lw&s=19
private fix available from citrix support.
ps.
this is not for the local profile stuff that's left behind but more for usersessions not correct logging off. mixed per accident the the wrong thread, but maybe its usefull to somebody here.
-
ArendjanHoek-3943 1 Reputation point
2022-02-24T19:46:13.113+00:00 There is an interesting line in the release notes for the 2201 Preview version:
FSLogix now correctly handles cases where the Windows Profile Service refCount registry value is set to an unexpected value.
-
futurewp 1 Reputation point
2022-03-07T09:45:38.967+00:00 Hi all
Please see https://support.citrix.com/article/CTX340175 for a hotfix
-
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??