Recently, Microsoft released the Public Preview of Microsoft Teams for Windows Virtual Desktop environments. With the new media optimizations included in this version of Microsoft Teams for Windows Virtual Desktop, a local connection will be made between users for audio and video redirection while the application itself is running in the Windows Virtual Desktop environment. This will give end users a perfect Teams experience with audio and video calls without overloading the Windows Virtual Desktop environment.
I did some test with this Public Preview version and it works perfect!
In this blog I will show you step-by-step how to install Microsoft Teams within your Windows Virtual Desktop environment. Before you start, make sure that you have installed the latest Windows Desktop client for Windows 10 (version 1.2.1026.0 or higher).
Step 1 : Install the pre-requisites
Before we can start with Microsoft Teams within Windows Virtual Desktop, we need to install some pre-requisites. First we need to install the latest supported Visual C++ runtime version. You can download it here.
After the download, start the installation.
Select I agree to the license terms and conditions and click Install
Next we need to install the Remote Desktop WebRTC Redirector Service, you can download it here. Be aware that the current version during writing this blog is not signed, so you can get some download and install warnings. Start the installation.
Select I accept the terms in the License Agreement and click Install
Step 2 : Install Microsoft Teams
Next step is to install Microsoft Teams, you can download it from here. Before we start with the installation we need to set a Registry key first.
Open an elevated cmd or PowerShell prompt and run the following command:
reg add "HKLM\SOFTWARE\Microsoft\Teams" /v IsWVDEnvironment /t REG_DWORD /d 1 /f
I have downloaded the Microsoft Teams installer to the “c:\install” directory. To install Microsoft Teams run the following command (replace the “install” directory if you have downloaded the installer to another directory):
msiexec /i Teams_windows_x64.msi /l*v c:\install\teamsinstall.log ALLUSER=1 ALLUSERS=1
After the installation you can see that Microsoft Teams is installed in the “c:\Windows\Program Files (x86)\Microsoft\Teams\current directory” (machine based)
Step 3 : Test the results
To verify that the Microsoft Teams AV redirections are working, start Microsoft Teams, and navigate to to About > Version.
Now you see a banner displaying “You have Microsoft Teams version 1.3.00.4461 (64-bit) WVD Media Optimized”
When you to go Settings you can see that your local resources for Speaker, Microphone and Camera are selected.
Microsoft Teams for Windows Virtual Desktop is now working as you can see in the screenshot above.