Disable Microsoft Defender in Windows 11: Step-by-Step Guide

Last updated on September 5th, 2023 at 1:26 pm


Since its introduction in 2006, Microsoft Defender has been integral to all Windows operating systems, offering free and thorough antivirus protection. It is capable of finding and containing malware and providing ongoing security. On the downside, it’s a resource-consuming and will only stop running in the background if permanently deactivated.

Methods to Permanently Turn Off Microsoft Defender in Windows 11

Here are the three effective methods to permanently disable Windows Defender if you no longer require its services. Learn how to deactivate this software.

Method 1: Permanently Turn Off Microsoft Defender in Windows 11 through Group Policy.

Using the Group Policy security tool, you can disable Defender. Follow these instructions:

Step 1: Navigate to Settings from the Start menu.

Privacy & Security

Step 2: Select Privacy & Security, then Windows Security and Virus & threat protection.

Step 3: Check Manage settings in the Virus & threat protection section, then turn off Tamper Protection by toggling the slider.

 manage settings

Step 4: To confirm making device changes, click Yes when prompted.

windows security

Step 5: A message will be shown in the Tamper Protection section affirming that your device might not be secure; close this window using the x in the top right corner.

Step 6: Press the search icon on the taskbar to access the Microsoft Defender Antivirus settings.

Step 7: Type ‘Edit Group Policy’ and click the result to launch the app. Open, select Computer Configuration from the left pane, followed by Administrative Templates and then Windows Components.

Edit Group Policy

Step 8: Scroll down until you land on Microsoft Defender Antivirus, where several settings will be visible on the right pane.

windows components

Step 10: Right-click on ‘Turn off Microsoft Defender Antivirus’ and hit Edit to check the Enabled box before clicking Apply and OK.

 Turn off Microsoft Defender Antivirus

Step 11: Then do the same for ‘Allow antimalware service to remain running always’, but instead choose Disabled this time round.

Allow antimalware service

Step 12: Finally, enter the Real-time Protection folder and right-click ‘Turn off real-time protection’, editing it again to check Enabled.

Method 2: Permanently Turn Off Microsoft Defender by Modifying Registry

Similarly to Group Policy, you can deactivate Defender protection by modifying the registry. This method requires disabling the “Tamper Protection” setting to prevent Defender settings from being altered.

Step 1: The first step is to click Start, then Settings.

Step 2: Select Privacy & Security, Windows Security, then Virus & threat protection.

Step 3: Under Virus & threat protection settings, click Manage settings.

Virus & threat protection settings

Step 4: Switch the slider to Off for the Tamper Protection option.

 Tamper Protection

Step 5: To allow the changes, select Yes.

Step 6: To close the window, click the x in the top right corner.

Step 7: From the Windows Defender branch in the Registry Editor.

Step 8: Create three DWORD (32-bit) values. To do so, right-click any white space in the right pane, select New, then DWORD (32-bit) Value.

 Registry Editor

Here are the new values:

  • Disable anti-virus software
  • Turn off AntiSpyware
  • StartStates of Services

Step 9: Change the Value data field to 1 by right-clicking each value and selecting Modify.

Value data

Step 10: Close the Registry Editor and restart your computer.

Step 11:  Windows Defender will be disabled once your computer restarts.

Method 3: Permanently Turn Off Microsoft Defender by using Autoruns

The Autoruns for Windows utility tool can also permanently disable Windows Defender.

Step 1: Install the updated version of Autoruns for your Windows.


Step 2: Right-click the Autoruns folder in the downloaded file and select Extract All. Consider moving the folder to your desktop for easy access.

Extract All

Now, you need to disable permanent protection and boot in safe mode.

Step 1: From the taskbar, select the Windows icon, then Settings.

Step 2: Then select Privacy & Security, Windows Security, and Virus & Threat Protection.

Step 3:  Select Manage settings under Virus & threat protection.

Step 4:  To deactivate Real-time Protection and Tamper Protection, press the sliders.

deactivate Real-time Protection and Tamper Protection

Step 5:  To put your computer in Safe Mode, locate the System Configuration app using a search engine and open it.

Step 6:  Select the Boot tab in System Configuration.

safe boot

Step 7:  The Minimal option will be automatically selected when the Safe boot box is checked under Boot options.

Step 8:  Restart the computer after clicking Apply, OK, and Restart.

Step 9:  To start it, open the Autoruns folder on your desktop, click the Autoruns64.ex file, and then click Run.

Autoruns64.ex file

Step 10:  The Autoruns License Agreement window will appear. Click agree button, if you agree with the terms.

Step 11:  Select the Services tab in the Autoruns window.


Step 12:  Windows services are hidden by default. To make them visible, click on Options from the main menu, then uncheck Hide Windows Entries.

Hide Windows Entries

Step 13:  If you uncheck the WinDefend box in the list of services for Windows Defender, Windows Defender will not be automatically launched each time the computer reboots.

WinDefend box

Reboot your computer into normal mode after closing Autoruns as follows:

Step 1: Select System Configuration from the Search icon on the taskbar.

Step 2: Select the Normal startup option.

Normal startup option

Step 3: Restart the computer after clicking Apply, OK, and Restart.

Start Task Manager and check if Windows Defender is running after your computer has rebooted:

Step 1: Go to Privacy & security, Windows Security, Virus & threat protection, then Home to see the Virus & threat protection status.

Step 2: Make sure that the Virus & Threat Protection status is set to Unknown.

Method 4: Permanently Turn Off Microsoft Defender through Commond Prompt

To disable Microsoft Defender, you must paste a registry change instruction into the Command Prompt app. Here’s how:

Step 1: Press Win + R to open the Run command box.

Step 2: Click Ctrl + Shift + Enter to open Command Prompt with administrator permissions.

Step 3: Next, type the following instructions:

reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Microsoft Defender” /v DisableAntiSpyware /t REG_DWORD /d 1 /f

Step 4: Upon successfully executing the before command, a notice will appear stating “The operation was successful.”.

 Command Prompt window

Step 5: Type exit to dismiss the Command Prompt window.

Step 6: The sixth step is to reboot your computer.


By default, Windows Defender – a free antivirus software – is set to stay enabled even if it’s been turned off in Virus & threat protection. It may be hard to disable on your computer as Microsoft has installed fail-safe mechanisms.

Before you decide to deactivate it, turn off Tamper Protection. If you don’t want to use Defender, using another antivirus program is an excellent way to protect your PC from malware. To ensure that the Defender disabling is permanent, you can update the policy, modify the registry or disable it with the “Autoruns for Windows” utility tool. These three methods will ensure that Windows Defender will remain deactivated.

Author Bio:

Dinesh Lakhwani

Dinesh Lakhwani, the entrepreneurial brain behind “TechCommuters,” achieved big things in the tech world. He started the company to make smart and user-friendly tech solutions. Thanks to his sharp thinking, focus on quality and the motto of never giving up, TechCommuters became a top player in the industry. His commitment to excellence has propelled the company to a leading position in the industry.

Leave a comment

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

Popular Post

Recent Post

10 Best Sites to Download PC Games For Free In 2024 [Latest List]

By TechCommuters / March 2, 2024

Introduction: Looking for the best site to download PC games for free? You’ve come to the right place. In the golden age of digital distribution, there are more options than ever before for gamers to purchase and download PC games legitimately and legally. From major publishers’ platforms to online stores and subscription services, the PC […]

How To Fix Hulu Error Code 21 [Latest Guide]

By TechCommuters / February 29, 2024

Introduction: With its extensive catalog of television, film, and originals, Hulu stands as a top streaming platform. However, as with any technology, users occasionally run into technical difficulties. A common error Hulu subscribers may encounter is the frustrating Error Code 21. This error code typically appears when there is an issue with the Hulu app […]

What Are Crypto Exchanges And How Do They Work

By TechCommuters / February 27, 2024

Introduction: Cryptocurrencies have exploded in popularity in recent years. Driving mainstream adoption are crypto exchanges – online platforms that allow investors to easily buy, sell, and trade digital currencies like Bitcoin and Ethereum. Crypto exchanges provide the critical infrastructure that allows individuals and institutions seamless entry into the crypto ecosystem. But how exactly do these […]

How To Fix Preparing Automatic Repair Loop On Windows 10/11

By TechCommuters / February 26, 2024

Introduction: The “Preparing automatic repair” loop is a common issue that affects Windows 10 and 11 users when the operating system fails to boot properly. This automatic repair process tries to diagnose and fix boot issues but often gets stuck repeatedly restarting and checking for problems, creating an endless loop. There are several potential causes […]

15 Best Disk Partition Software for Windows 11 and 10 [2024]

By TechCommuters / February 25, 2024

Table Of Contents: Introduction What is Disk Partitioning Why is disk partitioning needed? How to do disk partitioning? Best Disk Partition Software for Windows 11/10/8/7 in 2024 EaseUS Partition Master MiniTool Partition Wizard Pro Paragon Partition Manager AOMEI Partition Assistant Active@ Partition Manager Tenorshare Partition Manager GParted Cute Partition Manager Macrorit Partition Expert IM-Magic Partition […]

10 Best Password Manager for Mac 2024 [Latest List]

By TechCommuters / February 24, 2024

Introduction: Using a Mac password manager app is one of the best ways to stay secure online. A good password management app generates strong, unique passwords for all your accounts, remembers them for you, and helps you log in quickly and easily. When choosing a password manager for your Mac, you’ll want one that is […]

10 Best Free Password Manager Apps for Android 2024 [Updated]

By TechCommuters / February 23, 2024

Introduction: Managing passwords is a major challenge in the digital era. With the proliferation of online accounts, we’re expected to create and remember many complex, unique passwords. This poses a significant burden on our memory. Fortunately, Android password managers offer a convenient solution. These applications store passwords securely, generate strong random passwords, and auto-fill login […]

Top 10 Best Password Managers for iPhone In 2024 [Updated]

By TechCommuters / February 22, 2024

Introduction: Having strong and unique passwords for all your online accounts is essential for good digital security and privacy. Reusing the same passwords on multiple sites is a risky practice as a breach on one site puts all your accounts at risk. This is where a dedicated password manager comes in very handy. These apps […]

10 Best Password Manager for Windows 11/10/8/7 for 2024

By TechCommuters / February 21, 2024

Introduction: In today’s digital age, we have loads of accounts – like email, social media, online banking, and shopping sites. That means we’ve got tons of passwords to remember. It’s risky to use the same password for everything, but keeping track of unique ones for each account can be tough. A password manager proves invaluable […]

10 Best Free Android Cleaner Apps for 2024 [Latest List]

By TechCommuters / February 20, 2024

Introduction: A clean and optimized Android device performs better, lasts longer, and runs faster. With time, caches, residual files, and unneeded data can clutter up your Android smartphone or tablet and slow it down. That’s why having a quality cleaner app is essential. The Google Play Store has hundreds of Android cleaner and optimization apps […]