How to add web site to Compatibility View List via GPO


 

Usually, we add web site to Compatibility View List from IE windows:

Click “Tools -> Compatibility Settings” and input web site address in below windows:

 

 

It can also be applied from GPO for domain users. Here are several popular methods to achieve this task:

 

Solution 1 (Recommended as it exactly displays the result in client machine)

======

 

If you are on Windows 2008 DC, this policy can be deployed by Group Policy Preference that is new feature in Windows 2008.

 

Group Policy Preferences: Getting Started

http://technet.microsoft.com/en-us/library/cc731892(WS.10).aspx

 

1.    In Windows 2008 DC, open IE and add the web site to the Compability View Settings list

2.    You can verify the setting in the registry key path HKEY_CURRENT_USER\Software\Microsoft\Internet  Explorer\BrowserEmulation\ClearableListData\UserFilter

3.      Open Group Policy Management Editor for Domain Policy that you want to edit.

You can open it from mmc and then Add or Remove Snap-ins

Choose Group Policy Management Editor 

4.      Choose path from either Computer configuration or User Configuration as below

5.    Computer or User Configuration->Preference->Windows Setting->Registry

6.    Right click New->Registry Wizard

7.      Select local machine and then check HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\BrowserEmulation\ClearableListData\UserFilter as below.

 

Note: If use Computer Configuration, check registry HKEY_LOCAL_MACHINE

 

 

8.    Finish the change

9.      Run gpupdate /force in DC

10.Run gpupdate /force in client machine or re-login

11.You can check the registry key value in client machine and test in IE

 

 

Solution 2(Workaround)

==========

 

Deploy from Administrative Templates via GPO. However, it does not get reflected in IE user interface, we see the sites loading in the compatibility mode by opening the developer tool bar (press F12) and checking the browser mode.

 

Also, we can verify the setting in the client machine registry. The configuration is written to registry under HKCU(HKLM)\Software\[Wow6432Node]\Policies\Microsoft\Internet Explorer\BrowserEmulation\PolicyList.

 

1.    Open Group Policy Management Editor for Domain Policy that you want to edit.

You can open it from mmc and then Add or Remove Snap-ins

Choose Group Policy Management Editor

2.    Choose path from either Computer configuration or User Configuration as below

 

Computer or User Configuration-> Policies-> Administrative Templates-> Windows Components ->Internet Explorer -> Compatibility View

 

Use Policy List of Internet Explorer 7 sites = Enabled and sites added to the list

3.    The syntax needs to be bing.com.  There is no preface of http or www needed for the site and should add the second top domain.

 

4.    Run gpupdate /force in DC 

 

More Information

========

IE8 determines document mode by below rules:

  

A Diagram on How IE8 Determines Document Mode

 

There are four rules that you can remember about how IE handles doctype, X-UA-Compatible meta tag and header, Developer Tools, and Compatibility View Settings. These rules follow the diagram below from top to bottom:

 

1. The Developer Tools settings override all Document Modes for pages displayed in a tab.

 

2. The X-UA-Compatible meta tag and then header override Compatibility View Settings and the doctype unless the X-UA-Compatible value is EmulateIE7 or EmulateIE8.

 

3. The user’s Compatibility View Settings override the Microsoft Compatibility View List.

 

4. If none of the above rules apply, the doctype determines whether the webpage renders in IE8 Standards, IE8 Almost Standards or Quirks Mode.

 

How IE8 Determines Document Mode

http://blogs.msdn.com/b/ie/archive/2010/03/02/how-ie8-determines-document-mode.aspx

 

 

Enjoy!

 

Xiaoman Wang & Anik Shen

Comments (23)

  1. Redbulz says:

    That solution 1 guide was a really great help because the ordinary way(solution 2) is not working with IE9 and above and it was the same with the pop-up window allowing. Both could be done with solution 1 and it's working flawlessly. Thank you!

  2. MV says:

    Question: I followed Solution 1. If I were to delete the registry from the DC afterwards, would that affect client machines?

  3. BorjaGT says:

    Solution 1 works perfect for me, but not the second one. Thanks!

  4. Sasha Odarchuk says:

    How i can add some subdomains f.e. my.domain.com ?

    IE add full domain – domain.com

  5. BG says:

    The issue with solution 1 is that it overrides any settings on the client machines. While users are able to add their own sites to the Compatibility View list, the sites will be lost next time GP updates.

  6. Habanagold says:

    Solution 1 in not recommended. If a user updates the compatibility setting, it is erased when the next GPO refresh occurs. Talk about unhappy campers and needless support calls.

    Solution 2 works fine with version 8, 9, 10 and 11 (at least it did in my extensive testing but the fact that the sites do not show up in the UI caused me almost 2 days of troubleshooting. It wasn't until I found this blog the registry values were exposed to check the GPO. Did I miss some "memo" somewhere?

  7. Shiv says:

    Solution 1 works Perfect for me Thanks!!

  8. Naveen says:

    Hi,

    The same registry Key is not present under  HKEY_LOCAL_MACHINE, i want to configure the same setting in computer configuration.

    can you please help.

  9. NickMo says:

    For solution 2 you state that compatibility mode is visible in the Dev Tools (F12), but when I hit F12 on a site that's in compatibility mode (added manually or added via the GPO) it shows "Edge (Default)", not 7, or 8.   Where are you seeing the compatibility mode set in the Dev Tools?

  10. Rahul Ramachandran says:

    Perfect solutions, thank you guys

  11. Bruce says:

    THANKS SOOOO MUCH!  This did the trick for IE11 and 2012 R2 Group Policy

  12. MC says:

    Why not just update the master XML file?

  13. PR says:

    Awesome, thank you! Solution 1 worked great:)

  14. Ziggyk says:

    I had an issue with the compatibility view list disappearing (i.e. registry entry being deleted) and also erratic results with the websites listed even though the registry file was being created.  I found that another IE setting was creating an issue.  We have "Delete browsing history on exit" enabled in group policy and when IE closes the browsing history deletion also removes the compatibility view settings.  Once I set that policy setting to disabled the compatibility view settings stayed.

  15. David B says:

    Thanks, it works correctly. Very helpful 🙂

  16. Caroline says:

    Solution 1 works perfect for me, but not the second one. Thanks!

    http://www.quebecconcoursgratuits.com

  17. Mike says:

    This is awful, why would you give the steps for solution #1, but end it with "Finish the change" it doesn't show or tell you how to actually add a sepcifc site. BS

  18. Mark says:

    In Solution 2, you write that "we see the sites loading in the compatibility mode by opening the developer tool bar (press F12) and checking the browser mode." Where do I check the browser mode? I don't see it anywhere?

  19. Mark Giemza says:

    For Solution 2. When would I use Computer Configuration or Software Configuration?

  20. Jeremy Moskowitz, Group Policy MVP says:

    It should be noted that PolicyPak's Pak for IE will enable you to: ADD, REMOVE, OVERWRITE or MERGE existing values (thus preserving what the user already has) and also see the results within IE. Video demo: http://www.policypak.com/…/policypak-manage-internet-explorer-compatibility-view.html

  21. sdense says:

    Option 1 works perfectly for me – Thank you

  22. JHBPJF says:

    For solution 2, I was not able to get it to work as a user configuration. It only worked as computer configuration.

  23. Vaibhow M says:

    Soln 1 is over-writing end users list.
    Soln 2 does not seems to be recommended with IE 11 + Win 2012 R2 DC

    Any other method? that would let me apply some sites and further end user would be able to add more?

Skip to main content