Hello,
Each day several users (out of 300) complain that they can't logon to the Citrix (Windows Server 2016) server.
The error message is always the same for all users:
[09:07:50.255][tid:00001678.000016a0][INFO] Creating base folders for profile folder redirections
[09:07:50.256][tid:00001678.000016a0][INFO] Creating base folder 'AppData\Local\Microsoft\Windows\INetCache\'
[09:07:50.268][tid:00001678.000016a0][INFO] Creating base folder 'AppData\Local\think-cell\'
[09:07:50.277][tid:00001678.000016a0][INFO] Status set to 23: Cannot setup folder redirections
[09:07:50.277][tid:00001678.000016a0][INFO] ErrorCode set to 5 - Message: Access is denied.
[09:07:50.277][tid:00001678.000016a0][ERROR:00000005] Error creating redirections (Access is denied.)
[09:07:50.277][tid:00001678.000016a0][INFO] Error. Cleaning up.
[09:07:50.278][tid:00001678.000016a0][INFO] Removed redirection from C:\Users\Username
[09:07:50.279][tid:00001678.000016a0][INFO] Reason set to 9: Profile load failed
[09:07:50.361][tid:00001678.000016a0][INFO] Detached vhd(x)
When I check C:\Users on the specific Citrix server, I see 3 directories with the same username, one with his username and two other ones but with a 1 and 2 added. There is some profile stuff in it, but I can manually delete all folders (so no locks).
To fix the issue, I have to delete the user's VHDX. Then it's fixed again. But I like to know how to troubleshoot this to solve it permanently. It happens to 2-3 various users every single day.
I already upgraded to the latest FSLogix version with no succes. Also, I'm running another Citrix environment on Windows Server 2019 with no issues at all.
Thanks!