Policy

Turn on script scanning

This policy setting allows you to configure script scanning. If you enable or do not configure this setting, script scanning will be enabled. If you disable this setting, script scanning will be disabled.

Policy
PackMicrosoft Windows
CategoryWindows Components / Microsoft Defender Antivirus / Real-time Protection
Policy ID64b3f5153738
Internal nameRealtimeProtection_DisableSriptScanning

Registry

Copy registry mappings

HKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection\DisableScriptScanning (enabled) = 0
HKLM\Software\Policies\Microsoft\Windows Defender\Real-Time Protection\DisableScriptScanning (disabled) = 1

Policy notes

This policy setting allows you to configure script scanning. If you enable or do not configure this setting, script scanning will be enabled. If you disable this setting, script scanning will be disabled.

Related policies