Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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")
like image 663
Landmine Avatar asked Nov 04 '13 15:11

Landmine


2 Answers

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.
like image 169
Rolo Avatar answered Sep 25 '22 03:09

Rolo


It appears that under Windows 8.1 Enterprise/IE11 the entry is a binary one - this is where I see the entries added under Tools/compatibility View Settings in the registry on my system:

HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation\ClearableListData

Look for a Binary value called UserFilter - it's a bit hard to read when you look into it but you can tell it holds your entries.

We have several sites we'll need to add to the list so most likely will export the list from a "master" computer then push it through Group Policy Preferences at least once for initial settings. Unsure how we'll script additional entries at this point so that when users add their "personal" settings we don't overwrite the value but append to it but one thing at a time I guess.

like image 37
Dave Avatar answered Sep 27 '22 03:09

Dave