Open in the explorer

Prevent per-user installation of ActiveX controls

Empêcher l’installation par utilisateur des contrôles ActiveX

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet ExplorerFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer
Supported on
At least Internet Explorer 8.0 FR: Au moins Internet Explorer 8.0
ADMX file
inetres.admx
Internal name
inetres/DisablePerUserActiveXInstall

Explanation

This policy setting allows you to prevent the installation of ActiveX controls on a per-user basis.

If you enable this policy setting, ActiveX controls cannot be installed on a per-user basis.

If you disable or do not configure this policy setting, ActiveX controls can be installed on a per-user basis.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet d’empêcher l’installation de contrôles ActiveX en fonction de chaque utilisateur.

Si vous activez ce paramètre de stratégie, les contrôles ActiveX ne peuvent pas être installés pour chaque utilisateur.

Si vous désactivez ou que vous ne configurez pas ce paramètre de stratégie, les contrôles ActiveX peuvent être installés pour chaque utilisateur.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Security\ActiveX
HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Security\ActiveX
Value name
BlockNonAdminActiveXInstall
StateValue written
EnabledREG_DWORD = 1
DisabledREG_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/DisablePerUserActiveXInstall
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Security\ActiveX'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'BlockNonAdminActiveXInstall' -Value 1 -Type DWord

Disable

# Disable: inetres/DisablePerUserActiveXInstall
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Security\ActiveX'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'BlockNonAdminActiveXInstall' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": inetres/DisablePerUserActiveXInstall
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Security\ActiveX'
Remove-ItemProperty -Path $k -Name 'BlockNonAdminActiveXInstall' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability