How to Turn Off Microsoft Defender Real-Time Protection in Windows 10

To temporarily turn off Microsoft Defender real-time protection in Windows 10, open Windows Security and go to Virus & threat protection > Manage settings. While it is off, files you open or download do not get an immediate scan. Turn protection back on in the same place as soon as the approved troubleshooting task is done.

What changes while real-time protection is off?

Real-time protection scans files and programs as you access them. Scheduled scans can still run when it is off, but files you open or download in the meantime are no longer scanned in real time. If Defender flagged a download or an app, first check Protection history and verify where the file came from.

Microsoft guide to virus and threat protection settings

Temporarily pause protection in Windows Security

  1. Search for Windows Security from Start, or open Settings > Update & Security > Windows Security. Choose Virus & threat protection, then select Manage settings under Virus & threat protection settings.
  2. On a PC you administer, if an approved diagnostic requires a brief pause, switch Real-time protection to Off. Review any confirmation prompt before proceeding. The toggle should show Off and Windows Security should warn that protection is stopped.

Turn protection back on and confirm the status

Return to the same settings page and switch Real-time protection to On when the task is complete. Windows can turn it back on automatically after a short time. Restore it yourself when you finish and check the toggle.

If you opened or downloaded a file while protection was off, scan that file after restoring protection or run a Quick scan under Virus & threat protection.

Microsoft guide to scans in Windows Security

When the toggle is missing or unavailable

If a compatible antivirus from another vendor is active, Windows Security can show it as the current provider. Check which antivirus is active first. On a work or school PC with locked settings, contact your administrator.

Microsoft Defender Antivirus FAQ