question

ShreyasKale-8444 avatar image
0 Votes"
ShreyasKale-8444 asked IanXue-MSFT answered

Is there any script to change default browser from IE to Edge chromium

Is there any PowerShell or any other script that will change default browser from IE to Edge or chrome in background..? We don't want to set default browser through GPO because we want to give user choice to set default browser with their choice. We want to push the script using SCCM and then user will run the script depending on their browser choice.
For example - If user wants to set Edge chromium as default browser then user will double click on Edge chromium script which will be pushed already to user system using sccm and then default browser will be changed to Edge chromium.

windows-server-powershell
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

IanXue-MSFT avatar image
0 Votes"
IanXue-MSFT answered

Hi,

You can look at the below registry values
HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice\Progid
HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\https\UserChoice\Progid

However, you cannot set the default browser by changing the values in Windows 10 because they are protected with the hash.

Best Regards,
Ian Xue
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.