Open in the explorer

Turn on script debugging

Activer le débogage de script

Type
User
GPO path
User Configuration › Policies › Administrative Templates › Windows Components › Internet Explorer › Internet Settings › Advanced settings › Browsing FR: Configuration utilisateur › Stratégies › Modèles d'administration › Composants Windows › Internet Explorer › Paramètres Internet › Paramètres avancés › Navigation
Supported on
At least Internet Explorer 7.0 FR: Au moins Internet Explorer 7.0
ADMX file
inetres.admx
Internal name
inetres/DisableDebugger

Explanation

This policy setting allows you to turn on your script debugger, if one is installed. Website developers use script debuggers to test programs and scripts on their webpages. You can use the script debugger to browse, edit, and debug .htm and .asp files that contain Microsoft Visual Basic Scripting Edition (VBScript) or Microsoft JScript.

If you enable this policy setting, script debugging is turned on. The user cannot turn off script debugging.

If you disable this policy setting, script debugging is turned off. The user cannot turn on script debugging.

If you do not configure this policy setting, the user can turn on or turn off script debugging.

French text from Windows 11 26H2

Ce paramètre de stratégie permet d’activer votre débogueur de script, s’il est installé. Les développeurs de sites Web utilisent des débogueurs de script pour tester les programmes et les scripts de leurs pages Web. Vous pouvez recourir au débogueur de script pour parcourir, éditer et déboguer les fichiers .htm et .asp contenant des scripts Microsoft Visual Basic Scripting Edition (VBScript) ou Microsoft JScript.

Si vous activez ce paramètre de stratégie, le débogage de script est activé. L’utilisateur ne peut pas désactiver le débogage de script.

Si vous désactivez ce paramètre de stratégie, le débogage de script est désactivé. L’utilisateur ne peut pas activer le débogage de script.

Si vous ne configurez pas ce paramètre de stratégie, l’utilisateur peut activer ou désactiver le débogage de script.

Registry

HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main
Value name
Disable Script Debugger
StateValue written
EnabledREG_SZ = no
DisabledREG_SZ = yes

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.

Enable

# Enable: inetres/DisableDebugger
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Disable Script Debugger' -Value 'no' -Type String

Disable

# Disable: inetres/DisableDebugger
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Disable Script Debugger' -Value 'yes' -Type String

Revert to "Not configured"

# Revert to "Not configured": inetres/DisableDebugger
$k = 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'Disable Script Debugger' -ErrorAction SilentlyContinue

Availability