title: Internet Explorer 11 disable "display intranet sites in compatibility view" via meta tag not working
body: <p>I have been working on an intranet website for over 6 months
  were I have been using the below html5 <code>doctype</code> and edge compatibility meta tag to force Internet Explorer to not emulate an older browser version, and this has worked ok.</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8" /&gt;
      &lt;title&gt;My title&lt;/title&gt;
      &lt;meta http-equiv="X-UA-Compatible" content="IE=EDGE" /&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>The reason I was doing it this way is because the place I work uses a policy setting to enable compatibility view for all intranet sites, and this approach using the <code>EDGE</code> setting has worked in Internet Explorer 9.</p>
  
  <p><img src="https://i.stack.imgur.com/dbCvc.jpg" alt="Intranet site compatibility view setting"></p>
  
  <p>Over a month ago I was upgraded to Internet Explorer 11 and the site still worked as expected.</p>
  
  <p>Today this stopped working as expected, I can't say for sure but I think that the policy that forces the compatibility view was not enabled in IE11 and now it is... and since this has been enabled the compatibility meta tag is no longer doing what is expected, and this site is being run in the Enterprise mode which emulates IE8.</p>
  
  <p>Does anyone know how to fix this and force IE11 to be used on an intranet site when the compatibility "Enterprise mode" is being enforced? and can't be disabled via the browser settings?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>I have just tried adding a custom header in my web.config as explained in this answer
  <a href="https://stackoverflow.com/a/18257208/98706">https://stackoverflow.com/a/18257208/98706</a></p>
  
  <p>and this did not work for me I still get the below message in the developer toolbar console of </p>
  
  <pre><code>HTML1122: Internet Explorer is running in Enterprise Mode emulating IE8.
  </code></pre>
  
  <p>It is as if version 8 is being treated as the <code>edge</code> when this intranet compatibility setting is enabled in IE11. </p>
  
  <p>This post: <a href="https://www.leapinggorilla.com/Blog/Read/1016/ie-ate-my-css---disabling-compatability-mode" rel="noreferrer">https://www.leapinggorilla.com/Blog/Read/1016/ie-ate-my-css---disabling-compatability-mode</a>
  explains this well, I haven't yet tried setting this header via code and our users dont have access to change their browser settings.. none of the other changes have worked as yet.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>Please see my comment on this post about what the difference between Enterprise mode and compatibility mode is, because it is important.</p>