Set Teams as default app for tel: using PowerShell script.

Copper Contributor

Hi,

 

I want to set Teams as default for tel: protocol using PowerShell script.

 

I have used the following command to get the current app:

 

(Get-ItemProperty 'HKCU:\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\tel\UserChoice' -Name ProgId).ProgID

 

the result is 

 

ChromeHTML

 

When I tried to use Set-ItemProperty using TeamsURL as program id, it is not working, the default app was reset to empty.

 

Set-ItemProperty 'HKCU:\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\tel\UserChoice' -name ProgId TeamsURL

 

Any help would be appreciated.

Thanks

 

 

 

 

0 Replies