how to find default browser in registry windows 7
i need to find my default browser so first i try to figure it through regedit (registy keys) https://stackoverflow.com/questions/968449/how-do-i-change-default-browser-using-c-sharp-or-batch-file as mentioned i used reg key{HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http\shell\open\command} then i manual change my web browser from internet explore to chrome. but after i refresh values does not change in reg key. why this happen??? how can i detect my default browser in reg key?
EDIT :
always
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\http\shell\open\command
value is
"C:\Program Files (x86)\Internet Explorer\iexplore.exe" -nohome
(even i change to chrome to default browser this does not change)
Solution 1:
You can look under this registry key and find out which browser is being used by the current user:
HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice\Progid
It is a REG_SZ
value and will be one of these for the major three browsers currently available:
- FirefoxURL
- ChromeHTML
- IE.HTTP