Turn on ActiveX control logging in Internet Explorer
Activer le contrôle ActiveX de journalisation dans Internet Explorer
Explanation
This policy setting determines whether Internet Explorer saves log information for ActiveX controls.
If you enable this policy setting, Internet Explorer logs ActiveX control information (including the source URI that loaded the control and whether it was blocked) to a local file.
If you disable or don't configure this policy setting, Internet Explorer won't log ActiveX control information.
Note that you can turn this policy setting on or off regardless of the "Turn off blocking of outdated ActiveX controls for Internet Explorer" or "Turn off blocking of outdated ActiveX controls for Internet Explorer on specific domains" policy settings.
For more information, see "Outdated ActiveX Controls" in the Internet Explorer TechNet library.
Ce paramètre de stratégie détermine si Internet Explorer enregistre les informations de journal pour les contrôles ActiveX.
Si vous activez ce paramètre de stratégie, Internet Explorer enregistre les informations de contrôle ActiveX (y compris la source URI qui a chargé le contrôle et les informations de blocage) dans un fichier local.
Si vous désactivez ou ne configurez pas ce paramètre de stratégie, Internet Explorer n'enregistre pas les informations de contrôle ActiveX.
Notez que vous pouvez activer ou désactiver ce paramètre de stratégie indépendamment des paramètres de stratégie « Désactiver le blocage des contrôles ActiveX obsolètes par Internet Explorer » ou « Désactiver le blocage des contrôles ActiveX obsolètes par Internet Explorer sur certains domaines ».
Pour plus d'informations, voir « Contrôles ActiveX obsolètes » dans la bibliothèque TechNet d'Internet Explorer.
Registry
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\ExtHKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Ext- Value name
AuditModeEnabled
| 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/VerMgmtAuditModeEnable
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Ext'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AuditModeEnabled' -Value 1 -Type DWordDisable
# Disable: inetres/VerMgmtAuditModeEnable
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Ext'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'AuditModeEnabled' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/VerMgmtAuditModeEnable
$k = 'HKLM:\Software\Microsoft\Windows\CurrentVersion\Policies\Ext'
Remove-ItemProperty -Path $k -Name 'AuditModeEnabled' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"