How to Turn Off Microsoft Defender in Windows 10 & 11?

Mahima Dave Mahima Dave
Updated on: Feb 18, 2025

If you’re using your PC or laptop with Windows OS almost daily, you must’ve seen the “Windows Defender” notification popping up on the screen.

Though it’s an essential part of your system’s security, many choose to disable it due to the drawbacks it brings to the table. For example, many users disable it when Roblox keeps crashing.

Whatever the reason, if you’re trying to figure out how to turn off Microsoft Defender in Windows 10 & 11, we have more than one solution for you. Read on!

Using Group Policy Settings

Whenever it comes to the question “how to turn off Windows Defender” using the group policy settings is always among the most preferred solutions.

All you need to do is use the Group Policy security tool, but using the Settings will require you to follow the series of steps in four parts:

  • Part I: Enable or install the Group Policy Editor (gpedit.msc)
  • Part II: Turn off Tamper Protection in the Settings menu.
  • Part III: Disable Microsoft Defender Using Group Policy Settings.
  • Part IV: Set up a Task Scheduler Entry.

That said, let’s take a look at the steps for each option in detail: 

Notes

If you have already enabled the Policy Editor and the Tamper Protection is already turned off, skip directly to the third part of the process.

Part I: Enable or install the Group Policy Editor

Installing Group Policy Editor is usually required for Home Edition, as, being a user, you’ll not have to deal with a network of users or applications. So, to enable or install the Group Policy Editor, follow these steps:

  • Open the Command Prompt from the Start menu and run it as an administrator
    Open Command Prompt

    Then, run this command “FOR %F IN (“%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~*.mum”) DO (DISM /Online /NoRestart /Add-Package:”%F”)

Notes

After you run this command, your system will take 3 to 5 minutes to complete the process. It might seem like it has been struck, but the process will continue. 

  • After finishing this command, run the command “FOR %F IN (“%SystemRoot%\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~*.mum”) DO (DISM /Online /NoRestart /Add-Package:”%F”)
  • Wait for a few minutes and type “gpedit.msc” in the search box. Open the Edit Group Policy option, but if you don’t see it, use the Command Prompt.
    Edit group policy
  • However, if you’re still facing issues after restarting your computer, run these two commands:
  • Command 1: “foreach ($F in Get-ChildItem -Path “$env:SystemRoot\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientTools-Package~*.mum”) {DISM /Online /NoRestart /Add-Package:”$F”}”
  • Command 2: foreach ($_ in (Get-ChildItem -Path “$env:SystemRoot\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtensions-Package~*.mum”)) {DISM /Online /NoRestart /Add-Package:”$_”}

Part II: Disable Tamper Protection 

Disabling Tamper Protection ensures that all the changes you made remain the same after restarting/rebooting. Here’s how you can do that:

  • Open Windows PowerShell from the search bar. 
    Open Windows PowerShell
  • Run the command “Get-MpComputerStatus.”
  • From the results, check whether “IsTamperProtected” is set to “False” or not. 
    IsTamperProtected
  • If it’s set to “True” like in this case, go to Start >> Settings >> Privacy & security >> Windows Security >> Virus & threat protection >> Manage settings. There, turn off the toggle for Tamper Protection.
    Turn off Tamper Protection

That’s it, you can now move on to the final part, which is to turn off Windows Defender using Group Policy Settings. 

Part III: Disable Microsoft Defender Using Group Policy Settings

After you enable the Group Policy Editor (gpedit.msc) and 

turn off tamper protection. You can simply follow these steps to make the required changes in the Group Policy Settings:

  • Press the Windows key, type “gpedit.msc” in the search box, then click the Edit group policy.
    Edit group policy opt
  • From the options given on the left, go to Computer Configuration >>  Administrative Templates >> Windows Components.
    Go to Windows Components
  • Scroll down and double-click on the option “Microsoft Defender Antivirus.”
    Double click on Microsoft Defender Antivirus
  • Then, right-click on “Turn off Microsoft Defender Antivirus” and click “Edit.”
    Click Edit
  • Check the “Enabled” box and click OK to save the changes.
    Check the Enabled box
  • Go back to the previous menu, and this time right-click on “Allow antimalware service to remain running always,” and choose “Edit.”
    Choose Edit
  • Now, check the “Disabled” box and click OK to save the changes.
    Check the Disabled box
  • Once again, go back to the previous list of options and open Real-time Protection.
    Open Real time Protection
  • Just like you did in the previous steps, you’ll have to right-click on “Turn off real-time protection,” and then choose “Edit.” Then, check the “Enabled” box, followed by “OK.”

Part IV: Set Up a Task Scheduler Entry

Once you disable the Microsoft Defender from the Policy, you’ll have to set up a Task Scheduler entry to stop some services from running in the background and avoid errors. Here’s how you can do that: 

  • Type “Task scheduler” in the search bar and open it.
    Open Task scheduler
  • Click the “Task Scheduler Library” option available on the left to expand it.
    Expand Task Scheduler Library
  • Then, go to Microsoft >> Windows >> Windows Defender.
    Go to Windows Defender
  • You’ll see the tasks on the right side, just right-click on these tasks and choose “Disable.”
    • Windows Defender Cache Maintenance
    • Windows Defender Cleanup
    • Windows Defender Scheduled Scan
    • Windows Defender Verification
      Choose Disable

Close the window, and open the Command Prompt. Run the command gpupdate/force, and you’re all set!

By Modifying the Registry

You can also modify the registry if you’re trying to figure out how to disable Windows Defender. This option too requires you to disable Tamper Protection first so that the settings don’t automatically adjust/reactivate. So, to modify the registry, follow these steps:

  • Go to Settings >> Privacy & security >> Windows Security >> Virus & threat protection >> Manage Settings
    Manage settings
  • Now, disable all the Defender options: “Real-time protection,” “Cloud-delivered protection,” and “Automatic sample submission.”
    Disable Defender options
  • Now, press Win+R, type “regedit” and click OK.
    Type regedit cmd
  • Then, in the Registry Editor paste “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender” in the address field. Press Enter.
    Paste the path
  • Now, right-click on Defender and click Permissions
    Click Permissions
  • Then, click Advanced.
    Click Advanced opt
  • Click Change.
    Click Change opt
  • Now, click Advanced again.
    Click Advanced again
  • Then, click Find Now.
    Click Find Now
  • Select the “Administrators” option from the list and click OK to confirm. Then, click OK again.
    Select Administrators
  • Uncheck the options “Replace owner on subcontainers and objects” and “Replace all child object permission entries with inheritable permission entries from this object.”
    Replace owner on subcontainers and objects
  • Click Apply and then OK to save the changes.
  • After this, go back to the “Permissions for Windows Defender” window, go to the section Permissions for Administrators, and check the “Allow” box next to the “Full Control” option.
    Check the Allow option
  • Click OK to save the changes.
  • Finally, go to the registry edit and create three DWORD (32-bit) Values:
    • DisableAntiVirus
    • DisableAntiSpyware
    • ServiceStartStates
  • Right-click on each value, click Modify, and enter 1 in the “Value data” field.

Restart your computer, and you’ll find that Windows Defender has been disabled. 

Using Autoruns

Autoruns for Windows is a utility tool offered by Windows only that can help you turn off Windows Defender in Windows 10 or 11. Take a look at how you can use this tool:

  • Open the downloaded file and extract its contents. 
  • Then, disable permanent protection from your system as mentioned in the previous step. (Disable “Real-time protection,” “Cloud-delivered protection,” and “Automatic sample submission.”)
  • Now, boot your PC in Safe Mode. You can do that by opening “System Configurations” from the start button and then selecting “Safe boot” under the “Boot” section.
    Reboot in Safe Mode
  • Once your PC restarts in Safe Mode, run the Autoruns64.ex file (located where you’ve extracted the files), and agree to the terms.
  • Open Autoruns, go to Services, and uncheck the Hide Windows Entries.
  • Then, go to the list of services under Windows Defender and uncheck the WinDefend box. This will disable Windows Defender to start automatically each time your PC reboots. 

Now, just close Autoruns and restart your PC in normal mode.

Disabling the Firewall in Windows Defender

Firewall protection is a part of Windows Defender and protects your system from network threats. To disable it, follow these steps:

  • Open Settings >> Privacy & security >> Windows Security
  • Click Firewall & network protection.
    Click Firewall and network protection
  • Then, you can disable the firewall for domain networks, private networks, and public networks separately. However, disabling the firewall for public networks is not recommended.
    Disable firewall
  • For each option, you can turn the toggle off for Microsoft Defender Firewall.
    Turn off Microsoft Defender Firewall

You can repeat the same step for the other two options if you prefer.

Using Another Antivirus/Antimalware Application

Another effective answer to how to stop Windows Defender is using another antivirus/antimalware. You can simply download and install any antivirus program that you trust and it will take over for  Windows Defender. 

However, when you uninstall the antivirus program, it will automatically enable the Microsoft Defender.

Wrapping Up – Is Turning Off Windows Defender a Safe Option?

You may find many people asking “How do I deactivate Windows Defender?” and obviously, there is more than one option to do so. However, turning it off isn’t something experts recommend. The built-in program basically protects your computer from all kinds of online and offline threats and somehow works better than other third-party programs.

Turning off or disabling Windows Defender makes your system vulnerable to malware. Hence, multiple viruses, ransomware, spyware, and more put your data and privacy at risk. Moreover, disabling the Defender also paves the way for network-based attacks. Hence, it is better to keep it enabled and disable it temporarily if necessary. 

Frequently Asked Questions

Why can’t I turn off Windows Defender in Windows 11?

Turning off Windows Defender requires a few complicated steps. You must try deactivating from the Group Policy Editor.

How do I completely remove Windows Defender from Windows 11?

Open the Start menu, and go to Windows Security >> Virus & Threat Protection >> Manage Settings. Then, turn off the “Real-Time Protection” toggle. Click Yes to confirm.

Can Microsoft Defender be removed?

No, you can remove Microsoft Defender from your PC but permanently disable it.

Related Posts
window 12
Feb 22, 2025
Windows 12 Release Date, Features, Leaks, and Everything We Know So Far

Excitement is building around Windows 12, the next anticipated operating system by Microsoft. People are eager to know the Windows…

payroll services for small businesses
Feb 21, 2025
How Payroll Services Help Small Businesses Stay IRS-Compliant

Introduction Managing a small business is no small feat, particularly when handling complex IRS compliance requirements. The obligations associated with…

linux nd window
Feb 20, 2025
Linux vs Windows: Which Operating System Is Right for You?

Linux vs Windows – a debate that has been around for as long as computers themselves. Similar to the debate…

window 10 nd 11
Feb 20, 2025
How to Make Windows 11 Look Like Windows 10? An Easy Guide to Bring…

Can you make Windows 11 look like Windows 10? Windows 11 brings a fresh design, but if you are used…

iso windows 10 pro
Feb 18, 2025
Windows 10 Pro ISO Free Download – Fast & Secure Installation

Are you looking to download Windows 10 Pro ISO? You are in the right place, my friend. Windows 10, the…

SECURE ACCESS SERVICE EDGE
Feb 13, 2025
Essential Steps to Secure Your Digital Infrastructure with Secure Access Service Edge

With the rapid advancement of digital transformation, organizations need help safeguarding their networks and securing confidential information. Conventional perimeter-focused security…

windows xp iso
Feb 18, 2025
Download Windows XP ISO for Free (32-bit & 64-bit) – A Complete Guide for…

Windows XP has been there for the last 2 decades, and you can still use it today if you want…

Feb 10, 2025
How to Zoom Out on Windows? 5 Ways to Adjust Screen Size Effortlessly

Is your Windows zoomed in or zoomed out? Don’t worry! Windows makes it easy to zoom in and out, whether…

Windows Key
Feb 11, 2025
Windows Key Not Working? 11 Effective Solutions, Causes, and Prevention Tips

Windows key on the keyboard not working? I feel you, mate; it is one of the most frustrating issues of…