Download unsigned ActiveX controls
Télécharger les contrôles ActiveX non signés
Explanation
This policy setting allows you to manage whether users may download unsigned ActiveX controls from the zone. Such code is potentially harmful, especially when coming from an untrusted zone.
If you enable this policy setting, users can run unsigned controls without user intervention. If you select Prompt in the drop-down box, users are queried to choose whether to allow the unsigned control to run.
If you disable this policy setting, users cannot run unsigned controls.
If you do not configure this policy setting, users are queried to choose whether to allow the unsigned control to run.
Ce paramètre de stratégie permet d’indiquer si les utilisateurs peuvent télécharger les contrôles ActiveX non signés depuis la zone. Ce code est potentiellement dangereux, surtout s’il provient d’une zone non sécurisée.
Si vous activez ce paramètre de stratégie, les utilisateurs peuvent exécuter les contrôles non signés de façon automatique. Si vous sélectionnez Demander dans la liste déroulante, les utilisateurs doivent indiquer s’ils souhaitent autoriser l’exécution du contrôle non signé.
Si vous désactivez ce paramètre de stratégie, les utilisateurs ne peuvent pas exécuter de contrôles non signés.
Si vous ne configurez pas ce paramètre de stratégie, les utilisateurs doivent indiquer s’ils souhaitent autoriser l’exécution du contrôle non signé.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\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_PolicyDownloadUnsignedActiveX_5
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Download unsigned ActiveX controls
# Possible options:
# Enable = 0
# Disable = 3
# Prompt = 1
Set-ItemProperty -Path $k -Name '1004' -Value 1 -Type DWordDisable
# Disable: inetres/IZ_PolicyDownloadUnsignedActiveX_5
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/IZ_PolicyDownloadUnsignedActiveX_5
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\2'
Remove-ItemProperty -Path $k -Name '1004' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Download unsigned ActiveX controlsTélécharger les contrôles ActiveX non signésIZ_Partname1004 | Drop-down listenum | 1004 | REG_DWORD | Required · Default choice (UI): #2
|