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
Pack Microsoft Windows
Category Windows Components / Microsoft Defender Antivirus / Real-time Protection
Policy ID 64b3f5153738
Internal name RealtimeProtection_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