How can I programmatically add website to compatibility list internet explorer 11?

Landmine picture Landmine · Nov 4, 2013 · Viewed 47k times · Source

I've tried adding registry entries at:

Hive: HKEY_CURRENT_USER
Key Path: Software\Policies\Microsoft\Internet Explorer\BrowserEmulation\PolicyList\
Value name: sub.companyname.com
Value data: sub.companyname.com

However in Internet Explorer 11 this method does not work as it seems the list has moved.

My.Computer.Registry.SetValue("Software\Policies\Microsoft\Internet Explorer\BrowserEmulation\PolicyList", "sub.companyname.com", "sub.companyname.com")

Answer

Rolo picture Rolo · Nov 11, 2013

I had the same problem, but creating the registry key you mention works for me.

Have you tried creating the registry key by hand?

If you are running 32 bit IE 11, you must create the registry key in 32 bit registry hive, if you are running 64 bit IE 11 you bust create the registry key in 64 bit registry hive.

IE 11 32 bit on:

Win 32 bit -> HKEY_CURRENT_USER\Software\Policies...

Win 64 bit -> HKEY_CURRENT_USER\Wow6432Node\Software\Policies...

IE 11 64 bit on:

Win 32 bit -> Can't install IE 64 bit

Win 64 bit -> HKEY_CURRENT_USER\Software\Policies...

Remember:

  • If you have IE open when you create the registry key, you need to restart it.
  • The new domain allowed to use compatibility mode won't be displayed in compatibility view settings list.