Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Windows Registry key for "check whether IE is the default browser"?

Tags:

In IE under Tools-> Internet Options -> Programs there's a checkbox labelled "Tell me if Internet Explorer is not the default web browser." What's the registry key that corresponds to this checkbox? The reason I ask is that I want to suppress this check programmatically.

Clarification: I don't want to find out the default browser, I want to stop IE checking if it is the default browser when it starts up.

like image 232
Andrew Swan Avatar asked Nov 19 '10 05:11

Andrew Swan


People also ask

How do I know if Internet Explorer is my default browser?

In Internet Explorer, go to Tools > Internet Options. Click the Programs tab. At the bottom of this window, check the box labeled Internet Explorer should check to see whether it is the default browser.

Where is the Internet Explorer version in the registry?

You have to look in the registry, but not in uninstall key. Instead, find the key at HKLM\Software\Microsoft\Internet Explorer and read the value named Version . For newer versions (IE 10 and above), Version is 9.

How do I make Internet Explorer my default browser in the registry?

Click Start and then Settings > System > Default apps. Under Web browser, you can configure Internet Explorer as the default.

What is the default version of IE in Windows 10?

Internet Explorer version 9.0 and Internet Explorer version 11.0 on products through Windows 10 version 1803 include an Update Versions line that lists all installed updates or hotfixes to the current version of Internet Explorer.


2 Answers

It's been answered in various ways over the web and here; here's one question which covers it; Windows RegKey - Default Browser Application Path. Then it's just checking if the path is the iexplore.exe path.

Update: I just checked what the key is that is modified when you deselect and reselect the "check default browser" option.

When you deselect it, the value HKCU\Software\Microsoft\Internet Explorer\Main\Check_Associations is created, a REG_SZ containing the string "no".

When you reselect it, HKCU\Software\Microsoft\Internet Explorer\Main\Check_Associations is altered to "yes".

So: if HKCU\Software\Microsoft\Internet Explorer\Main\Check_Associations does not exist or is "yes", it will check. To avoid that check (potentially user-unfriendly behaviour - use with care - create as "no" or set to "no" the value HKCU\Software\Microsoft\Internet Explorer\Main\Check_Associations.

like image 178
Chris Morgan Avatar answered Sep 30 '22 08:09

Chris Morgan


For those trying to defeat corporate group policy, this does the trick in one command

reg add "HKCU\Software\Microsoft\Internet Explorer\Main" /f /v "Check_Associations" /d "no" /t REG_SZ 
like image 24
fiat Avatar answered Sep 30 '22 09:09

fiat