Home

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

%3CLINGO-SUB%20id%3D%22lingo-sub-1067414%22%20slang%3D%22en-US%22%3ESet%20Teams%20as%20default%20app%20for%20tel%3A%20using%20PowerShell%20script.%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1067414%22%20slang%3D%22en-US%22%3E%3CP%3EHi%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20want%20to%20set%20Teams%20as%20default%20for%26nbsp%3B%3CEM%3Etel%3A%3C%2FEM%3E%20protocol%20using%20PowerShell%20script.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20used%20the%20following%20command%20to%20get%20the%20current%20app%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3E(Get-ItemProperty%20'HKCU%3A%5CSoftware%5CMicrosoft%5CWindows%5CShell%5CAssociations%5CUrlAssociations%5Ctel%5CUserChoice'%20-Name%20ProgId).ProgID%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethe%20result%20is%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3EChromeHTML%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWhen%20I%20tried%20to%20use%20Set-ItemProperty%20using%26nbsp%3B%3CEM%3ETeamsURL%3C%2FEM%3E%20as%20program%20id%2C%20it%20is%20not%20working%2C%20the%20default%20app%20was%20reset%20to%20empty.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-markup%22%3E%3CCODE%3ESet-ItemProperty%20'HKCU%3A%5CSoftware%5CMicrosoft%5CWindows%5CShell%5CAssociations%5CUrlAssociations%5Ctel%5CUserChoice'%20-name%20ProgId%20TeamsURL%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20help%20would%20be%20appreciated.%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1067414%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDefault%20apps%20by%20protocol%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDefault%20programs%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPowerShell%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ETeams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Highlighted
venkata_krishna
Frequent Visitor

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

 

 

 

 

Related Conversations
Teams error code - 6
damnit95 in Office 365 on
4 Replies
Sharing a Teams Calendar
Michael Krueger in Microsoft Teams on
16 Replies
Skype Room System stuck on signing in (Solved)
ckoppen in Microsoft Teams on
27 Replies
Teams Updater Vulnerability
Andrew Matthews in Microsoft Teams on
15 Replies