Automatic prompting for ActiveX controls
Demander confirmation pour les contrôles ActiveX
Explanation
This policy setting manages whether users will be automatically prompted for ActiveX control installations.
If you enable this policy setting, users will receive a prompt when a site instantiates an ActiveX control they do not have installed.
If you disable this policy setting, ActiveX control installations will be blocked using the Notification bar. Users can click on the Notification bar to allow the ActiveX control prompt.
If you do not configure this policy setting, ActiveX control installations will be blocked using the Notification bar. Users can click on the Notification bar to allow the ActiveX control prompt.
Ce paramètre de stratégie indique s’il est automatiquement demandé aux utilisateurs d’installer les contrôles ActiveX.
Si vous activez ce paramètre de stratégie, une confirmation est demandée aux utilisateurs lorsqu’un site fait appel à un contrôle ActiveX qu’ils n’ont pas installé.
Si vous désactivez ce paramètre de stratégie, l’installation des contrôles ActiveX est bloquée à l’aide de la Barre de notification. Les utilisateurs peuvent cliquer sur la Barre de notification pour autoriser l’invite d’installation de contrôle ActiveX.
Si vous ne configurez pas ce paramètre de stratégie, l’installation des contrôles ActiveX est bloquée à l’aide de la Barre de notification. Les utilisateurs peuvent cliquer sur la Barre de notification pour autoriser l’invite d’installation de contrôle ActiveX.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\1HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_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_PolicyNotificationBarActiveXURLaction_4
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\1'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Automatic prompting for ActiveX controls
# Possible options:
# Enable = 0
# Disable = 3
Set-ItemProperty -Path $k -Name '2201' -Value 3 -Type DWordDisable
# Disable: inetres/IZ_PolicyNotificationBarActiveXURLaction_4
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/IZ_PolicyNotificationBarActiveXURLaction_4
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\1'
Remove-ItemProperty -Path $k -Name '2201' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Automatic prompting for ActiveX controlsDemander confirmation pour les contrôles ActiveXIZ_Partname2201 | Drop-down listenum | 2201 | REG_DWORD | Required · Default choice (UI): #1
|