Forum Discussion
Ken_Z
May 15, 2024Brass Contributor
2210 HF4 still broken on Server 2019 and new Teams
Hi Everyone, so, I assume everyone's been testing the new 2210 HF4 this morning/last night? I've got two Citrix Session Hosts, Server 2022 and Server 2019 Both of them have the latest FSLogi...
- May 17, 2024OK, if anyone is interested, I got to the bottom of this issue. I had to remove the following entries from my redirections.xml file as New Teams was causing the system to keep the files in these folders locked after logoff. (This only occurs on Server 2019, not Server 2022)
<Exclude Copy="0">AppData\LocalLow</Exclude>
<Exclude Copy="0">AppData\Local\D3DSCache</Exclude>
<Exclude Copy="0">AppData\Local\Microsoft\IdentityCache</Exclude>
<Exclude Copy="0">AppData\Local\Microsoft\OneAuth</Exclude>
<Exclude Copy="0">AppData\Local\Microsoft\TokenBroker</Exclude>
<Exclude Copy="0">AppData\Local\Microsoft\Windows\Caches</Exclude>
<Exclude Copy="0">AppData\Local\Microsoft\Windows\Explorer</Exclude>
<Exclude Copy="0">AppData\Local\Microsoft\Windows\IECompatCache</Exclude>
<Exclude Copy="0">AppData\Local\Microsoft\Windows\iecompatuaCache</Exclude>
Once these were removed, the local_<user> folder was successfully being deleted.
NOTE this is my standard xml file that i've been using for years and hasworked without incident, and still works on Server 2022. Definitely an issue with New Teams on Server 2019.
Note the LocalLow was removed but it was only a couple of files in the Microsoft subfolder that was causing the issue.
jsplatt
Sep 19, 2024Copper Contributor
We have a similar issue with Server 2019 and FSLogix ODFC containers causing files/folders to be locked by the "System" process preventing a users profile from being fully removed on logout.
I have also seen 5 or 6 others with this issue across various forums and Reddit posts.
For us, the only way to get the profile to be removed on logout is to ensure that the following folder/symbolic link that is created by FSLogix is removed before Teams is loaded.
AppData\Local\Microsoft\Teams
Apparently Microsoft have been made aware of this issue and above workaround but if/when it might be addressed.....
prodriguez
Nov 06, 2024Copper Contributor
Hi jsplatt,
Same issue for me... and same workaround read on the forums you mention.
How do you clear this folder AppData\Local\Microsoft\Teams ?
As it seems to be locked by the system, even if Teams is not launched. It also asks for admin rights, so itmeans a user script which clear the folder prior to launch Teams could not work.
I tried on my side, I did not succeed to clear...
Hope you can help,
Best regards,
- jsplattNov 06, 2024Copper Contributor
I believe that when a user logs in FSLogix creates that folder and then when Teams loads it becomes locked.
Our workaround is to delete that folder at logon before Teams can load and lock the folder.
We are using WEM to delete the folder at logon but you might be able to achieve the same with a Windows logon script if that is not available to you, either way you will need to run/delete the folder before Teams loads as that's what appears to cause it to become locked.
Let me know if you need any further information.