Turn off real-time protection
- Policy ID
- DisableRealtimeMonitoring
- Scope
- Computer Configuration
- Supported on
- At least Windows Vista
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Windows Components › Microsoft Defender Antivirus › Real-time Protection
Description
This policy turns off real-time protection in Microsoft Defender Antivirus.
Real-time protection consists of always-on scanning with file and process behavior monitoring and heuristics. When real-time protection is on, Microsoft Defender Antivirus detects malware and potentially unwanted software that attempts to install itself or run on your device, and prompts you to take action on malware detections.
If you enable this policy setting, real-time protection is turned off.
If you either disable or do not configure this policy setting, real-time protection is turned on.
Registry
ComputerHKEY_LOCAL_MACHINE
- DisableRealtimeMonitoringREG_DWORD