Install Microsoft Teams on VDI.

1 minute read

With Microsoft Teams set to replace Skype for Business in the future, more and more businesses are deciding to make the move and deploy Teams.

Typically Teams has been installed directly into the user profile which means it couldn’t be placed into the master image, but back in April Microsoft published this article, opening the door for a machine wide installer, suitable for VDI.

Its worth taking note that Microsoft doesn’t officially support Audio and Video meetings on VDI. This support comes direct from vendors with VMware announcing official Teams support in Horizon on version 7.9 (be it with some hefty minimum vCPU recommendation of 4vCPU)

The install is pretty easy. you can grab the installer from either here (32bit) or here (64bit) and install it onto your gold master image using the following command.

msiexec /i <path_to_msi> /l*v <install_logfile_name> ALLUSER=1

e.g. msiexec /i c:\Teams_windows_x64.msi /l*v TeamsLog.log ALLUSER=1

Take note of the “ALLUSER=1” switch, this isn’t a spelling mistake, so be sure not to type the more commonly seen “ALLUSERS”.

The installer runs a pre check to make sure its being installed onto a VDI based machine. This pre check looks for registry keys relating to the major virtualization vendors. If it doesn’t find the keys it will produce an error message.

workflow

A Process Monitor capture reveals the regs keys its expecting:

workflow

HKLM\SOFTWARE\Citrix\PortICA
HKLM\SOFTWARE\VMware, Inc.\VMware VDM\Agent

Simply adding the required registry key will allow the installer to complete, with or without the actual agent installed.