How to Disable Windows Defender

In this comprehensive guide, we’ll walk you through the step-by-step process of turning off Windows Defender in both Windows 11 and Windows 10. From accessing the Security settings to utilizing Group Policy Editor or Registry Editor, we’ll explore multiple methods suitable for different user preferences and system configurations.

How to Disable Windows Defender in Windows 11/10

Microsoft has not made the process to permanently disable Defender quick and easy. If you turn it off in the Virus & threat protection settings, it will revert to On after a short while and without warning.

Luckily, there are various ways to ensure the setting stays turn off, which we’re about to take you through.

Method 1- How to Disable Microsoft Defender Using Group Policy Settings

The first way to disable Defender is by using the Group Policy security tool. To do just that, follow these steps:

  • Click on Start, then Settings.
Settings
  • Choose Privacy & security, Windows Security, then Virus & threat protection.
virus threat protection
  • Under Virus & threat protection settings, click on Manage settings.
  • Scroll down to the Tamper Protection option, and toggle the slider to Off.
  • Choose Yes to confirm the Do you want to allow this app to make changes to your device? prompt.
Yes1
  • In the Tamper Protection section, a message will display stating that your device may be vulnerable. Use the x in the top right to close the window.
  • From the taskbar, press the search icon to enter a search for Edit group policy, then click the result to run the Group Policy editor.
Edit group policy
  • In the app’s window on the left pane, find Computer Configuration and select the Administrative Templates, then Windows Components.
windows component
  • Scroll down to Microsoft Defender Antivirus.
  • Look for the setting Turn off Microsoft Defender Antivirus in the right pane.
turn off
  • Right-click on it and choose Edit.
edit
  • In the popup window, check the Enabled box, then Apply, and OK.
enabled
  • Next, look for the setting Allow antimalware service to remain running always and right-click it. Then press Edit.
  • This time, check the Disabled option, click Apply, then OK.
  • Now look for the folder called Real-time Protection and double-click it to open.
Real time protection
  • Right-click the setting Turn off real-time protection, then choose Edit.
Turn off real time protection edit
  • Check the Enabled box, click Apply, then OK.
Enabled Apply OK

Now you have configured the group policy. You’ll need to set up a Task Scheduler to stop certain services from running and avoid errors once Defender has been disabled. To do this:

  • Enter a search for the Task Scheduler app, then open it.
Task Scheduler
  • Expand the Task Scheduler Library folder in the left pane.
Expand task scheduler
  • Expand Microsoft, Windows, then Windows Defender.
Win Defender
  • Right-click and Disable the following four tasks:
    • Windows Defender Cache Maintenance
    • Windows Defender Cleanup
    • Windows Defender Scheduled Scan
    • Windows Defender Verification

To update the computer and user policies:

  • Open the Command Prompt as admin.
  • Run the following command:
    gpupdate/force
gpupdate force121 1

Windows Defender has been disabled and will not start up with Windows.

Method 2- Disable Windows Defender by Modifying the Registry

Another way to deactivate Defender protection is by modifying the registry. Like the Group Policy option, this method requires the “Tamper Protection” setting to be disabled to stop the Defender settings from being tweaked. Follow these steps to do that:

  • Click on Start, then Settings.
Settings 1
  • Click on Privacy & security, Windows Security, then Virus & threat protection.
virus threat protection 1
  • Beneath Virus & threat protection settings, click on Manage settings.
  • Scroll down to the Tamper Protection option, and switch the slider to Off.
  • Choose Yes to allow the changes.
Yes1 1
  • Use the x in the top right to close the window.

Now complete these pre-steps before editing the registry:

  • Right-click on the Start menu.
Start Menu
  • Select Run and type regedit in the text field, then hit Enter.
regedit1
  • In the Registry Editor, enter the following path in the address field:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defender
Regedit windows defender

To edit or add a value to this folder, you’ll need to change the owner first. By default, the owner is System. Follow these steps to change the folder owner:

  • Right-click on the Windows Defender folder and choose Permissions.
Permission
  • Click on Advanced in the Permissions for Windows Defender window.
  • In the Owner field, click Change.
Owner Change
  • In the Advanced Security Settings for Windows Defender window, click Advanced.
advanced 2
  • Click Find Now, then select the admin account or the admin’s group.
Find Now
  • Click OK, then OK again to confirm the changes.
  • Check the box next to Replace owner on subcontainers and objects.
  • Check the box next to Replace all child object permission entries with inheritable permission entries from this object.
Replace all child
  • Click Apply, then in the Windows Security warning popup, click Yes.
  • Click OK again to close the advanced security settings window.
Replace all OK
  • Now, navigate to the Permissions for Windows Defender window under the Permissions for Everyone section.
1p
  • And to grant users complete control by checking Allow beside the Full Control option.
  • Click Apply and OK to confirm the change.
3p

Finally, to edit the registry:

  • Continuing from the Windows Defender branch in the Registry Editor, create three DWORD (32-bit) values. To do this, right-click any white space within the right pane, and select New, then the DWORD (32-bit) Value option.

D32
  • Name the new values as follows:
    • DisableAntiVirus
    • DisableAntiSpyware
    • ServiceStartStates
  • Right-click each value, select Modify, then change the Value data field to 1, then OK.
  • Now close the Registry Editor and restart your computer.

Once your computer restarts, the Windows Defender will be disabled.

Disable Windows Defender Using Autoruns

You can also permanently disable Windows Defender using the Autoruns for Windows utility tool. Here’s how:

  • Download the latest version of Autoruns for Windows.
autoruns
  • Open the downloaded file and right-click on the Autoruns folder to Extract All. Consider extracting the folder to your desktop for easy access.

Now you’ll need to disable permanent protection and boot in safe mode:

  • Press the Windows icon from the taskbar, then choose Settings.
Settings 2
  • Choose Privacy & security, Windows Security, then Virus & threat protection.
virus threat protection 2
  • Under the Virus & threat protection section, select Manage settings.
  • Press the Real-time Protection and Tamper Protection sliders to deactivate them.
real time and tamper
  • Next, to put your computer in Safe Mode, enter a search to find the System Configuration app, then open it.
  • In System Configuration, select the Boot tab.
  • Under Boot options, check the Safe boot box, and the Minimal option will set automatically.
  • Hit Apply, OK, then Restart.
apply Ok
  • Open the Autoruns folder on your desktop, click the Autoruns64.ex file, then Run to start it.
  • An Autoruns License Agreement window will display. If you agree with the terms, click Agree to continue.
agree
  • In the Autoruns window, choose the Services tab.
Services tab
  • By default, Windows services are hidden. To make them visible, click on Options from the main menu, then uncheck the Hide Windows Entries.
hide windows entries
  • Go through the list of services for Windows Defender and uncheck the WinDefend box. This will disable the automatic startup for Windows Defender each time the computer reboots.
  • Now close Autoruns, then reboot your computer into normal mode.

To reboot your computer into normal mode:

  • Press the Search icon on the taskbar and select System Configuration.
  • Check the Normal startup option.
  • Click Apply, OK, then Restart.

Once your computer has rebooted, launch Task Manager and check if the Windows Defender service is running:

  • Open Settings to see the Virus & threat protection status. To get there, go to Privacy & security, Windows Security, Virus & threat protection, then Home.
virus threat protection 2
  • Verify that the Virus & threat protection status is set to Unknown.

Note: Avoid clicking on the Defender tile as it updates its information or displays the “Unknown” status. If you click on it during that time, Defender will be enabled again.

By the end of this guide, you’ll have a clear understanding of the various options available to disable Windows Defender temporarily, ensuring smooth execution of tasks without compromising your system’s security.

Whether you’re a seasoned user looking for a quick refresher or a novice navigating through Windows settings for the first time, this guide will equip you with the knowledge and confidence to manage Windows Defender effectively in Windows 11 and Windows 10 environments.

Author - Komal Hatwaani

I am Komal Hatwaani, aims to provide readers with informative and engaging content that covers everything from technology and business to entertainment and lifestyle. This website dedicated to delivering high-quality content that informs, entertains, and inspires our readers.
Join us on our journey as we continue to explore the ever-evolving landscape of news and information, providing you with valuable insights and perspectives that enrich your digital experience.

Leave a Reply

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

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