How To Remove Windows Defender And Disable Microsoft Defender Antivirus

You Are Not Alone in This Fight

You are trying to install a piece of software, maybe a game mod or a specialized development tool, and Windows Defender pops up, quarantining the file without asking. You are testing an application you are building, and Defender flags it as a potential threat, blocking its execution. You have a robust, third-party security suite you trust, and having two real-time protection systems running is slowing your machine to a crawl.

If any of this sounds familiar, you have searched for “how to remove defender” because you need control back. Microsoft Defender Antivirus, while a capable built-in security solution, can sometimes be overzealous, intrusive, or redundant. This guide is for those who understand the risks and have made an informed decision to disable or remove it.

Understanding What You Are Dealing With

First, a critical clarification: you cannot truly “uninstall” Microsoft Defender Antivirus like a regular app. It is a core, protected component of Windows 10 and Windows 11. What you can do is disable its real-time and cloud-delivered protection, effectively turning it off. In some cases, using Group Policy or the Registry, you can prevent it from reactivating.

The process varies in permanence and complexity. We will start with the simplest, most reversible methods and progress to more advanced techniques that require deeper system access.

Before You Begin: The Non-Negotiable Prerequisites

Disabling your primary antivirus leaves your system vulnerable. Do not proceed without these safeguards in place.

– Install a reputable third-party antivirus first. Products from Malwarebytes, Bitdefender, Kaspersky, or Norton will automatically disable Defender upon installation. This is the safest, recommended path.

– Create a system restore point. This is your undo button. Type “Create a restore point” in the Windows search bar, select your system drive, and click “Create.” Name it “Pre-Defender Disable.”

– Ensure you have administrative rights on your computer. You will need them.

The Standard Method: Disabling Through Windows Security

This is the official, temporary way to turn off Defender’s real-time protection. It is useful for allowing a single file or performing a short task.

Open the Start menu and type “Windows Security,” then open the app. Click on “Virus & threat protection.” Under “Virus & threat protection settings,” click “Manage settings.”

Here, you will see several toggles. To disable the core protection, switch “Real-time protection” to Off. Windows will display a warning; confirm your choice. You may also want to turn off “Cloud-delivered protection” and “Tamper protection.”

Important: Windows will automatically re-enable Real-time protection after a short period, usually after a reboot or a few hours. This is a safety feature. For a longer-term disable, you need the next method.

The Advanced Method: Using Group Policy Editor

Group Policy Editor is a powerful administration tool available in Windows 10/11 Pro, Enterprise, and Education editions. It allows you to enforce settings that Windows will not automatically revert.

how to remove defender

Press Windows Key + R, type “gpedit.msc,” and press Enter. In the left pane, navigate to: Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus.

Locate the policy named “Turn off Microsoft Defender Antivirus.” Double-click it, select “Enabled,” and click Apply then OK. This policy disables the entire antivirus engine.

Next, to prevent real-time protection from turning itself back on, find the policy “Turn off real-time protection” in the same folder. Enable this policy as well.

After applying these policies, you must restart your computer for the changes to take full effect. Upon reboot, open Windows Security. You should see a message stating that your antivirus is managed by your organization and all protections are off.

What If I Do Not Have Group Policy Editor?

The Group Policy Editor is not available in Windows Home editions. Do not download unofficial installers; they can be malicious. Instead, you can achieve the same result by directly editing the Windows Registry, which is available in all editions.

Warning: Editing the registry incorrectly can seriously damage your operating system. Follow these steps exactly.

The Registry Editor Method for Windows Home

Open the Registry Editor by pressing Windows Key + R, typing “regedit,” and pressing Enter. Click “Yes” if prompted by User Account Control.

In the address bar at the top, paste the following path and press Enter:

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender

You may not have a “Windows Defender” key. If you do not, you need to create it. Right-click on the “Microsoft” folder, select New > Key, and name it “Windows Defender.”

Inside the “Windows Defender” key, right-click in the right pane, select New > DWORD (32-bit) Value, and name it “DisableAntiSpyware.” Double-click this new value, set its “Value data” to 1, and click OK.

Next, right-click again in the right pane, select New > DWORD (32-bit) Value, and name it “DisableRealtimeMonitoring.” Set its “Value data” to 1 as well.

how to remove defender

Close the Registry Editor and restart your computer. This mimics the Group Policy settings and should keep Defender disabled.

When Things Do Not Go as Planned: Troubleshooting

Even after applying these changes, you might find Defender is still active or has reactivated. Here is how to tackle common issues.

Tamper Protection is Blocking Your Changes

Tamper Protection is a security feature that prevents malicious apps from changing your core security settings. Ironically, it also prevents you from making these changes. You must turn it off first.

Go to Windows Security > Virus & threat protection > Virus & threat protection settings. If “Tamper Protection” is on, toggle it off. You may need to verify your identity with a PIN or password. If the toggle is grayed out, it might be managed by your organization (even if it is your personal PC). In that case, you must use the Registry or Group Policy method described above to disable it first by searching for the “DisableAntiSpyware” or relevant Tamper Protection policy.

Defender Keeps Re-enabling After an Update

Major Windows feature updates can reset system policies and re-enable Defender. This is by design. After completing an update, you will likely need to revisit the Group Policy or Registry settings and re-apply them. Keeping a text file with the registry paths and values you modified is a good practice.

Your Third-Party Antivirus Is Not Disabling Defender

Some lighter-weight security tools do not register themselves as a “primary” antivirus with Windows Security Center. If Defender remains active alongside your chosen software, you will experience conflicts and performance hits. In this case, you must manually force Defender off using the Group Policy or Registry methods outlined above. Your third-party tool will then be your sole active protection.

Alternative Approaches and Final Considerations

For users who need a temporary, scriptable solution, you can use PowerShell commands run as an administrator. The command Set-MpPreference -DisableRealtimeMonitoring $true will turn off real-time monitoring. However, like the Windows Security toggle, this is often temporary.

Remember, disabling Defender is not about defeating security; it is about choosing your security stack. The goal is to replace one layer with another that you find less intrusive or more performant for your specific needs.

If you ever need to revert, simply reverse the steps. In Group Policy, set the policies to “Not Configured” or “Disabled.” In the Registry, change the DWORD values from 1 back to 0, or delete the “Windows Defender” key you created. Then, re-enable everything in the Windows Security app and restart.

Your Actionable Path Forward

Start with the safest route: install your preferred third-party antivirus and let it handle Defender. If that does not work for your scenario, use the Group Policy method if you have Windows Pro. If you are on Windows Home, carefully apply the Registry edits after creating a restore point. Test the result by trying to run a file previously blocked and checking the status in Windows Security. Your system is now under your direct control, with the responsibility for its protection firmly in your hands.

Leave a Comment

close