Open in the explorer

Admin-approved behaviors

Comportements approuvés par l’administrateur

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Security Features › Binary Behavior Security Restriction User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Security Features › Binary Behavior Security Restriction FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Fonctionnalités de sécurité › Restriction de sécurité de comportement binaireFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Fonctionnalités de sécurité › Restriction de sécurité de comportement binaire
Supported on
At least Internet Explorer 6.0 in Windows XP with Service Pack 2 or Windows Server 2003 with Service Pack 1 FR: Au minimum Internet Explorer 6.0 dans Windows XP avec Service Pack 2 ou Windows Server 2003 avec Service Pack 1
ADMX file
inetres.admx
Internal name
inetres/IESF_Policy_BinaryBehaviorAdminAllow

Explanation

For each zone, the Binary and Scripted Behavior security restrictions may be configured to allow only a list of admin-approved behaviors. This list may be configured here, and applies to all processes which have opted in to the behavior, and to all zones. (Behaviors are components that encapsulate specific functionality or behavior on a page.)

If you enable this policy setting, this sets the list of behaviors permitted in each zone for which Script and Binary Behaviors is set to 'admin-approved'. Behaviors must be entered in #package#behavior notation, e.g., #default#vml.

If you disable this policy setting, no behaviors will be allowed in zones set to 'admin-approved', just as if those zones were set to 'disable'.

If you do not configure this policy setting, only VML will be allowed in zones set to 'admin-approved'.

Note. If this policy is set in both Computer Configuration and User Configuration, both lists of behaviors will be allowed as appropriate.

French text from Windows 11 26H2

Pour chaque zone, les restrictions de sécurité de comportements binaires et scriptés peuvent être configurées de façon à n’autoriser qu’une liste de comportements approuvés par l’administrateur. Cette liste peut être configurée ici, et s’applique à tous les processus qui ont souscrit au comportement, ainsi qu’à toutes les zones. (Les comportements sont des composants qui englobent une fonctionnalité ou un comportement spécifique sur une page.)

Si vous activez ce paramètre de stratégie, ceci définit la liste des comportements autorisés dans chaque zone pour lesquels les comportements scriptés et binaires sont définis comme étant approuvés par l’administrateur. Les comportements doivent être entrés dans la notation #package#behavior, par exemple #default#vml.

Si vous désactivez ce paramètre de stratégie, aucun comportement n’est autorisé dans les zones approuvées par l’administrateur, comme si elles étaient désactivées.

Si vous ne configurez pas ce paramètre de stratégie, seul VML est autorisé dans les zones approuvées par l’administrateur.

Remarque. Si vous activez ce paramètre de stratégie à la fois dans Configuration ordinateur et dans Configuration utilisateur, les deux listes de protocoles sont autorisées de manière appropriée.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings
Value name
ListBox_Support_AllowedBehaviors
StateValue written
EnabledREG_DWORD = 1
DisabledREG_DWORD = 0

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/IESF_Policy_BinaryBehaviorAdminAllow
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ListBox_Support_AllowedBehaviors' -Value 1 -Type DWord
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\AllowedBehaviors'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Enter the allowed behaviors here.
$values = @('<value1>', '<value2>')  # Replace the values with your own
foreach ($v in $values) { Set-ItemProperty -Path $k -Name $v -Value $v -Type String }

Disable

# Disable: inetres/IESF_Policy_BinaryBehaviorAdminAllow
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'ListBox_Support_AllowedBehaviors' -Value 0 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": inetres/IESF_Policy_BinaryBehaviorAdminAllow
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings'
Remove-ItemProperty -Path $k -Name 'ListBox_Support_AllowedBehaviors' -ErrorAction SilentlyContinue
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\AllowedBehaviors'
Remove-Item -Path $k -Recurse -Force -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Enter the allowed behaviors here.Entrez ici les comportements autorisés.IESF_BinaryBehaviorAdminAllowList (table)listSoftware\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\AllowedBehaviorsNumbered values (1, 2, 3…) · additiveREG_SZ (values under the key)

Availability