FsLogix - Unclean logoff causing locked files until server reboot

Much R 101 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?

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: Oldest
  1. Андрей Михалевский 3,476 Reputation points
    2021-07-27T14:20:53.827+00:00

    A week later, the problem was back again. Apparently it is not possible to fix it by ourselves and we will have to wait a couple of years for microsoft to fix it :-(

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments

  2. Dan Oliver 1 Reputation point
    2021-07-27T15:37:29.093+00:00

    We also continue to see this problem with 2105 (2.9.7838.44263) on Windows Server 2019 with July 20, 2021 updates. The only solution we have come up with is deny logins on that server, and let the connection broker put the user on a different RDSH server. Then we have to reboot that RDSH server at a low usage time.

    Was this answer helpful?

    0 comments No comments

  3. Андрей Михалевский 3,476 Reputation points
    2021-07-28T12:56:53.683+00:00

    I got problem with new folder ^_^

    <ProcessName>frxrobocopy.exe</ProcessName>
    <ImagePath>C:\Program Files\FSLogix\Apps\frxrobocopy.exe</ImagePath>
    <CommandLine>"C:\Program Files\FSLogix\Apps\frxrobocopy.exe" "C:\Users\Elanskaya\AppData\Roaming\Microsoft\Protect" "C:\Users\local_Elanskaya1\AppData\Roaming\Microsoft\Protect" /B /MT /R:5 /W:1 /XJD /COPYALL /IT /DCOPY:DAT /MIR</CommandLine>
    <CompanyName>Microsoft Corporation</CompanyName>
    <Version>10.0.17763.1971 (WinBuild.160101.0800)</Version>
    <Description>Microsoft Robocopy</Description>

    Was this answer helpful?

    0 comments No comments

  4. Андрей Михалевский 3,476 Reputation points
    2021-07-30T06:22:44.68+00:00

    Was this answer helpful?

    0 comments No comments

  5. Андрей Михалевский 3,476 Reputation points
    2021-08-17T10:53:36.277+00:00

    Hi all. Does anyone have any news? Unfortunately, the developers have decided to ignore this problem completely.

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.