How to install Teams in WVD?

%3CLINGO-SUB%20id%3D%22lingo-sub-1260596%22%20slang%3D%22en-US%22%3EHow%20to%20install%20Teams%20in%20WVD%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1260596%22%20slang%3D%22en-US%22%3E%3CP%3EI've%20been%20trying%20to%20install%20Teams%20but%20it%20won't%20show%20up%20on%20the%20WVD%20Desktops%20even%20if%20I%20reboot%20them.%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20using%20the%20Machine%20Installer%20msi%20same%20as%20I%20deployed%20to%20regular%20computers.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20also%20tried%20running%20elevated%20command%20prompt%20within%20one%20of%20the%20virtual%20desktops%20and%20running%20command%20and%20trying%20%22AllUser%3D1%22%20but%20I%20got%20this%3A%26nbsp%3B%3C%2FP%3E%3CP%3E%3CBR%20%2F%3EInstallation%20has%20failed%3A%26nbsp%3BCannot%20install%20for%20all%20users%20when%20a%20VDI%20environment%20is%20not%20detected.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20then%20tried%20elevated%20command%20prompt%20just%20running%22%3CBR%20%2F%3Emsiexec%20%2Fi%20Teams_windows_x64.msi%20ALLUSERS%3D1%20and%20that%20makes%20it%20show%20up%20in%20the%20Add%2FRemove%20programs%2C%20but%20I%20still%20don't%20see%20it%20on%20the%20desktop%20or%20in%20the%20Start%20Menu.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIs%20there%20a%20clear%20direction%20to%20get%20Teams%20on%20there%3F%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1260596%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ETeams%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EWVD%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1266166%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20install%20Teams%20in%20WVD%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1266166%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F411460%22%20target%3D%22_blank%22%3E%40Jgq85%3C%2FA%3E%26nbsp%3BThink%20you're%20doing%20it%20correctly%2C%20according%20to%20the%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fvirtual-desktop%2Fteams-on-wvd%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EUse%20Microsoft%20Teams%20on%20Windows%20Virtual%20desktop%3C%2FA%3E%20docs%20page.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EPerhaps%20run%20the%20installer%20with%20the%3CSTRONG%3E%26nbsp%3B%2Fl*v%3C%2FSTRONG%3E%20flag%20like%20they%20suggest%20to%20get%20the%20more%20verbose%20installer%20log%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1296855%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20install%20Teams%20in%20WVD%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1296855%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F411460%22%20target%3D%22_blank%22%3E%40Jgq85%3C%2FA%3E%26nbsp%3BYou%20have%20to%20manually%20create%20the%20following%20registry%20key%20before%20Teams%20will%20let%20you%20install%20in%20per%20machine%20mode.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%5BHKEY_LOCAL_MACHINE%5CSOFTWARE%5CMicrosoft%5CTeams%5CIsWVDEnvironment%5D%3CBR%20%2F%3EType%3A%20REG_DWORD%3CBR%20%2F%3EValue%3A%201%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EOnce%20that%20exist%20you%20should%20be%20able%20to%20install%20Teams%20with%20the%20following%20command%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Emsiexec%20%2Fi%20%3CPATH_TO_MSI%3E%20%2Fl*v%20%3CINSTALL_LOGFILE_NAME%3E%20ALLUSER%3D1%20ALLUSERS%3D1%3C%2FINSTALL_LOGFILE_NAME%3E%3C%2FPATH_TO_MSI%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1302404%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20install%20Teams%20in%20WVD%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1302404%22%20slang%3D%22en-US%22%3E%3CP%3EDear%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F411460%22%20target%3D%22_blank%22%3E%40Jgq85%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3EYou%20just%20have%20to%20%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoftteams%2Fteams-for-vdi%23deploy-the-teams-desktop-app-to-the-vm%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3EDownload%20Teams%3C%2FA%3E%26nbsp%3Bto%20your%20downloads%20folder%20then%20run%20the%20below%20commands.%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-c%22%3E%3CCODE%3Ereg%20add%20%22HKLM%5CSOFTWARE%5CMicrosoft%5CTeams%22%20%2Fv%20IsWVDEnvironment%20%2Ft%20REG_DWORD%20%2Fd%201%20%2Ff%3C%2FCODE%3E%3C%2FPRE%3E%3CP%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-c%22%3E%3CCODE%3Ecd%20Downloads%0Amsiexec%20%2Fi%20Teams_windows_x64%20%2Fl*v%20teams_install.log%20ALLUSER%3D1%3C%2FCODE%3E%3C%2FPRE%3E%3CP%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%222020-04-13%2014_53_12-MS-AZ-T0-JMP1.png%22%20style%3D%22width%3A%20859px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F183922iCF70263933B07F83%2Fimage-size%2Flarge%3Fv%3D1.0%26amp%3Bpx%3D999%22%20title%3D%222020-04-13%2014_53_12-MS-AZ-T0-JMP1.png%22%20alt%3D%222020-04-13%2014_53_12-MS-AZ-T0-JMP1.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%20data-unlink%3D%22true%22%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1427245%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20install%20Teams%20in%20WVD%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1427245%22%20slang%3D%22en-US%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F194333%22%20target%3D%22_blank%22%3E%40Mahmoud%20A.%20Atallah%3C%2FA%3E%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eregarding%20the%20Teams%20installation%20on%20WVD%2C%20there%20are%20maybe%20more%20topics%20as%20well%20to%20consider.%20I%C2%B4ve%20wrote%20everything%20down%20in%20detail%2C%20especially%20how%20to%20handle%20with%20Microsoft%20Teams%20if%20the%20user%20profile%20is%20growing%20at%20the%20first%20start%20up%20to%204GB%20(while%20using%20FSLogix%20User%20Profiles)%20and%20so%20on.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThe%20complete%20guide%20can%20be%20read%20on%20my%20blog%2C%20I%20just%20released%20the%20article%3A%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fwvdlogix.net%2Fcomplete-guide-teams-on-wvd%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fwvdlogix.net%2Fcomplete-guide-teams-on-wvd%3C%2FA%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20a%20lot!%3C%2FP%3E%3CP%3ECheers%2C%3C%2FP%3E%3CP%3EPatrick%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1428664%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20install%20Teams%20in%20WVD%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1428664%22%20slang%3D%22en-US%22%3E%3CP%3EInteresting%20article%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20for%20sharing%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F448842%22%20target%3D%22_blank%22%3E%40patrickkoehler%3C%2FA%3E%2C%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EBy%20the%20way%2C%20now%26nbsp%3BMicrosoft%20Teams%20is%20now%20available%20in%20preview%20for%20Windows%20Virtual%20Desktop%20media%20optimization%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fupdates%2Fwindows-virtual-desktop-media-optimization-for-microsoft-teams-is-now-available-in-public-preview%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fazure.microsoft.com%2Fen-us%2Fupdates%2Fwindows-virtual-desktop-media-optimization-for-microsoft-teams-is-now-available-in-public-preview%2F%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Contributor

I've been trying to install Teams but it won't show up on the WVD Desktops even if I reboot them. 

I'm using the Machine Installer msi same as I deployed to regular computers. 

I also tried running elevated command prompt within one of the virtual desktops and running command and trying "AllUser=1" but I got this: 


Installation has failed: Cannot install for all users when a VDI environment is not detected.

 

I then tried elevated command prompt just running"
msiexec /i Teams_windows_x64.msi ALLUSERS=1 and that makes it show up in the Add/Remove programs, but I still don't see it on the desktop or in the Start Menu. 

 

Is there a clear direction to get Teams on there? 

 

5 Replies
Highlighted

@Jgq85 Think you're doing it correctly, according to the Use Microsoft Teams on Windows Virtual desktop docs page.

 

Perhaps run the installer with the /l*v flag like they suggest to get the more verbose installer log?

 

Highlighted

@Jgq85 You have to manually create the following registry key before Teams will let you install in per machine mode.

 

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Teams\IsWVDEnvironment]
Type: REG_DWORD
Value: 1

 

Once that exist you should be able to install Teams with the following command

 

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

Highlighted

Dear @Jgq85,

 

You just have to Download Teams to your downloads folder then run the below commands.

 

reg add "HKLM\SOFTWARE\Microsoft\Teams" /v IsWVDEnvironment /t REG_DWORD /d 1 /f

 

cd Downloads
msiexec /i Teams_windows_x64 /l*v teams_install.log ALLUSER=1

 

2020-04-13 14_53_12-MS-AZ-T0-JMP1.png

 

Highlighted

Hi @Mahmoud A. Atallah

 

regarding the Teams installation on WVD, there are maybe more topics as well to consider. I´ve wrote everything down in detail, especially how to handle with Microsoft Teams if the user profile is growing at the first start up to 4GB (while using FSLogix User Profiles) and so on.

 

The complete guide can be read on my blog, I just released the article: https://wvdlogix.net/complete-guide-teams-on-wvd

 

Thanks a lot!

Cheers,

Patrick 

Highlighted

Interesting article 

Thanks for sharing @patrickkoehler

 

By the way, now Microsoft Teams is now available in preview for Windows Virtual Desktop media optimization 

https://azure.microsoft.com/en-us/updates/windows-virtual-desktop-media-optimization-for-microsoft-t...