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.
Ken_Z
Brass Contributor
Looks like the above article has been updated since i originally read it and there's more includes now. I've updated my includes to look like this
<Includes>
<Include>AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\AC</Include>
<Include>AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\AppData</Include>
<Include>AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\LocalCache</Include>
<Include>AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\LocalState</Include>
<Include>AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\RoamingState</Include>
<Include>AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\Settings</Include>
<Include>AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\SystemAppData</Include>
<Include>AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\TempState</Include>
<Include>AppData\Local\Publishers\8wekyb3d8bbwe\TeamsSharedConfig</Include>
</Includes>
I'll test it out to see how it behaves
Regards
Ken
<Includes>
<Include>AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\AC</Include>
<Include>AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\AppData</Include>
<Include>AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\LocalCache</Include>
<Include>AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\LocalState</Include>
<Include>AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\RoamingState</Include>
<Include>AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\Settings</Include>
<Include>AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\SystemAppData</Include>
<Include>AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\TempState</Include>
<Include>AppData\Local\Publishers\8wekyb3d8bbwe\TeamsSharedConfig</Include>
</Includes>
I'll test it out to see how it behaves
Regards
Ken
Ken_Z
Jul 25, 2024Brass Contributor
I've tested this and the local profile cache gets successfully deleted when my test user logs off, every time.