Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I guess the title of the question speaks for itself, but ideally we'd like to set registry keys rather than run some kind of tool. That way we can make a script for it.

Does anyone know the registry settings that need to change to set IE as the default browser

share|improve this question

3 Answers 3

up vote 3 down vote accepted

In Windows XP

For HTTP:

HKEY_CLASSES_ROOT\http\shell\open\command

The format is like this:

HKEY_CLASSES_ROOT\[prot]\shell\open\command

where [prot] is the protocol (HTTP, FTP..)

In Windows Vista

For HTTP:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http

The format is like this:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\[prot]

where [prot] is the protocol (HTTP, FTP..)

For more in depth info see this link.

share|improve this answer

From what I've heard, there are a fair number of places you need to change in order to cover all the various ways of launching a browser.

I suggest you:

  • Make a different browser the default (possibly several, one after another, to try to cover all bases - they may well get it wrong)
  • Start RegMon
  • Make Internet Explorer the default (e.g. in Default Programs, or just by launching it if it offers)
  • Stop RegMon and find out all the "writes" that have been logged. They probably won't all be relevant, but it should be easy to work out which ones are.

That way you know you'll be covering the registry changes that IE itself would make. Repeat on different platforms to cover differences there.

share|improve this answer

I tried all the above and also other web sites. Nothing worked. I found the answer quite by accident. I’ve spent many hours and days trying to figure this out.

Go to Default Programs on the Start - hit Program Access. Then to Choose Default. Use Current Web Browser.

share|improve this answer
1  
This will let someone change it, but it isn't the registry key that stores it, and it's certainly not an automatic way to do it (for a bulk change). –  Falcon Momot Nov 14 '13 at 6:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.