Microsoft Teams On VMware Virtual Infrastructure Platform:


Recently we observe many organizations are slowly migrating from Skype For Business to Microsoft Teams. There are two types of Microsoft Teams installation:


  • Per-User Mode: For scenarios, where we have persistent VDIs, then we will go with Per-User mode.
  • Per Machine Mode: For scenarios, where we have non-persistent VDIs, then we will go with Per-Desktop mode. So, it allows the user setup individually while on session.


In this article we discuss about capturing Microsoft Teams on appstack or placing them on master image on VDI infrastructure. Also we discuss about Roaming Credentials through DEM.





Scenario 1: Microsoft Teams on VMware VDI non persistent desktop: {for this scenario as per Microsoft, we need to use Per-Machine mode installation type}


  • Power on parent / master Image.
  • Once the VM is powered on,
  • Create a folder called teams on C: drive
  • Copy the msi to C:\Teams folder. [ Optional ]
  • Open elevated command prompt and run below command:


msiexec /i "C:\Teams\Teams_windows_x64.msi" /l*v "C:\Teams\Teams.txt" ALLUSER=1 ALLUSERS=1


  • You will see a Microsoft Teams banner which says Installing Teams for around 10 – 15 seconds.
  • Once the installation is complete, do not launch the application. You will see a shortcut on desktop, and you can see Teams Machine Wide installer on control panel add or remove programs
  • Shutdown the VM take a snapshot and publish or recompose the pool with this snapshot.


Scenario 2: Microsoft Teams On Appstack: [ Per-Machine mode ]


  • Open App Volumes UI create application and package for Microsoft Teams.
  • Revert the snapshot on capture VM, power on the VM.
  • Click on Package on app volume and select the capture VM.
  • While you are on provisioning mode.
  • Run the command to install MS teams:


msiexec /i "C:\Teams\Teams_windows_x64.msi" /l*v "C:\Teams\Teams.txt" ALLUSER=1 ALLUSERS=1


  • Complete the provisioning, reboot the desktop.
  • Assign the Teams package to user group or to a user.


Note: Do not keep more than one instance of Microsoft teams on a particular machine. Example, having MS team package attachment on VM which has MS teams natively installed. This is  not supported.


Capturing MS teams credentials on DEM:


  • Download the file and extract the files at: \\SHARE\DEMConfiguration\general\application
  • Then open DEM management console and click on refresh tree.
  • Ensure we have IEPassword config file is enabled along with this to roam the credentials.


Note: Do not use the Teams configuration which comes with default template. That contains directlex path as %localappdata%\Microsoft\teams\update.exe. This is not the correct directflexpath for machine mode MS Teams. If you want to enable directflex, then path would be: C:\Program Files(x86)\Microsoft\Teams\current\Teams.exe


Attached zip file is new version of Teams config file.