We've mitigated our fslogix issues by restarting our RDS servers once a week. It's a pain but ever since we introduced this cadence we haven't had the odd server lockups we used to get.
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?
105 answers
Sort by: Newest
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-
Deleted
This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.
Comments have been turned off. Learn more
-
-
Jos 106 Reputation points
2023-08-10T15:01:01.6666667+00:00 We do have the same issue, the
local_username
folder remains when the users has logged off on the server. Inside this are two folders which we cannot open because we then getAccess denied
:-
\AppData\Local\Microsoft\Credentials
-
\AppData\Local\Microsoft\Office\16.0\OfficeFileCache
We are using the following configuration:
- Windows Server 2019 Standard 1809 17763.4645
- FsLogix 2.9.8440.42104
This is the error from
Profile....txt
[15:03:02.304][tid:00001054.00003978][ERROR:00000091] Error removing directory: C:\Users\local_username\AppData\Local\Microsoft\Office\16.0 (De map is niet leeg.) [15:03:02.304][tid:00001054.00003978][WARN: 00000091] Failed to delete C:\Users\local_username (De map is niet leeg.)
A bit further in the log we see
[16:24:04.929][tid:00001054.0000ad60][WARN: 00000005] Failed to delete C:\Users\local_username (Toegang geweigerd.)
Anyone who found a solution?
-
-
Андрей Михалевский 2,641 Reputation points
2023-04-05T12:27:35.0933333+00:00 This is an old problem, has been around for at least two years. The developers say it is not a problem with FSLogix, but with third-party applications. Unfortunately, even with Microsoft Office this is a common problem.