The registry setting required to set Internet Explorer as the default browser

internet explorerwindows-registry

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

Best Answer

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.