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. Hoppe, Tim 6 Reputation points
    2021-02-11T08:31:50.333+00:00

    We are seeing the same issues!
    We have a few hundred smaller environments, each with 1-10 Citrix VDAs and the issues occur randomly.
    All of our machines are running Server 2016 (German), Citrix 1912 LTSR (99% are published Desktops) and the latest FSLogix Release (all profile and no office containers).

    I will try to open a ticket with Microsoft today and hope that this increases the visibility on Microsoft's side.

    Was this answer helpful?


  2. SMB Solutions Cloud Services Pty Ltd 31 Reputation points
    2021-02-18T23:24:22.323+00:00

    We are also now experiencing the same issue across multiple RD Servers and the only workaround we seem to have is to reboot the affected server which is problematic as we can have 30 users on the server and only 1 is impacted by the issue.

    We need some kind of fix urgently (statement of the bleeding obvious)

    Was this answer helpful?

    2 people found this answer helpful.

  3. Sven Gerber 1 Reputation point
    2021-02-18T23:45:47.723+00:00

    We have also had the same problem for about a week. I am waiting for a solution from Microsoft soon.
    It seems to have been occurring since the Windows Updates of December or January.
    It is a single RDS Server deployment with about 15 Users on it.
    The issue occurs to about one user per day.
    I scheuduled a daily reboot and adjusted the RDS session limits but the issue still occurs.

    • Server 2019
    • FSLogix 2.9.7621.30127

    Was this answer helpful?

    0 comments No comments

  4. Chris Pickens 6 Reputation points
    2021-02-21T04:08:58.863+00:00

    Hi All,

    The identical issue in our WVD environment as well. Same symptoms as reported by MuchR-5838. Runing Windows 10 H202. Now performing a nightly restart so users can log in the next day. Not impressed as we just went live with WVD from legacy RDS and now having more bug-type issues. lol

    Have a ticket open with Microsoft and the FSLogix team.

    Will share what I learn.

    Was this answer helpful?

    0 comments No comments

  5. Dlo 96 Reputation points
    2021-02-22T12:19:10.55+00:00

    So since the latest update our issue has changed some.
    In our Citrix environment the VHD's are at least getting disconnected now but we have hung sessions randomly in the background (They are linked to a user but they are at least logged off enough to disconnect the VHD and Citrix doesn't see them but windows does.) and local files and stuff isn't being cleaned up.
    We still have profile reg keys on the servers in the fslogix registry section and users local user folders aren't getting cleaned up either now.
    Support said this wasn't as FSLogix issue at first but once I showed them all this stuff they are not looking into it again.
    This issue snowballs issues on our servers and we sadly cant reboot things nightly as a fix.
    Hopefully they figure this out soon.

    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.