This message was deleted.
# microsoft-365
s
This message was deleted.
j
Yep, you could even do it with a script, just clear the Teams cache folders
n
There's also Aaron Parker's pruning script, which works well: https://stealthpuppy.com/fslogix-containers-capacity/#prune-the-profile
r
Yeah I took @Aaron Parker script amd did this as well. I have a blog on it that would help if interested. But his link explains it
s
What cache folder are you finding helps to delete to restore citrix hdx optimized mode ?
k
Thanks for the replies. @stormlight - I've not attempted to narrow any specifics as yet. I've just been nuking *.VHDX FsLogix ODFC profile when testing. The HDX issue seems to occur when there has been some chopping and changing between Teams and VDA versions. Cache gets muddy and the deletion resolves this and gets Teams back on an even keel. Symptoms are Teams' ... > About banner missing the full "version (bit) Citrix HDX Optimized" scrawl AND any attached camera's not enumerating and displaying in Settings > Devices.
n
Are you excluding MS's recommended directories in Redirections.xml?
Copy code
<Exclude Copy="0">AppData\Local\Microsoft\Teams\Packages\SquirrelTemp</Exclude>
	<Exclude Copy="0">AppData\Roaming\Microsoft Teams\Logs</Exclude>
	<Exclude Copy="0">AppData\Roaming\Microsoft\Teams\Application Cache</Exclude>
	<Exclude Copy="0">AppData\Roaming\Microsoft\Teams\Cache</Exclude>
	<Exclude Copy="0">AppData\Roaming\Microsoft\Teams\media-stack</Exclude>
	<Exclude Copy="0">AppData\Roaming\Microsoft\Teams\meeting-addin\Cache</Exclude>
	<Exclude Copy="0">AppData\Roaming\Microsoft\Teams\Service Worker\CacheStorage</Exclude>
s
MS only recommends exclusions for non persistant machines now. Plus it sounds like he redirects his teams data to OFDC which means that the redirections .xml file wont even work. The 3 exclusions are txt files, media stack, and meeting-add\cache in folder.
n
It didn't sound like he's using this in a persistent environment...
s
Here is my question from the other chan. You delete a users profile at log off on a RDSH\Citrix or VDI box but they get it back in full from fslogix when they log back in. Would that make the machine non-persistent machine ?” Or another way of asking this is, when microsoft gives recommendations for non persistent exclusions for teams are they referring to the profile or underlying OS as being persistent.
c
I am having the exact same issue. I haven't been able to identify what folders to delete to get HDX Optimization working again. Do you know which ones?
If we cannot exclude the cache files in the FSL container, and those are causing issues with HDX optimization, I may not use FSL for teams and just use UPM with the appropriate exclusions as indicated above
r
What setup are you storing teams in?
c
currently FSL ODFC container
r
Exlusions don't apply to that container, only profiel
Teams need to go to Profile side not OFDC
c
right, that seems to be an issue because all the cache files get saved. So that seems to be causing issues with HDX optimizations. We currently arent using FSL for profile, we are using CPM. So I'm thinking of NOT including teams in the FSL container and just keeping it in CPM (with appropriate exclusions for cache folders, etc)
Does that sound like it would work?
r
Yes I would do that. I would not use it in the ODFC side. Use the CPM side and use the exclusion @Nick Panaccio posted. Citrix has a link as well for teams in CPM
c
Im so glad I saw this post from @Kris C because it's been driving me mad why HDX Optimization wasn't working. He figured out it was due to cache files in FSL container.
thank you!
r
No problem. I'm not sure of the doc talk about it. But if seen it many times in OFDC side and it's flops with teams. Unless you do a work around with a script. But why do that when you can do it in the profile side
c
Yeah it gets "interesting" troubleshooting an app while you are using CPM, FSL, and even WEM. Lots of places the issue could be 🙂
r
Oh yes man. That's rough indeed
c
i may do the same thing with onedrive at some point, now that Citrix has added that feature
r
So just as a reference it talks about redirection.xml not applying to odfc here https://learn.microsoft.com/en-us/fslogix/concepts-redirections-xml#when-to-use-redirectionsxml Then don't roam these on a 3rd party profile management (but ignore the teams option ) as you will not use the ODFC for teams. https://learn.microsoft.com/en-us/fslogix/tutorial-configure-odfc-containers#exclusions-for-third-party-roaming-profiles
Let me know how it goes to please
c
Will do
👍 1
appears to be working great. when i start video in teams, my local laptop CPU increases instead of the VDA. 🙂
Glory!
Ya'll just saved me DAYS with citrix support 🙂
s
The cache folder to delete in case of issue is detailed in the Citrix trouble shooting teams hdx redirection article. Place teams in the main fslogix container along with redirections.Xmas and not ofdc and delete the cache cache and you should be good to go.