New Teams Install Scripted Action

Hey everyone!

Jan Scholte and Dave Stephenson here at Nerdio, put together a new Windows scripted action to help with installing new teams and the WebRTC client.

 This script performs the following actions:
    1. Sets a registry value to enable MS Teams to operate in WVD Mode.
    2. Uninstalls existing MS Teams and WebRTC programs, both per-user and machine-wide installations.
    3. Downloads and installs the latest version of MS Teams with a machine-wide installation.
    4. Downloads and installs the August 2024 version of the WebRTC component.
    5. Logs all actions to a specified log directory.
    6. Set the $MarchwebRTC variable to $true to install the March 2024 version of WebRTC.

Take a look and see if this can help you out!
NMM-SE/Scripted Actions/Install & Update New Teams.ps1 at main · Get-Nerdio/NMM-SE (github.com)

2

Comments (3 comments)

0
Avatar
Peter Yasuda

Hi, it looks like MS might have changed the URLs in Step 6, WebRTC. Both links in the script download the latest WebRTC installer, 1.54.2408.19001. The links are in: 

switch ($MarchwebRTC) {
        $true {
            $dlink2 = 'https://aka.ms/msrdcwebrtcsvc/msi'
        }
        $false {
            $dlink2 = 'https://query.prod.cms.rt.microsoft.com/cms/api/am/binary/RW1o9wm'
        }

I don't think there's any need for the March version any longer. 

Thanks!

0
Avatar
Peter Yasuda

I've run into an issue a couple times recently where the WebRTC installer is downloaded, but the installation doesn't happen. Since the script removes WebRTC, it's not there, and I didn't notice until there were complaints about Teams meetings. I didn't see anything useful logged. I think the advice to run the Teams update script frequently is out of date, since New Teams updates itself per user constantly, so my new strategy is to run this script on the image, and never run it on hosts. WebRTC updates are infrequent; the last one was August, so I'll update the image whenever a new version is released. 

I hope someone finds this useful, or if you disagree, I'd love to hear why. 

 

0
Avatar
Dave Stephenson

Good point, Peter Yasuda.
We haven't noticed any issues with WebRTC since the August release came out.
It might we be worth leaving that code in place though in case there are problems with a future WebRTC release since it doesn't hurt the script running.
But that could just be my "hoarder" side coming out 🤣.

I know we had a problem with the WebRTC not deploying correctly on Windows 10 computers a few months back but haven't seen any issues since we updated the script.
I just tested it (with WebRTC installed and not installed) and it installed fine for me.

Do you know if you're using the latest version of the script?
NMM-SE/Scripted Actions/Install & Update New Teams.ps1 at main · Get-Nerdio/NMM-SE

Please sign in to leave a comment.