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
Copper 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.....
DanielL535
Sep 26, 2024Copper Contributor
Hi all, Microsoft is aware of the issue and has published a possible workaround.
Did not give it a try, yet.
https://learn.microsoft.com/en-us/fslogix/troubleshooting-known-issues
Did not give it a try, yet.
https://learn.microsoft.com/en-us/fslogix/troubleshooting-known-issues
- Ken_ZSep 26, 2024Brass ContributorThanks Daniel
I noticed an error in the article specifically the TempState Location. They missed the "Local" part out after AppData. There is not "Packages" folder directly under AppData
Regards
Ken Z- DanielL535Oct 08, 2024Copper Contributordoes not solve my problem I even exclude appdata\local\packages completely solely Teams Package with minor exclusions will be included. Still after starting Teams New local_%username% can not be deleted during logoff. Will open a Microsoft case