FsLogix - Unclean logoff causing locked files until server reboot

Much R 71 Reputation points
2021-01-13T16:29:50.18+00:00

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?

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,315 questions
FSLogix
FSLogix
A set of solutions that enhance, enable, and simplify non-persistent Windows computing environments and may also be used to create more portable computing sessions when using physical devices.
467 questions
{count} votes

106 answers

Sort by: Most helpful
  1. Sven Goossens 1 Reputation point
    2021-05-28T09:24:03.237+00:00

    We saw the issue dissappear after completely removing the antivirus. So I'm not really sure this is caused by Fslogix.


  2. CitrixMember 6 Reputation points
    2021-06-03T11:14:58.923+00:00

    Any improvements with frxrobocopy.exe tool inside fslogix\apps?


  3. CitrixMember 6 Reputation points
    2021-06-14T06:49:58.023+00:00

    Finally! New FSLogix version out on public review!
    Anyone tried this version according to the problems?
    It seems the problems is mentioned here fixed.

    https://techcommunity.microsoft.com/t5/fslogix-blog/fslogix-release-2105-public-preview/ba-p/2380669


  4. Андрей Михалевский 2,641 Reputation points
    2021-07-16T07:08:42.88+00:00

    Hello. Has anyone been able to fix this ? Please share the solution.

    0 comments No comments

  5. Daniel Viklund 12 Reputation points
    2021-07-16T14:01:00.283+00:00

    Looks like this problem still exist with the latest version 2.9.7838.44263

    0 comments No comments