A batch file for setting IE as the default browser

One of my customers wanted assistance to set the Internet Explorer as the default browser through group policy even though the user installs other browsers and makes it the default browser.

Since there aren't any predefined GP available, I helped him write a batch file that will set the registries to make IE as the default browser

This batch file can be further used as a Logon Script which can get applied on the client machines after the users login to the machine. However you can use it on individual machines too, in case you don’t want to use the group policy.

NOTE: I have tested this batch file when Firefox and Chrome were selected as default browser earlier.

Please find the batch file attached to this blog and test it thoroughly before you use it. If there are any questions, please feel free to comment.

Set IE as default browser.bat