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?




value is

"C:\Program Files (x86)\Internet Explorer\iexplore.exe" -nohome 

(even i change to chrome to default browser this does not change)

  • It sounds you're like you're trying to programmatically change registry values, so maybe this belong on StackOverflow with notes on what language/tools you're using. – ckhan Jul 6 '12 at 8:30
  • @ckhan-yah i try to do it.. but before that i check it in reg edit. if i change browsers manually (explorer to chrome) then according to that does regkey change it values or not???? but in here it does not change in windows 7. i want to know why this happen & how can i see the changes. – DevT Jul 6 '12 at 8:35
  • See newoldthing.wordpress.com/2007/03/23/… – ckhan Jul 6 '12 at 8:43
  • @ckhan i read that one. but it does not mention about windows 7. :( – DevT Jul 6 '12 at 9:16
  • Which Programming language are you using with what function? – Akshat Mittal Jul 6 '12 at 9:56

You can look under this registry key and find out which browser is being used by the current user:


It is a REG_SZ value and will be one of these for the major three browsers currently available:

  • FirefoxURL
  • ChromeHTML
  • great... this is nice. – gumuruh Feb 18 at 10:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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