Allow only approved domains to use ActiveX controls without prompt
Autoriser uniquement les domaines approuvés à utiliser les contrôles ActiveX sans invite
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.
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\Lockdown_Zones\2HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\2- 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_TrustedLockdown
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\2'
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 DWordDisable
# Disable: inetres/IZ_PolicyOnlyAllowApprovedDomainsToUseActiveXWithoutPrompt_Both_TrustedLockdown
# 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_TrustedLockdown
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\2'
Remove-ItemProperty -Path $k -Name '120b' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Only allow approved domains to use ActiveX controls without promptAutoriser uniquement les domaines approuvés à utiliser les contrôles ActiveX sans inviteIZ_Partname120b | Drop-down listenum | 120b | REG_DWORD | Required · Default choice (UI): #0
|