Manually update a Microsoft Teams Rooms device

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, or see Prepare the installation media.

Step 1: Download the offline app update script

First, download the latest version of the offline app update script. To download the script, click https://go.microsoft.com/fwlink/?linkid=2151817. The script will be downloaded to the default downloads folder on your device.

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:

  1. Right-click on the file in File Explorer
  2. Click Properties
  3. Select Unblock
  4. Click OK

To unblock the script using PowerShell, see Unblock-File.

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

The offline app update script needs to be run from an elevated command prompt while the Skype user (the user under which the app runs) is still signed in. For more information about how to log into an admin account to use the elevated command prompt while the Skype user is still logged in, see Switching to Admin Mode and back when the Microsoft Teams Rooms app is running.

Do the following to run the script from an elevated command prompt:

  1. Switch to Admin Mode

  2. Click the Start icon, type Command Prompt, and then select Run as administrator

  3. 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:\Users\Admin\Downloads, and the script file name is MTR-Update-4.5.6.7.ps1, run the following command:

PowerShell -ExecutionPolicy Unrestricted "C:\Users\Admin\Downloads\MTR-Update-4.5.6.7.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.

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.