Identification of default browser in registry?


  1. Posts : 29
    Windows 7
       #1

    Identification of default browser in registry?


    Is there some place in the registry that identifies the default browser?

    I've already found HKEY_CURRENT_USER\Software\Clients\StartMenuInternet, but that continues to contain FIREFOX.EXE even after I change the default to Chrome.
      My Computer

  2. Bree's Avatar
    Posts : 19,644
    10 Home x64 (21H1) (10 Pro on 2nd pc)
       #2

    Yes. The default browser is a 'per user' choice, you can look at the ProgId value in...
    HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice

    ...but don't try changing it. When you change your default browser in Settings Hash (the other value you'll find there) changes too. This is presumably for protection against malware trying to change this key.
      My Computers


  3. Posts : 29
    Windows 7
    Thread Starter
       #3

    That will work. Thanks.

    I don't want to change it. I just want to be able to programmatically determine what it is.
      My Computer


  4. Posts : 5
    Windows 10
       #4

    It's by checking HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice
    But that was already told, so that's fine. But actually, determining and manipulating the default browser in Windows 10 is possible without using the registry, with Edge, it can be done through the Start menu. At least it has some use.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 01:45.
Find Us




Windows 10 Forums