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
actually, just noticed that the file/folder locked is the Microsoft.AAD.BrokerPlugin_ package.
Are you using any type of Legacy Azure MFA /conditional access policies) in your environment?
Also, exactly how did you install the new Teams, and did you uninstall the old Teams first?
Are you using any type of Legacy Azure MFA /conditional access policies) in your environment?
Also, exactly how did you install the new Teams, and did you uninstall the old Teams first?
Ken_Z
Jul 23, 2024Brass Contributor
and can you also show your include list too please
- hjmmmJul 23, 2024Copper ContributorNo includes
- Ken_ZJul 25, 2024Brass Contributor
Hjmmm
that's why it's not working. The official documentation says you must add the following into the include section of the redirections.xml file
<Includes>
<Include>AppData\Local\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams</Include>
<Include>AppData\Local\Publishers\8wekyb3d8bbwe\TeamsSharedConfig</Include>
</Includes>read https://learn.microsoft.com/en-us/microsoftteams/new-teams-vdi-requirements-deploy
- Ken_ZJul 25, 2024Brass ContributorLooks 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 - hjmmmJul 25, 2024Copper ContributorI've include the 2 lines, now teams is not starting in session. Looks like getting installed when click on teams but teams is not starting.
- Ken_ZJul 25, 2024Brass ContributorHjmmm
OK, tested this on my Server 2019 Citrix 2402 LTSR Session Host running FSLogix 2.9.8884, WebView2 Runtime 126.0.2592.113 and Teams 24165.1408.2960.3667
Deleted any existing FSLogix container for my test account
Logged in
Started Teams
Sent a teams message to another account.
Checked that both C:\users\<user> and C:\users\local_<user> existed on the session host
Logged off.
both C:\users\<user> and C:\isers\local_<user> got deleted successfully
logged in a second time and repeated the process
Logged off again and both folders successfully removed
Regards
Ken Z - Ken_ZJul 25, 2024Brass Contributorhjmmm
firstly, can you confirm the versions of FSLogix, Teams and WebView2 Runtime that you've got installed.
Also, have you deleted the existing profile container before doing the test? the redirections.xml file gets cached in the FSLogix container and sometimes it doesn't get read properly between sessions, so deleting the container ensures that the latest xml file gets used.
Finally, make sure that any C:\Users\local_<user> folders are deleted manually between tests and if necessary, reboot the test server between tests.
If none of the above helps, can you can send me your email address and I'll send you my entire redirections.xml file for you to try.
regards
Ken Z - Ken_ZJul 25, 2024Brass ContributorI've tested this and the local profile cache gets successfully deleted when my test user logs off, every time.
- hjmmmJul 26, 2024Copper ContributorOn test profile with new .vhdx is working now en teams start when removing line <Exclude Copy="0">AppData\Local\Packages</Exclude>.
When trying existing profile with above line removed cant start the windows start button. also Teams not starting. - Ken_ZJul 26, 2024Brass ContributorTeams gets installed into your profile under the Packages folder so you can't exclude that (or any of the other modern apps under that folder) as that will make it stop working!
As mentioned already, the redirections.xml file gets cached in the users profile. Try deleting that file from the vhdx file to see if it re-reads the master copy and starts working, but i'm guessing it won't
regards
Ken_Z - Lamers-ITAug 19, 2024Copper ContributorHi Ken,
I have configured New Teams with several Citrix customers, using the includes for FSLogix.
Do you have any idea how many storage is used by the New Teams Client?
I assume about 500 - 800 MB per user, but when you have 3000 users, this would mean 1,5 - 2,4 TB disk storage for FSLogix, just for Teams?