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
hjmmm
have you rebooted the server after changing the redirections.xml file?
also, to confirm that it's the same issue, try completely removing the xml file from a test server so that it doesn't exclude any files, delete any vhdx files from your test account, and retry.
if the issue goes away, most likely you've missed an entry to remove.
Ken Z
have you rebooted the server after changing the redirections.xml file?
also, to confirm that it's the same issue, try completely removing the xml file from a test server so that it doesn't exclude any files, delete any vhdx files from your test account, and retry.
if the issue goes away, most likely you've missed an entry to remove.
Ken Z
hjmmm
Jul 23, 2024Copper Contributor
Seems to work with new vhdx and no xml, when re enable the xml i get error: Error removing directory C:\users\local_user\AppData\Local\Packages\Microsoft.AAD.BrokerPlugin_\AC\Microsoft\CryptnetUrcl\Cache (folder not empty)
- hjmmmSep 07, 2024Copper Contributorsee this in eventlog when AppData\Local\Packages is removed:
Cant start DCOM Server Microsoft.Windows.Cortana_1.11.6.17763_neutral_neutral_cw5n1h2txyewy!CortanaUI niet starten als Niet beschikbaar/Niet beschikbaar. Foutmelding
"0"
is opgetreden bij het uitvoeren van de opdracht
"C:\Windows\SystemApps\Microsoft.Windows.Cortana_cw5n1h2txyewy\SearchUI.exe" -ServerName:CortanaUI.AppXa50dqqa5gqv4a428c9y1jjw7m3btvepj.mca
and:
Kan DCOM Server Microsoft.Windows.ShellExperienceHost_10.0.17763.1_neutral_neutral_cw5n1h2txyewy!App niet starten als Niet beschikbaar/Niet beschikbaar. Foutmelding
"0"
is opgetreden bij het uitvoeren van de opdracht
"C:\Windows\SystemApps\ShellExperienceHost_cw5n1h2txyewy\ShellExperienceHost.exe" -ServerName:App.AppXtk181tbxbce2qsex02s8tw7hfxa9xb3t.mca - 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? - 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 - 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 25, 2024Brass ContributorI've tested this and the local profile cache gets successfully deleted when my test user logs off, every time.
- 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 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 - 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 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 - 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