This articles describes how to install [[Microsoft Teams]] (new) in a 2019 [[Remote Desktop Services (RDS)]] environment. 1. Download [Teams MSIX](https://learn.microsoft.com/en-us/microsoftteams/new-teams-bulk-install-client) 2. Add the APPX package using [[Deployment Image Servicing and Management (DISM.exe)|DISM]]. ```batch Dism /Online /Add-ProvisionedAppxPackage /PackagePath:c:\it\MSTeams-x64.msix /SkipLicense ``` 3. If you get the error `To install this application you need either a Windows developer license or a sideloading-enabled system.` you must enable sideloading by running this command. ```batch reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowAllTrustedApps" /d "1" ``` 4. Run the deployment DISM command again, you should see `The operation completed successfully.` If this is true then disable sideloading again. ```Batch reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\AppModelUnlock" /t REG_DWORD /f /v "AllowAllTrustedApps" /d "0" ``` # Source [How to deploy new teams on RDS Server 2019 - Blackwood IT](https://blackwoodit.co.uk/knowledge-base/solved-how-to-deploy-new-teams-on-rds-server-2019/) [Use classic Teams with remote desktop services - Microsoft Teams | Microsoft Learn](https://learn.microsoft.com/en-us/microsoftteams/teams-on-rdp)