Use Policy List of Internet Explorer 7 sites
Utiliser la liste des sites d’Internet Explorer 7
Explanation
This policy setting allows you to add specific sites that must be viewed in Internet Explorer 7 Compatibility View.
If you enable this policy setting, the user can add and remove sites from the list, but the user cannot remove the entries that you specify.
If you disable or do not configure this policy setting, the user can add and remove sites from the list.
Ce paramètre de stratégie vous permet d’ajouter des sites spécifiques qui doivent être affichés dans l’Affichage de compatibilité d’Internet Explorer 7.
Si vous activez ce paramètre de stratégie, l’utilisateur peut ajouter et supprimer des sites dans cette liste mais il ne peut pas supprimer les entrées que vous spécifiez.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, l’utilisateur peut ajouter et supprimer des sites dans la liste.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\BrowserEmulation\PolicyListHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\BrowserEmulation\PolicyList- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
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_UsePolicyList
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\BrowserEmulation\PolicyList'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# List of sites
$values = @('<value1>', '<value2>') # Replace the values with your own
foreach ($v in $values) { Set-ItemProperty -Path $k -Name $v -Value $v -Type String }Disable
# Disable: inetres/CompatView_UsePolicyList
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/CompatView_UsePolicyList
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\BrowserEmulation\PolicyList'
# names to adapt
# Remove-ItemProperty -Path $k -Name '<name1>' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| List of sitesListe des sitesCompatView_SiteList | List (table)list | policy keyNumbered values (1, 2, 3…) · additive | REG_SZ (values under the key) |