Open in the explorer

Allow active scripting

Autoriser les scripts actifs

Type
Computer and user
GPO path
Computer Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Internet Control Panel › Security Page › Internet Zone User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Internet Control Panel › Security Page › Internet Zone FR: Configuration ordinateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Panneau de configuration Internet › Onglet Sécurité › Zone InternetFR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Panneau de configuration Internet › Onglet Sécurité › Zone Internet
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/IZ_PolicyActiveScripting_1

Explanation

This policy setting allows you to manage whether script code on pages in the zone is run.

If you enable this policy setting, script code on pages in the zone can run automatically. If you select Prompt in the drop-down box, users are queried to choose whether to allow script code on pages in the zone to run.

If you disable this policy setting, script code on pages in the zone is prevented from running.

If you do not configure this policy setting, script code on pages in the zone can run automatically.

French text from Windows 11 26H2

Ce paramètre de stratégie vous permet d’indiquer si le code de script sur les pages de la zone est exécuté.

Si vous activez ce paramètre de stratégie, le code de script sur les pages de la zone peut s’exécuter automatiquement. Si vous sélectionnez Demander dans la liste déroulante, les utilisateurs doivent indiquer s’ils souhaitent autoriser l’exécution du code de script sur les pages de la zone.

Si vous désactivez ce paramètre de stratégie, le code de script sur les pages de la zone ne peut pas s’exécuter automatiquement.

Si vous ne configurez pas ce paramètre de stratégie, le code de script sur les pages de la zone peut s’exécuter automatiquement.

Registry

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3
HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3
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_PolicyActiveScripting_1
$k = 'HKLM:\Software\Policies\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Allow active scripting
# Possible options:
#   Enable = 0
#   Disable = 3
#   Prompt = 1
Set-ItemProperty -Path $k -Name '1400' -Value 0 -Type DWord

Disable

# Disable: inetres/IZ_PolicyActiveScripting_1
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

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

User (HKCU)

Enable

Disable

Revert to "Not configured"

Options (1)

LabelControlRegistry valueREG typeConstraints / details
Allow active scriptingAutoriser les scripts actifsIZ_Partname1400Drop-down listenum1400REG_DWORD
Required · Default choice (UI): #0
LabelValue
EnableREG_DWORD = 0
DisableREG_DWORD = 3
PromptREG_DWORD = 1

Availability