How to Disable Windows Defender on Windows 10

In general the Defender works good and it is worth using as a basic protection. It is able to protect your machine from wide variety of threats for free. But some people in definite situations wish to disable it and they should be able to do this. Here is how to disable Windows Defender in Windows 10.

Why Disable It?

Possible reasons why you may want to disable the Defender:

  1. You prefer working without any protection or you don’t like the way the built-in protection works.
  2. You are running Windows 10 on an old PC or on a virtual machine and you want to make it work faster.
  3. You want to inspect malware behavior on a test machine under Windows 10.

Note! You don’t need to disable the Defender manually if you are going to install a third-party antivirus. In this case the built-in protection will be disabled automatically.

Turn off Defender in Settings (not recommended)

Often people advise to turn off the Defender using the Settings app. Just go to the Settings and turn off Realtime and Cloud protection…

real-time protection off

But note, that in case if you disable it, you will encounter two moments:

  1. the protection will resume after you reboot your PC;
  2. you will immediately start receiving constant notifications like:
    Turn on virus protection:
    turn on virus protectionSpyware and unwanted software protection disabled:
    spyware and unwanted software protection

We advise to turn off Windows Defender using Group Policy. This will completely disable the app and you won’t be bothered by its notifications any more.

How to completely disable Defender in Windows 10 (recommended)

Create a new text file:

new text documents

Open it in notepad.
Copy and paste this code to the file:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender]
"DisableAntiSpyware"=dword:00000001

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection]
"DisableBehaviorMonitoring"=dword:00000001
"DisableOnAccessProtection"=dword:00000001
"DisableScanOnRealtimeEnable"=dword:00000001

Save the file.
Set Windows to show extensions of known files:
show extensions for known file types Rename .txt extension to .reg.
Click on your file and add the information to the system registry:

add to the registry

Reboot your PC to take effect.

Now you won’t receive any notifications and if you try to launch Windows Defender you will see:
this app is turned off by Group Policy
this app is turned off by group policy

Download Reg Files

Here is the archive containing two registry tweaks:

  1. Tweak to completely disable the protection using Windows Group Policy
  2. Tweak to turn it back on.

Please do not forget to reboot your PC after applying any of these tweaks.

Leave a Comment