Allow binary and script behaviors
Autoriser les comportements des fichiers binaires et des scripts
Explanation
This policy setting allows you to manage dynamic binary and script behaviors: components that encapsulate specific functionality for HTML elements to which they were attached.
If you enable this policy setting, binary and script behaviors are available. If you select Administrator approved in the drop-down box, only behaviors listed in the Admin-approved Behaviors under Binary Behaviors Security Restriction policy are available.
If you disable this policy setting, binary and script behaviors are not available unless applications have implemented a custom security manager.
If you do not configure this policy setting, binary and script behaviors are not available unless applications have implemented a custom security manager.
Ce paramètre de stratégie vous permet de gérer les comportements binaires dynamiques et scriptés : les composants qui intègrent une fonctionnalité spécifique pour les éléments HTML auxquels ils sont attachés.
Si vous activez ce paramètre de stratégie, les comportements binaires et scriptés sont disponibles. Si vous sélectionnez Approuvé par l’administrateur dans la liste déroulante, seuls les comportements listés dans les Comportements approuvés par l’administrateur sous la stratégie Restriction de sécurité de comportement binaire sont disponibles.
Si vous désactivez ce paramètre de stratégie, les comportements binaires et scriptés ne sont pas disponibles, sauf si les applications ont implémenté un gestionnaire de sécurité personnalisé.
Si vous ne configurez pas ce paramètre de stratégie, les comportements binaires et scriptés ne sont pas disponibles, sauf si les applications ont implémenté un gestionnaire de sécurité personnalisé.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4- 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_PolicyBinaryBehaviors_7
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Allow Binary and Script Behaviors
# Possible options:
# Enable = 0
# Administrator approved = 65536
# Disable = 3
Set-ItemProperty -Path $k -Name '2000' -Value 3 -Type DWordDisable
# Disable: inetres/IZ_PolicyBinaryBehaviors_7
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": inetres/IZ_PolicyBinaryBehaviors_7
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\4'
Remove-ItemProperty -Path $k -Name '2000' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"
Options (1)
| Label | Control | Registry value | REG type | Constraints / details | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Allow Binary and Script BehaviorsAutoriser les comportements des fichiers binaires et des scriptsIZ_Partname2000 | Drop-down listenum | 2000 | REG_DWORD | Required · Default choice (UI): #2
|