Turn on script scanning
Supported on: At least Windows Server 2012, Windows 8 or Windows RT
Registry
HKLM
Software\Policies\Microsoft\Windows Defender\Real-Time Protection Value name: DisableScriptScanning
Enabled: DisableScriptScanning = 0
Disabled: DisableScriptScanning = 1
Description
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.