Applies to: Microsoft Teams Room Systems
The Microsoft Teams Rooms app is distributed through the Microsoft Store. Updates to the app are installed from the Microsoft Store automatically during nightly maintenance; this is the recommended method to get updates. However, there are some situations where a Teams Rooms device can't receive updates from the Microsoft Store. For example, security policies may not allow devices to connect to the Internet or may not allow apps to be downloaded from the Microsoft Store. Or, you may want to update a device before performing setup, during which the Microsoft Store isn't available.
If you can't get updates from the Microsoft Store, you can use an offline app update PowerShell script to manually update your Teams Rooms devices to a newer version of the Teams Rooms app. Follow the steps in this article to manually update your Teams Rooms devices.
Note
This process can only update a Teams Rooms device with the Teams Rooms app already installed. It can't be used to perform a new installation. It also can't be used to downgrade the app to an older version. To perform a new installation of the Teams Rooms app, contact your device's manufacturer for media specific to it.
Step 1: Download the offline app update script
Downloaded files may be marked as blocked by Windows. If you need to run the script without any interaction, you'll need to unblock the script. To unblock the script, do the following:
- Right-click on the file in File Explorer
- Click Properties
- Select Unblock
- Click OK
After the offline app update script is downloaded, transfer the file to the Teams Rooms device. You can transfer a file to the device by using a USB drive or by accessing the file from a network file share while in Admin Mode on the device. Be sure to note where you save the file on the device.
Step 2: Run the script to update the Teams Rooms app
Do the following to run the script from an elevated command prompt:
- Switch to Admin Mode
- Click the Start icon, type Command Prompt, and then select Run as administrator
- Run the following command where <path to script> includes the full path to the script and the name of the script file:
- PowerShell -ExecutionPolicy Unrestricted "<path to script>"
For example, if the script file is located in C:\rigel\x64\scripts\provisioning\, and the script file name is MTR-Update-4.11.12.0.ps1, run the following command:
- PowerShell -ExecutionPolicy Unrestricted "C:\rigel\x64\scripts\provisioning\MTR-Update-4.11.12.0.ps1"
Allow the script to run. When it's finished, the script will reboot the Teams Rooms device.
You can also run the script by using Remote PowerShell. For more information about using Remote PowerShell with Teams Rooms devices, see Remote Management using PowerShell.
The 'skype' user must be logged in. If you get an error switch to the skype user, plug a keyboard to your MTR and press 'windows key' 5 times. Log back in the on the admin account and run the script again.
Step 3: Verify the app has been updated successfully
If the script runs successfully, the device will reboot into the Teams Rooms app.
If the script encounters a problem, it will indicate what the problem is on the command line and record its output to a file. Follow any instructions that the script provides. If you need to contact Microsoft Support, make sure to include the log file along with the support request. The script will provide you with the path to the log file.
The 'skype' user must be logged in. If you get an error switch to the skype user, plug a keyboard to your MTR and press 'windows key' 5 times. Log back in the on the admin account and run the script again.