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, 2012 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, 2012 at 8:35
  • See newoldthing.wordpress.com/2007/03/23/…
    – ckhan
    Jul 6, 2012 at 8:43
  • @ckhan i read that one. but it does not mention about windows 7. :(
    – DevT
    Jul 6, 2012 at 9:16
  • Which Programming language are you using with what function? Jul 6, 2012 at 9:56

1 Answer 1


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, 2019 at 10:09
  • Chrome beta/dev/canary: ChromeBHTML/ChromeDHTML/ChromeSSHTM. Edgium stable/beta/dev/canary: MSEdgeHTM/MSEdgeBHTML/MSEdgeDHTML/???.
    – Paul
    Jun 15, 2020 at 13:56

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