All Processes
Tous les processus
Explanation
This policy setting enables applications hosting the Web Browser Control to block automatic prompting of ActiveX control installation.
If you enable this policy setting, the Web Browser Control will block automatic prompting of ActiveX control installation for all processes.
If you disable or do not configure this policy setting, the Web Browser Control will not block automatic prompting of ActiveX control installation for all processes.
Ce paramètre de stratégie autorise les applications hébergeant le contrôle Navigateur Web à bloquer automatiquement la demande d’installation des contrôles ActiveX.
Si vous activez ce paramètre de stratégie, le contrôle Navigateur Web bloque automatiquement la demande d’installation des contrôles ActiveX dans tous les processus.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, le contrôle Navigateur Web ne bloque pas la demande d’installation des contrôles ActiveX dans tous les processus.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_RESTRICT_ACTIVEXINSTALLHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_RESTRICT_ACTIVEXINSTALL- Value name
*
| State | Value written |
|---|---|
| Enabled | REG_SZ = 1 |
| Disabled | REG_SZ = 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/IESF_PolicyAllProcesses_11
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_RESTRICT_ACTIVEXINSTALL'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name '*' -Value '1' -Type StringDisable
# Disable: inetres/IESF_PolicyAllProcesses_11
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_RESTRICT_ACTIVEXINSTALL'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name '*' -Value '0' -Type StringRevert to "Not configured"
# Revert to "Not configured": inetres/IESF_PolicyAllProcesses_11
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main\FeatureControl\FEATURE_RESTRICT_ACTIVEXINSTALL'
Remove-ItemProperty -Path $k -Name '`*' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"