Open in the explorer

Allows you to run scripts, like Javascript

Permet d'exécuter des scripts comme Javascript

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Microsoft Edge User Configuration › Policies › Administrative Templates › Windows Components › Microsoft Edge FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft EdgeFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Microsoft Edge
Supported on
Only Microsoft Edge 1.0
ADMX file
microsoftedge.admx
Internal name
microsoftedge/AllowActiveScripting

Explanation

This setting lets you decide whether to let people run scripts, like JavaScript. This setting is enabled by default.

If you enable this setting, scripting is turned on for all your computers.

If you disable this setting, scripts can’t run.

French text from Windows 10 1507

Ce paramètre vous permet de décider si les utilisateurs sont autorisés à exécuter des scripts comme JavaScript. Ce paramètre est activé par défaut.

Si vous activez ce paramètre, les scripts sont activés pour tous vos ordinateurs.

Si vous désactivez ce paramètre, des scripts ne peuvent pas être exécutés.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\MicrosoftEdge\Internet Settings\Zones\3
HKEY_CURRENT_USER\Software\Policies\Microsoft\MicrosoftEdge\Internet Settings\Zones\3
Value name
1400
StateValue written
EnabledREG_DWORD = 0
DisabledREG_DWORD = 2

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: microsoftedge/AllowActiveScripting
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Internet Settings\Zones\3'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name '1400' -Value 0 -Type DWord

Disable

# Disable: microsoftedge/AllowActiveScripting
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Internet Settings\Zones\3'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name '1400' -Value 2 -Type DWord

Revert to "Not configured"

# Revert to "Not configured": microsoftedge/AllowActiveScripting
$k = 'HKLM:\Software\Policies\Microsoft\MicrosoftEdge\Internet Settings\Zones\3'
Remove-ItemProperty -Path $k -Name '1400' -ErrorAction SilentlyContinue

User (HKCU)

Enable

Disable

Revert to "Not configured"

Availability

Windows 11

— 26H2— 25H2— 24H2— 23H2— 22H2— 21H2

Windows 10

— 22H2— 21H2— 21H1— 20H2— 2004— 1909— 1903— 1809— 1803— 1709— 1703— 1607— 1511✓ 1507

Windows Server

— 2025— 2022— 2016