Microsoft Teams

Microsoft Teams

If you want to manage Microsoft Teams with VMware Dynamic Environment Manager (DEM), here is a good working template.

Recommended is to deploy Teams using the MSI installer, which can be found here: https://docs.microsoft.com/en-us/microsoftteams/msi-deployment

This will install the MSI into the Program Files directory, and will install Teams into the Roaming AppData folder for each user that logs on to the machine.

I don't recommended enabling DirectFlex for this application, since the application will automatically launch at logon anyway.

How to implement:

Create a new DEM config file using the DEM management console and just copy-paste these lines:

===

# Microsoft Teams MSI installer

# https://docs.microsoft.com/en-us/microsoftteams/msi-deployment

[IncludeRegistryTrees]
HKCU\Software\Microsoft\Office\Teams

[IncludeFolderTrees]
<AppData>\Microsoft\Teams
<AppData>\Teams

[ExcludeFolderTrees]
<AppData>\Microsoft\Teams\Cache
<AppData>\Microsoft\Teams\Code Cache
<AppData>\Microsoft\Teams\GPUCache
<AppData>\Microsoft\Teams\Service Worker\CacheStorage

[ExcludeFiles]
old_logs_*.txt
logs.txt

===

The end result should look like this:

Teams.png

Labels (1)
Attachments
Comments

With this config the password could not be saved.

This is my very optimized version of config:

[IncludeRegistryTrees]
HKCU\Software\Microsoft\Office\Teams

[IncludeFolderTrees]
<LocalAppData>\Microsoft\IdentityCache
<LocalAppData>\Microsoft\Teams
<LocalAppData>\Microsoft\TeamsMeetingAddin
<LocalAppData>\Microsoft\TeamsPresenceAddin
<LocalAppData>\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy
<LocalAppData>\SquirrelTemp
<AppData>\Microsoft\Teams


[ExcludeFolderTrees]
<AppData>\Microsoft Teams\logs
<AppData>\Microsoft\Teams\media-stack
<AppData>\Microsoft\Teams\Service Worker
<AppData>\Microsoft\Teams\Application Cache
<AppData>\Microsoft\Teams\Cache
<AppData>\Microsoft\Teams\tmp
<AppData>\Microsoft\Teams\meeting-addin\Cache
<LocalAppData>\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\TempState
<LocalAppData>\Packages\Microsoft.AAD.BrokerPlugin_cw5n1h2txyewy\AC\Temp

[ExcludeFiles]
<AppData>\Microsoft\Teams\lockfile
<AppData>\Microsoft\Teams\storage.json
<AppData>\Microsoft\Teams\*.txt
old_logs_*.txt
logs.txt

Version history
Revision #:
1 of 1
Last update:
‎07-14-2021 06:03 AM
Updated by:
 
Contributors