J'ai essayé setting default in the reg keys:
`hkeycu>software>microsoft>windows>shell>associations>urlassociations>http` and `https`.
Tried using `master_preference` file.
Tried using command switch `--make-default-browser`.
So far these aren't working.
Toute aide serait appréciée. Open to any to batch files, registry keys, file replacements/edits... basically anything I can automate.
Comment automate setting Chrome as par défaut browser in Windows 10
Re: Comment automate setting Chrome as par défaut browser in Windows 10
Have you tried making a **.vbs** file to set Chrome as the default browser automatically?
```
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "%windir%\system32\control.exe /name Microsoft.DefaultPrograms /page pageDefaultProgram\pageAdvancedSettings?pszAppName=google%20chrome"
WScript.Sleep 1200
WshShell.SendKeys "{TAB}"
WshShell.SendKeys " "
WshShell.SendKeys "{TAB}"
WshShell.SendKeys "{TAB}"
WshShell.SendKeys " "
WScript.Quit
```
Reference: comment by user "Raz" in [Making IE the default browser in Windows 10 during OSD](http://ccmexec.com/2015/09/making-ie-the-default-browser-in-windows-10-during-osd)
```
Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "%windir%\system32\control.exe /name Microsoft.DefaultPrograms /page pageDefaultProgram\pageAdvancedSettings?pszAppName=google%20chrome"
WScript.Sleep 1200
WshShell.SendKeys "{TAB}"
WshShell.SendKeys " "
WshShell.SendKeys "{TAB}"
WshShell.SendKeys "{TAB}"
WshShell.SendKeys " "
WScript.Quit
```
Reference: comment by user "Raz" in [Making IE the default browser in Windows 10 during OSD](http://ccmexec.com/2015/09/making-ie-the-default-browser-in-windows-10-during-osd)