For some reason, Teams won’t install automatically with Office 365 deployment via Intune. I have created the below scripts and assigned them on Intune to force install Teams.
Scripts:
$registryPath = “HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Run”
$Name = “TeamsMachineInstaller”
$value = “C:\Program Files (x86)\Teams Installer\Teams.exe –checkInstall –source=default”
if (Get-ItemProperty -Path $registryPath -Name $name -ErrorAction Ignore) {
} else {
New-ItemProperty -Path $registryPath -Name $name -Value $value }
![](https://SUMMALAI.COM/wp-content/uploads/2022/12/image-1-1024x296.png)
![](https://SUMMALAI.COM/wp-content/uploads/2022/12/image-2-1024x581.png)
![](https://SUMMALAI.COM/wp-content/uploads/2022/12/image-3-1024x741.png)