Initialize and script ActiveX controls not marked as safe
Contrôles d’initialisation et de script ActiveX non marqués comme sécurisés
Explanation
This policy setting allows you to manage ActiveX controls not marked as safe.
If you enable this policy setting, ActiveX controls are run, loaded with parameters, and scripted without setting object safety for untrusted data or scripts. This setting is not recommended, except for secure and administered zones. This setting causes both unsafe and safe controls to be initialized and scripted, ignoring the Script ActiveX controls marked safe for scripting option.
If you enable this policy setting and select Prompt in the drop-down box, users are queried whether to allow the control to be loaded with parameters or scripted.
If you disable this policy setting, ActiveX controls that cannot be made safe are not loaded with parameters or scripted.
If you do not configure this policy setting, ActiveX controls that cannot be made safe are not loaded with parameters or scripted.
Ce paramètre de stratégie permet de gérer les contrôles ActiveX non considérés comme sûrs.
Si vous activez ce paramètre de stratégie, les contrôles ActiveX sont exécutés, chargés avec des paramètres, puis scriptés sans définir la sécurité des objets pour les données ou les scripts non fiables. Ce paramètre n’est pas recommandé, sauf pour les zones fiables et administrées. Ce paramètre force l’initialisation et le scriptage des contrôles sécurisés et non sécurisés, et ignore les contrôles de scripts ActiveX considérés comme sûrs pour l’option de scriptage.
Si vous activez ce paramètre de stratégie et sélectionnez Demander dans la liste déroulante, l’utilisateur indique si le contrôle doit être chargé avec des paramètres ou scripté.
Si vous désactivez ce paramètre de stratégie, les contrôles ActiveX qui ne peuvent pas être sécurisés ne sont pas chargés avec des paramètres ou scriptés.
Si vous ne configurez pas ce paramètre de stratégie, les contrôles ActiveX qui ne peuvent pas être sécurisés ne sont pas chargés avec des paramètres ou scriptés.
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_PolicyScriptActiveXNotMarkedSafe_6
$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 }
# Initialize and script ActiveX controls not marked as safe
# Possible options:
# Enable = 0
# Disable = 3
# Prompt = 1
Set-ItemProperty -Path $k -Name '1201' -Value 3 -Type DWordDisable
# Disable: inetres/IZ_PolicyScriptActiveXNotMarkedSafe_6
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/IZ_PolicyScriptActiveXNotMarkedSafe_6
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Lockdown_Zones\2'
Remove-ItemProperty -Path $k -Name '1201' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Initialize and script ActiveX controls not marked as safeContrôles d’initialisation et de script ActiveX non marqués comme sécurisésIZ_Partname1201 | Drop-down listenum | 1201 | REG_DWORD | Required · Default choice (UI): #1
|