How to temporarily (or permanently) disable and re-enable Windows Defender on Windows 10

Reading time icon 2 min. read

Readers help support MSPoweruser. When you make a purchase using links on our site, we may earn an affiliate commission. Tooltip Icon

Read the affiliate disclosure page to find out how can you help MSPoweruser effortlessly and without spending any money. Read more

Microsoft’s Windows 10 Defender offers real-time virus and malware protection to keep your PC safe. It is the best and most easily recommended anti-virus available — that is t say — if you don’t use Windows, you don’t need another. However, there are some edge cases where you may need to disable Defender to accomplish some task or the other that your PC isn’t letting you do. Here’s how to go about it.

How to disable and re-enable Windows Defender on Windows 10 using Windows Security

  1. Open Start > Windows Security
  2. Click on Virus and Threat Protection
  3. Under Virus and Threat Protection Settings, click on Manage Settings
  4. Real-Time Protection is the option you’re looking for, toggle that off.
  5. To re-enable it, repeat steps 1 – 4 again but toggle it on at the end.

How to permanently disable Windows 10’s Defender using the registry

  1. Open the Registry Editor by searching regedit in the Search Bar.
  2. Copy and paste the following into the new address bar (if you’re on an older device, simply navigate to it manually): HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
  3. Right-click on the Windows Defender folder icon and select New > DWORD
  4. Name that key DisableAntiSpyware and save it
  5. Double click the DWORD to open up a pop-up and change the DWORD value from 0 (disabled) to 1 (enabled)
  6. Save your changes and restart your PC to apply them. To revert, simply repeat the steps but change the DWORD value back to 0.

Remember, it is best not to keep Windows’ Real-time Protection off for too long. Turn it off for as long as you need to, but not a milli-second longer.

More about the topics: how to, security, tip, windows 10, Windows Defender