![]() ![]() ' Uncomment the line below to outomatically close the settings window WshShell.SendKeys " " ' Set current selection as default browser WshShell.SendKeys "" ' Move down one selection ' 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") Store the file in the startup folder to execute the script with each restart.Open folder shell:startup with + or file explorer.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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |