
Maybe ask your IT security team about turning that policy off? I would say that if the company allows you to change your default browser there shouldn't be a need for the GPO to be in place to change that setting back after each session.

While I would assume that you would just need to change "google%chrome" to the browser you want to set as default, I don't understand how it knows to set it as the default browser and I don't know why it sends the tabs and spaces afterwards. WshShell.Run "%windir%\system32\control.exe /name Microsoft.DefaultPrograms /page pageDefaultProgram\pageAdvancedSettings?pszAppName=google%20chrome" Set WshShell = WScript.CreateObject("WScript.Shell") People are saying that Microsoft removed the option in Windows 10 in an attempt to prevent malware from changing the default programs.īut I did find this. I've done a bit of searching, and for the most part it doesn't look like it's possible.
