Turn on Internet Explorer Standards Mode for local intranet
Activer le mode standard d’Internet Explorer pour l’intranet local
Explanation
This policy setting controls how Internet Explorer displays local intranet content. Intranet content is defined as any webpage that belongs to the local intranet security zone.
If you enable this policy setting, Internet Explorer uses the current user agent string for local intranet content. Additionally, all local intranet Standards Mode pages appear in the Standards Mode available with the latest version of Internet Explorer. The user cannot change this behavior through the Compatibility View Settings dialog box.
If you disable this policy setting, Internet Explorer uses an Internet Explorer 7 user agent string (with an additional string appended) for local intranet content. Additionally, all local intranet Standards Mode pages appear in Internet Explorer 7 Standards Mode. The user cannot change this behavior through the Compatibility View Settings dialog box.
If you do not configure this policy setting, Internet Explorer uses an Internet Explorer 7 user agent string (with an additional string appended) for local intranet content. Additionally, all local intranet Standards Mode pages appear in Internet Explorer 7 Standards Mode. This option results in the greatest compatibility with existing webpages, but newer content written to common Internet standards may be displayed incorrectly. This option matches the default behavior of Internet Explorer.
Ce paramètre de stratégie contrôle la façon dont Internet Explorer affiche le contenu de l’intranet local. Le contenu de l’intranet est défini comme n’importe quelle page Web qui se trouve dans la zone de sécurité de l’intranet local.
Si vous activez ce paramètre de stratégie, Internet Explorer utilise la chaîne de l’agent utilisateur pour le contenu de l’intranet local. En outre, toutes les pages en mode standard de l’intranet local apparaissent en mode standard dans la dernière version d’Internet Explorer. L’utilisateur ne peut pas modifier ce comportement via la boîte de dialogue Paramètres d’affichage de compatibilité.
Si vous désactivez ce paramètre de stratégie, Internet Explorer utilise la chaîne d’agent utilisateur Internet Explorer 7 (avec une chaîne supplémentaire modifiée) pour le contenu intranet local. En outre, toutes les pages en mode standard de l’intranet local apparaissent dans le mode standard d’Internet Explorer 7. L’utilisateur ne peut pas modifier ce comportement via la boîte de dialogue Paramètres d’affichage de compatibilité.
Si vous ne configurez pas ce paramètre de stratégie, Internet Explorer utilise la chaîne d’agent utilisateur Internet Explorer 7 (avec une chaîne supplémentaire modifiée) pour le contenu intranet local. En outre, toutes les pages en mode standard de l’intranet local apparaissent dans le mode standard d’Internet Explorer 7. Cette option permet d’obtenir une plus grande compatibilité avec les pages Web existantes ; cependant, le nouveau contenu écrit pour les normes Internet courantes risque de s’afficher de manière incorrecte. Cette option correspond au comportement par défaut d’Internet Explorer.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\BrowserEmulationHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\BrowserEmulation- Value name
IntranetCompatibilityMode
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 0 |
| Disabled | REG_DWORD = 1 |
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Computer (HKLM)
Enable
# Enable: inetres/CompatView_IntranetSites
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\BrowserEmulation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'IntranetCompatibilityMode' -Value 0 -Type DWordDisable
# Disable: inetres/CompatView_IntranetSites
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\BrowserEmulation'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'IntranetCompatibilityMode' -Value 1 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/CompatView_IntranetSites
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\BrowserEmulation'
Remove-ItemProperty -Path $k -Name 'IntranetCompatibilityMode' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"