Turn on compatibility logging
Activer l’enregistrement de la compatibilité
Explanation
This policy setting logs information that is blocked by new features in Internet Explorer. The logged compatibility information is displayed in the Windows Event Viewer.
If you enable this policy setting, the user can log information that is blocked by new Internet Explorer features. The user cannot turn off logging.
If you disable this policy setting, the user cannot log information that is blocked by new Internet Explorer features. The user cannot turn on logging.
If you do not configure this policy setting, the user can change the logging settings.
Ce paramètre de stratégie enregistre les informations qui sont bloquées par les nouvelles fonctionnalités d’Internet Explorer. Les informations de compatibilité enregistrées dans le journal sont affichées dans l’observateur d’événements Windows.
Si vous activez ce paramètre de stratégie, l’utilisateur peut journaliser les informations bloquées par les nouvelles fonctionnalités d’Internet Explorer. L’utilisateur ne peut pas désactiver la journalisation.
Si vous désactivez ce paramètre de stratégie, l’utilisateur ne peut pas journaliser les informations bloquées par les nouvelles fonctionnalités d’Internet Explorer. L’utilisateur ne peut pas activer la journalisation.
Si vous ne configurez pas ce paramètre de stratégie, l’utilisateur peut modifier les paramètres de journalisation.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\Feature_Enable_Compat_loggingHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\Feature_Enable_Compat_logging- Value name
iexplore.exe
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
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/Enable_Compat_Logging
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\Feature_Enable_Compat_logging'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'iexplore.exe' -Value 1 -Type DWordDisable
# Disable: inetres/Enable_Compat_Logging
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\Feature_Enable_Compat_logging'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'iexplore.exe' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/Enable_Compat_Logging
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\Feature_Enable_Compat_logging'
Remove-ItemProperty -Path $k -Name 'iexplore.exe' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"