Which registry keys need to be edited to change the default browser?
Which registry keys need to be edited to change the default browser?
I have found these keys so far and they seem to do what I want, but I am not sure if I have found all of them:
Data in:
HKEY_CURRENT_USER\Software\Classes\http\shell\open\command
HKEY_CURRENT_USER\Software\Classes\https\shell\open\command
HKEY_CURRENT_USER\Software\Classes\ftp\shell\open\command
Value in:
HKEY_CURRENT_USER\Software\Classes\Local Settings\Software\Microsoft\Windows\Shell\MuiCache
Are there any other keys which would need to be changed, so that it is done perfectly?
Each browser sets its own registry entries. But you can try finding the common ones by comparing the REG files in these forum threads:
- http://www.tomshardware.com/forum/170215-46-default-browser-registry
- http://forums.techarena.in/technology-internet/1112113.htm
It looks like you missed some registry keys (.html, .htm, gopher etc.).
You don’t edit the registry manually. You execute the command specified by the browser creator in the key HKLM\SOFTWARE\Clients\StartMenuInternet\[BROWSER NAME.EXE]\InstallInfo
, value ReinstallCommand
.
For example, for MSIE it’s "C:\Windows\System32\ie4uinit.exe" -reinstall
, and for Firefox it is "X:\path\to\Firefox\uninstall\helper.exe" /SetAsDefaultAppGlobal
.