How to Disable Microsoft Defender Antivirus in Windows 11 & 10

Microsoft Defender Antivirus (Windows Security) supports almost all modern antivirus features like anti-malware, real-time protection, etc. And Microsoft is doing a great job providing timely definition updates. However, some users still don’t find Microsoft Defender (Windows Security) antivirus very effective and want to turn off or disable it on their Windows 11 or 10 PC.

Another reason for disliking Microsoft Defender or Windows Security is that it sometimes spikes CPU usage. Defender’s anti-malware process (msmpeng.exe) causes high CPU usage sometimes. However, you can solve this issue using a workaround. But that adds to the reasons for disliking Microsoft Defender (formerly Windows Defender).

SEE ALSO: How to Exclude Files and Folders from Microsoft Defender?

Disable Microsoft Defender (Windows Security) Antivirus in Windows 11 & 10

So, if you have made up your mind to disable or turn off Windows Security or Microsoft Defender antivirus in your Windows 11 or 10 PC, you are at the right place. In this tutorial, we have explained two methods to disable Defender. The first method uses Registry Editor and the second method uses Group Policy Editor. So, let’s start with the Registry Editor method.

A) Disable Windows Security using Registry Editor

In this method, we will use the Registry Editor tool to disable Windows Defender Antivirus. Note that you will need administrator permissions to use Registry Editor. So, let’s start with the process.

Step 1: Open Windows Security and go to Virus and Threat Protection Settings

First of all, launch Microsoft Defender (Windows Security) from the system tray or Settings. After that select Virus & threat protection from the left pane and click Manage Settings under Virus & threat protection settings.

Select Virus And Threat Protection From Left And Click Manage Settings
Select Virus & threat protection and click Manage Settings

Step 2: Turn off Real-time and other Protections

Now, disable toggles under all settings in Windows Security. When you disable the toggle for Real-time protection, you may see UAC Prompt, click Yes to continue. After that turn off the Cloud-delivered protection, Automatic sample submission, and Temper Protection. We need to do this in order to disable Microsoft Defender in Windows 11 or 10.

Turn Off Real Time Protection Cloud Delivered Protection And Automatic Sample Submission to disable or turn off Microsoft Defender Windows Security antivirus in Windows 11 or 10
Turn Off Real-time and other types of protections

Step 3: Open Registry Editor

Now, we need to make some changes to Windows Registry. So, search for registry editor in the search box on Windows 11 or 10 and select Run as administrator.

Search And Open Registry Editor As Administrator In Windows 11
Search and open Registry Editor as administrator

Step 4: Go to Microsoft Defender Antivirus in Registry and Create new DWORD

Now, go to the Microsoft Defender Antivirus registry key in Registry Editor. You can also paste the following path in Registry Editor’s address bar. It will take you to the Windows Defender registry key.

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender

Here, select Windows Defender and right-click on the blank space in the right pane. Now select New > DWORD (32-bit value) to create a new DWORD to disable Microsoft Defender (Windows Security) Antivirus in Windows 11 and 10.

Go To Windows Defender Key In Registry Editor And Create New DWORD to disable Microsoft defender windows security antivirus in windows 11 and 10
Go to Windows Defender Key in Registry Editor and create a new DWORD

Step 5: Name DWORD as DisableAntiSpyware and Set Value to 1 to Disable Microsoft Defender Antivirus

Name newly created DWORD as DisableAntiSpyware and double-click it to modify its value. Now, set the value data to “1“. After that click OK to save the changes.

Modify Disable Anti Spyware Dword Value To 1 in order to disable or turn off microsoft defender antivirus or windows security in windows 11 or 10
Set DisableAntiSpyware DWORD Value to 1

Now, close the Registry Editor and restart your computer.


Step 6: Check Windows Security (Microsoft Defender Antivirus) Status after Restart

After you restart your computer, open Windows Security in Windows 11 or 10 again. Here, you can see that Microsoft Defender Antivirus (Windows Security) has been disabled completely. Please note that sometimes it may require more than one reboot to turn off Microsoft Defender Antivirus.

Successfully Disable Windows Security Or Microsoft Defender In Windows 11 Or 10
Windows Security (Microsoft Defender Antivirus) disabled in Windows 11

NOTE: If you want to re-enable Microsoft Defender, simply delete DisableAntiSpyware registry DWORD from Registry. After that restart your computer and Windows Security will start working again.


SEE ALSO: How to Restore the Old File Explorer Menu Ribbon in Windows 11?

B) Disable Microsoft Defender Antivirus in Windows 11 and 10 using Group Policy

Besides Registry Editor, you can also use Group Policy Editor to turn off Windows Security in Windows 11 and 10. Please note that Group Policy Editor is only available in the Pro version of Windows 11 and 10. However, there is a workaround to enable Group Policy Editor in the Home version of Windows 11 and 10. So, let’s check the steps.

Step 1: Open Group Policy Editor and go to Microsoft Defender Antivirus Policy

First of all, go to RUN, type gpedit.msc , and press Enter to launch Group Policy Editor.

Go To Run Type Gpedit Msc And Press Enter To Open Local Group Policy Editor
Go to RUN, type gpedit.msc, and press Enter

In Group Policy Editor go to the following path:

Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus

If you are running an older version of Windows 10, you may see Microsoft Defender Antivirus as Windows Defender Antivirus. Here, select and open Turn off Microsoft Defender (or Windows Defender) Antivirus policy setting.

Go To Microsoft Or Windows Defender Antivirus And Open Turn Off Defender Antivirus
Go to Microsoft Defender Antivirus and open Turn Off Defender Antivirus

Step 2: Enable Policy to Disable Microsoft Defender Antivirus in Windows 11 and 10

Double-click the “Turn off Microsoft Defender (or Windows Defender) Antivirus” policy setting. Now, select Enabled and click Apply, and then OK.

Enable Policy To Turn Off Microsoft Defender Antivirus And Click Apply And Ok
Enable Policy to Turn Off Microsoft Defender Antivirus

Step 3: Restart your Computer and Check Defender Antivirus Status

Finally, close Group Policy Editor and restart your computer. Again launch Microsoft Defender or Windows Security in Windows 11 or 10 to check its status. Here, you will see that it has been disabled completely.

Successfully Disable Windows Security Or Microsoft Defender In Windows 11 Or 10
Windows Security or Microsoft Defender disabled successfully

NOTE: If you want to enable Microsoft Defender again, simply go to same policy and set it to “Not Configured“. Restart your computer and you are done.


Completely Turn Off Microsoft Defender Antivirus in Windows 11 and 10

The above tutorial explained two methods to disable or turn off Microsoft Defender (Windows Security) completely in Windows 11 or 10. Both of the methods are easy and straightforward. However, you need to be careful when working with Registry Editor. You can also use the Group Policy method to be on the safe side.

We suggest you keep at least one antivirus active at all times. This will avoid the risk of virus/malware/hacking. Hope you liked this tutorial. In case you are having issues while following the tutorial, feel free to share them in the comments down below. You can also subscribe to get the latest updates via email.

Editorial Staff

Hi there, we are the editorial staff at WINDOSPC (former HELLPC). We are a team of funny and technical people. Feel free to get in touch with us via Contact-Us page.

2 Comments

  1. The above method works for windows 10 only. It never works for Window 11. I wonder if you did try it on your own.

    1. Dear Chau Chee Yang, we have tried it on Windows 11 as well. All the screenshots shown in this tutorial have been taken from Windows 11 system only. Make sure to restart your PC after making registry changes.

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Back to top button