I am working on a command-line tool, and I want to want to open a URL within the default browser within a Windows environment. Linux – How to set Default Browser on Ubuntu from command line; Windows – Set Internet Explorer as the default browser from the command line; Windows 10: Set any browser as default when it does not show up in Settings; Windows – Unable to set Brave browser as default browser in Windows 10 Scripts accept all Commands that are available at the command line. In this scenario, users already have a profile in Windows 7. In some cases, e.g., with your browser, it will relentlessly try and push Edge as a superior option but with other file types and apps you don’t run into much resistance. 565 1 1 gold badge 4 4 silver badges 14 14 bronze badges. Is there any way to make IE11 the default browser for all users? The Short Answer: Use the SetDefaultBrowser tool made by Christoph Kolbicz.Run it once with no command-line options to see your browsers. Improve this question. If you change the default browser in the Default apps dialog, the ProgId value of .html\UserChoice and .htm\UserChoice subkeys are changed (maybe at other places as … Now I have built an "Upgrade" task sequence to upgrade windows 7 to windows 10 1511. I need to so how change Edge browser to Internet Explorer via command line or powershell line, or some kind of way where I don't have to do it by hand. I am working on a command-line tool, and I want to want to open a URL within the default browser within a Windows environment. The Windows environments that I will be working within are Windows Vista, Windows 2008, and Windows 7. On Windows 10 this is the only working answer for me since the subkey from Piskvors's answer does not exist. Share. Hello, I am currently using MDT 2013 to deploy Windows 10 images. moments, and I searched for a way to change the default broswer via command-line. Windows has two command shells: The Command shell and PowerShell . Then run something like SetDefaultBrowser.exe HKLM FIREFOX.EXE to switch to Firefox, or SetDefaultBrowser.exe HKLM "Google Chrome" to switch to Chrome. For 'wipe & load' Windows 10 builds I use an XML file and DISM to set my default app associations and it's been working great. Windows 10 allows you to set any app of your choice as the default app to open a certain type of file. The Windows environments that I will be working within are Windows Vista, Windows 2008, and Windows 7. Follow edited Feb 20 '18 at 21:48. freginold. command-line google-chrome windows-10 browser windows-registry. Now if I set any one of those as the default browser, is there a way to open the default browser from the command line/run/script/batch file/powershell? Each shell is a software program that provides direct communication between you and the operating system or application, providing an environment to automate IT operations. They always get Edge as the default browser. As I am deploying Windows 10 Pro I am finding that setting the default browser to IE11 logged in as LOCAL ADMIN does not change it for all future users.