Installing MS Teams on shared RDS Server 2019

%3CLINGO-SUB%20id%3D%22lingo-sub-1456833%22%20slang%3D%22en-US%22%3EInstalling%20MS%20Teams%20on%20shared%20RDS%20Server%202019%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1456833%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20having%20trouble%20getting%20Teams%20working%20correctly%20on%20a%20shared%20RDS%2C%20Server%202019%20version%201809.%20I've%20been%20using%20this%20page%20as%20a%20guide%20-%26nbsp%3B%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_blank%22%20rel%3D%22noopener%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2FMicrosoftTeams%2Fteams-for-vdi%23deploy-the-teams-desktop-app-to-the-vm%3C%2FA%3E%2C%20have%20downloaded%20the%2064bit%20Teams%20MSI%20from%20here%20and%20installed%20using%20the%20per%20machine%20option%3A%20m%3CSPAN%3Esiexec%20%2Fi%20%3CPATH_TO_MSI%3E%20%2Fl*v%20%3CINSTALL_LOGFILE_NAME%3E%20ALLUSER%3D1%20ALLUSERS%3D1.%20%3C%2FINSTALL_LOGFILE_NAME%3E%3C%2FPATH_TO_MSI%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThis%20details%20the%20situation%20whilst%20logged%20on%20as%20admin.%20After%20opening%20and%20signing%20into%20Teams%20with%20licensed%20O365%20creds%20for%20the%20first%20time%2C%20once%20the%20application%20is%20closed%20it%20won't%20re-open%20again.%20Either%20a%20blank%20white%20window%20with%20MS%20Teams%20in%20the%20title%20bar%20opens%20or%20the%20Teams%20icon%20displays%20in%20the%20system%20tray%20and%20no%20window%20opens%20at%20all.%20Whilst%20this%20is%20happening%20dozens%20of%20teams.exe%20processes%20change%20between%20'running'%20and%20'suspended'%20in%20task%20manager.%20Troubleshooting%20led%20me%20to%20deleting%20the%26nbsp%3Bsettings.json%20file%20from%20%25appdata%25%5CMicrosoft%5CTeams%2C%20the%20app%20would%20then%20open%20correctly%20but%20the%20same%20scenario%20would%20occur%20after%20signing%20in.%20Further%20troubleshooting%20has%20led%20to%20enabling%20run%20as%20administrator%20on%26nbsp%3BC%3A%5CProgram%20Files%20(x86)%5CMicrosoft%5CTeams%5Ccurrent%5Cteams.exe.%20This%20completely%20resolves%20the%20problem%20for%20the%20admin%20user%20but%20any%20other%20user%20trying%20to%20launch%20Teams%20on%20the%20shared%20desktop%20is%20greeted%20with%20a%20UAC%20prompt.%20%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI'd%20rather%20solve%20whatever%20it%20is%20i'm%20doing%20wrong%20rather%20than%20workaround%20running%20Teams%20as%20admin%20for%20all%20users.%20Any%20suggestions%20on%20how%20i%20can%20troubleshoot%20this%20further%3F%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1456833%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdministrator%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EBest%20Practices%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ECommunity%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
New Contributor

I'm having trouble getting Teams working correctly on a shared RDS, Server 2019 version 1809. I've been using this page as a guide - https://docs.microsoft.com/en-us/MicrosoftTeams/teams-for-vdi#deploy-the-teams-desktop-app-to-the-vm, have downloaded the 64bit Teams MSI from here and installed using the per machine option: msiexec /i <path_to_msi> /l*v <install_logfile_name> ALLUSER=1 ALLUSERS=1.

 

This details the situation whilst logged on as admin. After opening and signing into Teams with licensed O365 creds for the first time, once the application is closed it won't re-open again. Either a blank white window with MS Teams in the title bar opens or the Teams icon displays in the system tray and no window opens at all. Whilst this is happening dozens of teams.exe processes change between 'running' and 'suspended' in task manager. Troubleshooting led me to deleting the settings.json file from %appdata%\Microsoft\Teams, the app would then open correctly but the same scenario would occur after signing in. Further troubleshooting has led to enabling run as administrator on C:\Program Files (x86)\Microsoft\Teams\current\teams.exe. This completely resolves the problem for the admin user but any other user trying to launch Teams on the shared desktop is greeted with a UAC prompt.

 

I'd rather solve whatever it is i'm doing wrong rather than workaround running Teams as admin for all users. Any suggestions on how i can troubleshoot this further?

0 Replies