Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Monday, March 16, 2020 8:08 PM
Dear All,
Need your insight, i'm not able to set Chrome browser as default through Command/script and regedit in windows 10 pro PC.
I have ran one of the VBS script it runs successfully, but it opened default app window instead of setting browser as default.
Your help would be much appreciated!!
Thanks,
Rashid
All replies (5)
Tuesday, March 17, 2020 1:11 AM
SetDefaultBrowser – Set the Default Browser per command line or script
S.Sengupta,Microsoft MVP Windows and Devices for IT, Windows Insider MVP
Tuesday, March 17, 2020 7:32 AM | 1 vote
Hi,
To set Chrome browser as default by regedit,you could try the follow steps:
- Start the registry editor (regedit.exe)
- Move to HKEY_CLASSES_ROOT\http
- Expand the tree and move to HKEY_CLASSES_ROOT\http\shell\open\command, double click on default and set the string to the command you wish to run for Internet addresses.
for example:
"E:\Program Files\Internet Explorer\iexplore.exe" -nohome for Internet Explorer E:\Program Files\Netscape\Communicator\Program\netscape.exe -h "%1" for Netscape
Then click OK
- Move to HKEY_CLASSES_ROOT\http\shell\open\ddeexec\Application, and again double click Default, change to the browser, NSShell for Netscape, IExplore for Internet Explorer.
- You may also want to change the icon associated, move to HKEY_CLASSES_ROOT\http\DefaultIcon, (do I need to say) double click Default and set to the icon
%SystemRoot%\system32\url.dll,0 Internet Explorer E:\Program Files\Netscape\Communicator\Program\netscape.exe,0 Netscape Navigator
- You should repeat the above for https as well, i.e. HKEY_CLASSES_ROOT\https\shell\open\command etc.
To set Chrome browser as default by Command/script,please refer to follow link:
Note: This is a third-party link and we do not have any guarantees on this website. And Microsoft does not make any guarantees about the content.
Hope above information can help you.
If the reply helped you, please remember to mark it as an answer.
Best regards,
Mandy Jin
"Windows 10 Installation, Setup, and Deployment" forum will be migrating to a new home on Microsoft Q&A (Preview)!
We invite you to post new questions in the "Windows 10 Installation, Setup, and Deployment" forum’s new home on Microsoft Q&A (Preview)!
For more information, please refer to the sticky post.
Tuesday, March 17, 2020 9:47 PM
Hi Sengupta,
Thanks for you reply. I have allready tried with provieded solution but no luck.
Is there any compatible issue with Windows 10 OS?
If i'm running VBS script on the server, i'm able to change browser through Script.
Thanks,
Rashid
Friday, April 3, 2020 10:35 PM
Hi Guys,
Still waiting for some alternate solution, i have allready tried the above steps but no luck.
Thanks,
Rashid
Wednesday, April 8, 2020 5:48 PM
Trying to set Google chorme through registry and when opening any link it's asking to select browser.
Please find the below snapshot.
Thanks,
Rashid