Then run something like SetDefaultBrowser.exe HKLM FIREFOX.EXE to switch to Firefox, or SetDefaultBrowser.exe HKLM "Google Chrome" to switch to Chrome. The Short Answer: Use the SetDefaultBrowser tool made by Christoph Kolbicz.Run it once with no command-line options to see your browsers. On Windows 10 this is the only working answer for me since the subkey from Piskvors's answer does not exist. 565 1 1 gold badge 4 4 silver badges 14 14 bronze badges. command-line google-chrome windows-10 browser windows-registry. They always get Edge as the default browser. 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. 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. Follow edited Feb 20 '18 at 21:48. freginold. The Windows environments that I will be working within are Windows Vista, Windows 2008, and Windows 7. 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. 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 … Is there any way to make IE11 the default browser for all users? 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. Scripts accept all Commands that are available at the command line. 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. Hello, I am currently using MDT 2013 to deploy Windows 10 images. Windows has two command shells: The Command shell and PowerShell . The Windows environments that I will be working within are Windows Vista, Windows 2008, and Windows 7. Now I have built an "Upgrade" task sequence to upgrade windows 7 to windows 10 1511. In this scenario, users already have a profile in Windows 7. 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. Windows 10 allows you to set any app of your choice as the default app to open a certain type of file. 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? 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 Improve this question. Share. moments, and I searched for a way to change the default broswer via command-line. 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.