Foutopsporing in scripts uitschakelen: registerwaarde Disable Script DebuggerGebruikerHKCU\Software\Policies\Microsoft\Internet Explorer\Main

Beleids-ID
DisableDebugger
Bereik
Gebruikersconfiguratie
Ondersteund op
Ten minste Internet Explorer 7.0
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Windows-onderdelen › Internet Explorer › Internet-instellingen › Geavanceerde instellingen › Browsen

Register

Disable Script Debugger

REG_SZGebruiker
Waarde bij ingeschakeld
no
Waarde bij uitgeschakeld
yes
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main]

; Opties (gebruik er maar één)
; Ingeschakeld
"Disable Script Debugger"="no"
; Uitgeschakeld
"Disable Script Debugger"="yes"
CMD
:: Opties (gebruik er maar één)

:: Ingeschakeld
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main" /v "Disable Script Debugger" /t REG_SZ /d "no" /f
:: Uitgeschakeld
reg add "HKCU\Software\Policies\Microsoft\Internet Explorer\Main" /v "Disable Script Debugger" /t REG_SZ /d "yes" /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main' -Force | Out-Null

# Opties (gebruik er maar één)
# Ingeschakeld
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main' -Name 'Disable Script Debugger' -PropertyType String -Value 'no' -Force | Out-Null
# Uitgeschakeld
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Internet Explorer\Main' -Name 'Disable Script Debugger' -PropertyType String -Value 'yes' -Force | Out-Null