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. Richard 1 Reputation point
    2021-02-25T07:10:33.663+00:00

    Hi,

    Same issue for us.

    FSLogix 2.9.7654.46150
    Windows Server 2019 (last update)

    We need a fix !!

    Was this answer helpful?

    0 comments No comments

  2. Adam Gemberling 1 Reputation point
    2021-02-26T16:51:24.377+00:00

    Seeing this exact same issue on a Windows 10 Enterprise for Virtual Desktops, version 2.9.7654.46150.
    Will try out cleanupinvalidsessions (not on cloud cache) and will give notice on any improvement

    Was this answer helpful?

    0 comments No comments

  3. SomeLameSysAdmin 1 Reputation point
    2021-03-05T14:34:49.9+00:00

    Were are seeing this with server 2016 RDS on-prem, 100% Microsoft, FSLogix v2.9.7349.30108 using profile containers. User sessions will not log off and only recourse is a server reboot. Randomly occurs.

    Was this answer helpful?

    0 comments No comments

  4. Much R 101 Reputation points
    2021-03-10T16:24:31.327+00:00

    Hi,

    check out the last post on this website.
    how-to-resolve-error-group-policy-client-service-failed-the-logon-access-denied-in-citrix-and-fslogix-environments

    It's a bug.

    I think it's strange that Microsoft just doesn't take these posts seriously.

    Regards
    Michael

    Was this answer helpful?

    0 comments No comments

  5. Marius Neuhaus 1 Reputation point
    2021-03-11T07:41:48.95+00:00

    Hello,

    I have created a ticket.
    I hope microsoft will get back to me quickly.
    I'll post updates and soultions from microsoft.

    I'm curious, for the answer.

    Best Regards,
    Marius

    Was this answer helpful?


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.