|

How To Turn Off Microsoft Defender Real-Time Protection (2026)

Windows Security can block an installer or a file you know is safe, and the quickest test is to switch real-time protection off for a moment.

Microsoft built this switch to be temporary, so Windows turns it back on by itself after a short while.

This guide follows Microsoft’s own Windows Security pages and shows where the switch is, what changes while it is off, and how to turn it back on.

Quick answer: turn it off and back on

The setting lives in the Windows Security app under Virus and threat protection.

GoalWhere to goWhat to do
Open the appStart menu searchSearch for Windows Security and open it
Find the switchVirus & threat protection > Manage settingsLook for the Real-time protection toggle
Turn it offReal-time protection toggleSet it to Off and approve any prompt
Turn it back onSame toggleSet it to On, or wait for Windows to do it

Open Windows Security

Microsoft’s page says to search for Windows Security in the Start menu and open the app from the results.

The app brings together Microsoft Defender Antivirus, Windows Firewall and Smart App Control in one window.

Its left-hand areas include Virus & threat protection, Account protection, App and browser control, Device security and Protection History.

Turn off real-time protection

  1. Open Windows Security from the Start menu.
  2. Select Virus & threat protection.
  3. Under Virus & threat protection settings, select Manage settings.
  4. Under Real-time protection, move the toggle to Off.
  5. If Windows asks for permission to make the change, approve it.

Microsoft describes this as a temporary change, so you do not need to hunt for a separate “permanent” switch.

What changes while it is off

Real-time protection is the part of Microsoft Defender Antivirus that scans files and programs as you open or run them.

Once it is off, nothing you open or download is checked at that moment, and the files you install are not scanned until the next scheduled scan.

Scheduled scans still run, so the protection is reduced rather than removed completely.

ItemWhile real-time protection is off
Files you open or runNot scanned as you open them
Downloads and installsNot scanned until the next scheduled scan
Scheduled scansStill run
Manual scansStill available from Virus & threat protection

Only switch it off for a file or installer you fully trust, and turn it back on as soon as you are done.

Why it turns itself back on

Microsoft says real-time protection comes back on automatically after a short while.

The page does not give an exact number of minutes, so do not count on a fixed delay.

If you need it off for longer than that, switching the toggle off again is the only route Microsoft documents.

The simpler and safer plan is to turn it back on yourself the moment the task is finished.

If the toggle will not stay off: Tamper Protection

Tamper protection stops other apps from changing key Defender settings, including real-time protection and cloud-delivered protection.

Microsoft’s page says that if tamper protection is on, you should turn it off first before you switch real-time protection off.

You will find the tamper protection toggle on the same Manage settings screen.

Administrators can still change these settings from Windows Security, but other apps cannot.

Use an exclusion instead for one file or folder

If only one file or folder keeps getting flagged, Microsoft suggests adding an exclusion instead of switching protection off for the whole PC.

  1. On the Manage settings screen, scroll to Exclusions and select Add or remove exclusions.
  2. Select Add an exclusion.
  3. Choose File, Folder, File type or Process, then pick the item.

Microsoft warns that excluded items are not checked by Defender, which can raise your risk.

If you want to check a download afterwards, see our guide to scanning Windows 11 for malware with Windows Security.

When another antivirus is installed

Microsoft says that installing a compatible non-Microsoft antivirus makes Microsoft Defender Antivirus turn itself off automatically.

That is why trial software on a new PC can leave Defender switched off without you touching it.

Microsoft’s antivirus FAQ also says Defender turns itself back on if you have no other security product, or if your existing product has expired.

It recommends not running two real-time antivirus products at once, because that can hurt performance and may cause an error such as 0x80070643 during an update or install.

If an old trial is the one causing the trouble, our guide to stopping McAfee pop-ups covers what to do next.

SituationWhat Microsoft says happens
You install a compatible third-party antivirusDefender turns itself off
You have no other security productDefender turns itself on
Your other security product expiresDefender turns itself on
You turn real-time protection off yourselfIt returns after a short while

Turn it back on yourself

  1. Open Windows Security and select Virus & threat protection.
  2. Select Manage settings.
  3. Switch Real-time protection to On.
  4. Keep Cloud-delivered protection and Automatic sample submission on for the best protection, as Microsoft advises.

A quick scan afterwards is a sensible check if you downloaded something while protection was off.

Select Virus & threat protection, then Quick scan, to run one.

Official sources

Leave a Reply

Your email address will not be published. Required fields are marked *