

You can change whatever associations you'd like, but should leave the rest in place. The Default Application Associations for all users are stored in the following file: C:\Windows\System32\OEMDefaultAssociations.xmlįind extensions or protocols that use edge and change them to chrome, for example, you can replace the following associations: ' Uncomment the line below to outomatically close the settings window WshShell.SendKeys " " ' Set current selection as default browser The following worked fine for me: SetDefaultBrowser.

Locate the Web Browser section, click on your current default browser, and then scroll through the list and select Google Chrome. From the pane on the left side, click Default Apps. WshShell.SendKeys "" ' Move down one selection To change default browser in Windows 10 try the tool SetDefaultBrowser Set the Default Browser per command line or script by Christoph Kolbicz. 01:13 Make Google Chrome the Default Browser on Windows 10 Open up System settings by pressing Windows key+I, and then click on Apps. ' Adjust number of tabs until you reach the browser choice setting WScript.Sleep 5000 ' Wait until open (adjust if necessary) WshShell.Run "%windir%\system32\control.exe /name Microsoft.DefaultPrograms /page pageDefaultProgram\pageAdvancedSettings?pszAppName=google%20chrome" VBS Code Set WshShell = WScript.CreateObject("WScript.Shell")

#SET GOOGLE AS DEFAULT BROWSER ON GOOGLE CHROME UPDATE#
However, I had to update the the number of tab's and sleep commands. The answer from Judy Li still worked for me on with the latest windows 10 built.
