Open in the explorer

Allow only approved domains to use ActiveX controls without prompt

Autoriser uniquement les domaines approuvés à utiliser les contrôles ActiveX sans invite

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Internet Control Panel › Security Page › Intranet Zone User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Internet Control Panel › Security Page › Intranet Zone FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Panneau de configuration Internet › Onglet Sécurité › Zone intranetFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Panneau de configuration Internet › Onglet Sécurité › Zone intranet
Supported on
At least Internet Explorer 8.0 FR: Au moins Internet Explorer 8.0
ADMX file
inetres.admx
Internal name
inetres/IZ_PolicyOnlyAllowApprovedDomainsToUseActiveXWithoutPrompt_Both_Intranet

Explanation

This policy setting controls whether or not the user is prompted to allow ActiveX controls to run on websites other than the website that installed the ActiveX control.

If you enable this policy setting, the user is prompted before ActiveX controls can run from websites in this zone. The user can choose to allow the control to run from the current site or from all sites.

If you disable this policy setting, the user does not see the per-site ActiveX prompt, and ActiveX controls can run from all sites in this zone.

French text from Windows 11 26H2

Ce paramètre de stratégie contrôle si l’utilisateur est invité ou non à autoriser l’exécution des contrôles ActiveX sur des sites Web autres que le site Web qui a installé le contrôle ActiveX.

Si vous activez ce paramètre de stratégie, l’utilisateur est averti avant que les contrôles ActiveX ne soient autorisés à s’exécuter à partir des sites Web de cette zone. L’utilisateur peut choisir d’autoriser le contrôle à s’exécuter à partir du site actuel, ou à partir de tous les sites.

Si vous désactivez ce paramètre de stratégie, l’utilisateur ne voit pas l’invite ActiveX par site et les contrôles ActiveX peuvent s’exécuter à partir de tous les sites de cette zone.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1
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/IZ_PolicyOnlyAllowApprovedDomainsToUseActiveXWithoutPrompt_Both_Intranet
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Only allow approved domains to use ActiveX controls without prompt
# Possible options:
#   Enable = 3
#   Disable = 0
Set-ItemProperty -Path $k -Name '120b' -Value 3 -Type DWord

Disable

# Disable: inetres/IZ_PolicyOnlyAllowApprovedDomainsToUseActiveXWithoutPrompt_Both_Intranet
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": inetres/IZ_PolicyOnlyAllowApprovedDomainsToUseActiveXWithoutPrompt_Both_Intranet
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\1'
Remove-ItemProperty -Path $k -Name '120b' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Only allow approved domains to use ActiveX controls without promptAutoriser uniquement les domaines approuvés à utiliser les contrôles ActiveX sans inviteIZ_Partname120bDrop-down listenum120bREG_DWORD
Required · Default choice (UI): #0
LabelValue
EnableREG_DWORD = 3
DisableREG_DWORD = 0

Availability