Posted June 10, 20241 yr Official Microsoft VDI Support page: New Microsoft Teams for Virtualized Desktop Infrastructure (VDI) - Microsoft Teams | Microsoft Learn This policy works for non-persistent pools, and the ZIP files will average around 30MB. Microsoft is still making changes to the Teams client, so you have to update the exclusions as the client is updated. Microsoft has a section that discusses the folders, and what they are used for, which I thought was nice of them. Official Folder Exclusions: https://learn.microsoft.com/en-us/microsoftteams/new-teams-vdi-requirements-deploy#folder-exclusions Direct-Flex still does not work well with New Teams (as of 6/2024), so do not use it. # 'New Teams' 2.1 Policy # [IncludeRegistryTrees] HKCU\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\SystemAppData\MSTeams_8wekyb3d8bbwe [IncludeFiles] # Official Files to sync from Microsoft's New Teams Deployment Site <LocalAppData>\Publishers\8wekyb3d8bbwe\TeamsSharedConfig\tma_settings.json <LocalAppData>\Publishers\8wekyb3d8bbwe\TeamsSharedConfig\app_switcher_settings.json [IncludeFolderTrees] # Official Files to sync from Microsoft's New Teams Deployment Site <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe [ExcludeFolderTrees] # Official Exclusions from Microsoft's New Teams Deployment Site <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\Logs <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\PerfLog <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\WebStorage <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\GPUCache # Additional Exclusions <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\Crashpad # <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\GrShaderCache <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\Cache <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\Code Cache #<LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\IndexedDB <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\Service Worker\CacheStorage #<LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\Service Worker\ScriptCache To install New Teams in your golden image. Download the new Microsoft Teams Bootstrapper: https://go.microsoft.com/fwlink/?linkid=2243204&clcid=0x409 On your persistent or non-persistent VM, run the following command as an administrator: teamsbootstrapper.exe -p For local path MSIX install method, enter: .\teamsbootstrapper.exe -p -o "c:\path\to\teams.msix" ref: https://learn.microsoft.com/en-us/microsoftteams/new-teams-bulk-install-client New Teams: MSIX downloads: https://github.com/ItzLevvie/MicrosoftTeams-msinternal/blob/master/defconfig2 if you need the offline installer, or want to test a newer build. Edited June 10, 20241 yr by John Twilley
June 22, 20241 yr Install new Teams as published apps in my article -> New Teams as an application in Vmware Horizon - vdesktop.ninja Dominik Jakubowski EUC Expert | vExpert ⭐️⭐️⭐⭐️ VDI Ninja https://vdesktop.ninja
August 6, 2024Aug 6 Hi John. Thanks for the DEM Config file. Works pretty good. But, I have tested some of the general settings in teams, and as far as I can see, is that if the setting "Auto-start application" is checked, Teams will start and pop up during logon. And teams will also run from systray. I know that some of my users sees that a time consuming startup... If it is unchecked, teams will not start at all, and not even in the systray. Is there a way, to start Teams in the background, so teams do not pop up during logon, but only appear as logged-in in the systray? I tried the "open application in background", but I can't see that works as I first assumed Best regardsLanstiHorizon 2406, DEM 2406,AppVols 4.14, version 2406, OSOT: 1.2.2406Windows 10 22H2 | Windows 11 22H2Nvidia 17.5 (M10, T4, A16)
August 7, 2024Aug 7 Author Not at this time. Microsoft explained in the Teams 2.1 Tap Program that for Omnissa Horizon, it needs to popup in the foreground as it establishes the back optimization channels, and then will move to the background once completed. Not a great solution. I hope it improves in future builds.
August 12, 2024Aug 12 Do you know of anyway to make it stay open on logon instead of popping up and going to the systray? Our users are used to classic teams where it stays open at logon and easily found instead of hidden in the systray.
August 20, 2024Aug 20 On 8/12/2024 at 3:25 PM, DFMIT said: Do you know of anyway to make it stay open on logon instead of popping up and going to the systray? Our users are used to classic teams where it stays open at logon and easily found instead of hidden in the systray. Do user have Open Application in Background checked?
August 20, 2024Aug 20 This works a few logins then something goes wrong and user is presented with this message.
August 23, 2024Aug 23 @Milan KTG I had the same issue and fixed this bij removing the following: [ExcludeFolderTrees] <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\GPUCache DEM will now start saving this location as well. I tried with multiple logins and Teams keeps working.
August 26, 2024Aug 26 On 8/23/2024 at 7:19 AM, Niels Geursen said: @Milan KTG I had the same issue and fixed this bij removing the following: [ExcludeFolderTrees] <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\GPUCache DEM will now start saving this location as well. I tried with multiple logins and Teams keeps working. Thanks Niels, Mine broke again after 5-6 logins with same error. Capture is copy/pasted from main post and removed the line you mentioned. Yours is still good?
August 26, 2024Aug 26 @Milan KTG Mine broke as well this morning. 😞 I ended up excluding the IndexedDB from saving by excluding it like below. [ExcludeFolderTrees] <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\indexedDB Still testing the outcome.
August 28, 2024Aug 28 Also running into the very same issue and curious if anyone has a working config. We're on Windows Server 2019 with a Citrix non-persistent VDI and using Ivanti Environment Manager (basically mirrors the above DEM config) but plagued with the same login issues.
August 29, 2024Aug 29 @Milan KTG I didn't get the error anymore after my last post. Is this the same for you?
August 31, 2024Aug 31 @Niels Geursen I tested it about 10 times and no errors. However our capture size is around 90mb for a very basic account, 1-2 chats. I am adding our capture below. We are actually toying around with not capturing anything for New Teams, so far no issues since we have SSO. User does not get prompted to login, Teams just launches. not really sure of the benefit to capture it right now. Here is our full capture that works right now; # MS Teams v2 [IncludeRegistryTrees] HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\SystemAppData\MSTeams_8wekyb3d8bbwe\ [IncludeFolderTrees] <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\ [IncludeFiles] # Official Files to sync from Microsoft's New Teams Deployment Site <LocalAppData>\Publishers\8wekyb3d8bbwe\TeamsSharedConfig\tma_settings.json <LocalAppData>\Publishers\8wekyb3d8bbwe\TeamsSharedConfig\app_switcher_settings.json [ExcludeFolderTrees] # Official Exclusions from Microsoft's New Teams Deployment Site <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\Logs <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\PerfLog <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\WebStorag <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\indexedDB <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\GPUCache # Additional Exclusions <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\Crashpad # <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\GrShaderCache <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\Cache <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\Code Cache #<LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\IndexedDB <LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\Service Worker\CacheStorage #<LocalAppData>\Packages\MSTeams_8wekyb3d8bbwe\LocalCache\Microsoft\MSTeams\EBWebView\WV2Profile_tfw\Service Worker\ScriptCache [ExcludeFiles] old_logs_*.txt logs.txt LOG LOG.old *.log *.txt
September 16, 2024Sep 16 Thanks for the capturing settings, also for the extra line marked out. Only thing left disable the autostart of teams. Seems it will not read the line HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\SystemAppData\MSTeams_8wekyb3d8bbwe\ name TeamsTfwStartupTask value 1 regdword Our users do not want teams to open automaticly. Will post back if we find a solution. We are planning on putting that key in the default user of the golden image. Senior technical specialst at Leiden University Medical Center (lumc)
November 6, 2024Nov 6 Hello, when starting vdi I see the message "configuration in progress" then the message appears: "Please sign in again. This could be a request from your IT department or Teams, or the result of a password update." I have to enter the password, log in, restart the application and teams only just starts working correctly. Has anyone had a similar problem?
November 28, 2024Nov 28 Hey, we're seeing the same issue whit Please sign in again... but just on our Windows 11 machines. The issue occured after doing Windows Updates a couple months ago. Greetings
December 2, 2024Dec 2 We get the same message on Windows Server 2022. After logging in, Teams is working. Edited December 2, 2024Dec 2 by DanielS
February 17Feb 17 On 12/2/2024 at 9:44 AM, DanielS said: We get the same message on Windows Server 2022. After logging in, Teams is working. We had the same error with our 23H2 Image and solved it while moving to 24h2. Not sure if it was the image or a problem with the tpm of the machine. Edited February 17Feb 17 by FlowDE
Create an account or sign in to comment