Windows Defender blocking a program you need to install?

Experiencing high CPU usage from Microsoft Defender Antivirus?

Or maybe you’re a developer and need to disable Windows Defender for development work?

I’ll show you exactly how to completely disable Windows Defender in Windows 10 and Windows 11—all the proven methods in 2024.

Why Does Windows Defender Turn Itself Back On?

Microsoft designed its antivirus like an unremovable bodyguard.

Defender turns itself back on after restart—that’s not a bug, it’s a feature.

The system has built-in Tamper Protection that guards against unauthorized changes.

Frustrating when Windows Defender automatically deletes files, right?

Especially when you’re working with development tools or games.

Method 1: Disable Windows Defender via Group Policy Editor

This is the cleanest method for Windows 10 Pro and Windows 11 Enterprise.

Step-by-Step: gpedit.msc to Disable Microsoft Defender Antivirus

  1. Open the Local Group Policy Editor:

    • Press Windows + R
    • Type “gpedit.msc”
    • Confirm as administrator
  2. Navigate to the correct path:

    • Computer Configuration
    • Administrative Templates
    • Windows Components
    • Microsoft Defender Antivirus
  3. Find and edit the policy:

    • Locate “Turn off Microsoft Defender Antivirus”
    • Double-click it
    • Select “Enabled” (yes, that’s correct)
    • Apply and OK
  4. Disable additional components:

    • Real-time protection → Disable monitoring
    • Windows Defender Cloud Protection → Deactivate
    • Automatic sample submission → Disable

Note: Don’t have the gpedit option in Windows 11 Home?

No worries, I have a solution below.

Method 2: Disable Windows Defender via System Registry

The DisableAntiSpyware registry key is your secret weapon.

It works on EVERY version of Windows, including Windows 11 Home without gpedit.

Regedit DisableAntiSpyware Windows 11 Instructions

  1. First, disable Tamper Protection:

    • Open Windows Security
    • Virus & threat protection
    • Manage settings
    • Tamper Protection → Toggle to “Off”
  2. Open Registry Editor:

    Windows + R → regedit → Enter
  3. Navigate to the key:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
  4. Create a DWORD value:

    • Right-click → New → DWORD (32-bit) Value
    • Name it: DisableAntiSpyware
    • Set the value to: 1
  5. Add a key for Real-Time Protection:

    HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender\Real-Time Protection
    • Create DWORD: DisableRealtimeMonitoring
    • Value: 1
  6. Restart your system

Pro tip: Back up your registry before making changes (File → Export).

Method 3: Defender Control Program to Disable Windows Defender

Sordum’s Defender Control—this is the easiest method.

Defender Control v2.1 Instructions

  1. Download Defender Control from the official Sordum website
  2. Run as administrator
  3. Click “Disable Windows Defender”
  4. Done!

The program automatically:

  • Modifies the registry
  • Disables services
  • Blocks Defender Scheduled Scan
  • Deactivates Controlled Folder Access

Want to restore it? Click “Enable Windows Defender.”

Method 4: Command Prompt to Disable Windows Defender

For terminal enthusiasts—disable Windows Defender via cmd as administrator.

PowerShell Commands (run as admin)

# Disable Real-Time Protection
Set-MpPreference -DisableRealtimeMonitoring $true

# Disable cloud protection
Set-MpPreference -DisableCloudProtection $true

# Disable automatic samples
Set-MpPreference -SubmitSamplesConsent 2

# Disable all scans
Set-MpPreference -DisableScheduledScanning $true

Note: These commands work temporarily.

Windows will restore settings after restart unless you block via registry.

Method 5: Autoruns to Disable Microsoft Defender

Autoruns from Microsoft is a powerful tool for advanced users.

How to Use

  1. Download Autoruns from Microsoft Sysinternals

  2. Run as administrator

  3. Go to the “Services” tab

  4. Uncheck:

    • WinDefend
    • WdNisSvc
    • WdFilter
  5. Go to the “Scheduled Tasks” tab

  6. Disable all Windows Defender tasks

This method is for those who want complete control.

How to Temporarily Disable Real-Time Protection in Windows 11

Sometimes you just need to disable background scanning for a moment.

Quick Method

  1. Windows + I → Privacy & security
  2. Windows Security
  3. Virus & threat protection
  4. Manage settings
  5. Toggle “Real-time protection”

Defender will disable for 15 minutes or until restart.

Perfect when Windows Defender is blocking program installation temporarily.

Disabling Windows Defender for Specific Use Cases

Disabling Defender for Gaming Performance

Gamers know the problem—Windows Defender high CPU usage is a must-fix.

Solution:

  1. Add your games folder to exclusions
  2. Disable background scanning while gaming
  3. Use Game Mode in Windows 11

Defender Dev Drive Protection for Development

Developers need freedom.

What to do:

  • Add project folders to exclusions
  • Disable Controlled Folder Access separately
  • Configure Dev Drive in Windows 11

How to Permanently Disable Windows Defender for Business

Using enterprise solutions?

Options:

  • Group Policy for the entire domain
  • SCCM/Intune policies
  • PowerShell scripts with Task Scheduler

Installing an Alternative Antivirus

Which antivirus program instead of Windows Defender?

Norton Antivirus Installation and Defender Disabling

Norton automatically deactivates Defender.

You don’t need to do anything—the conflict between Windows Defender and another antivirus is resolved automatically.

Kaspersky Conflict with Windows Defender Solution

Kaspersky disables Defender during installation.

If Defender is still running despite being disabled:

  1. Uninstall Kaspersky
  2. Disable Defender via registry method
  3. Reinstall Kaspersky

Is It Worth Disabling Windows Defender for Avast?

Avast is a good free alternative.

Windows Defender vs Bitdefender—which to disable?

Bitdefender wins in tests, but Defender is sufficient for most users.

McAfee Requires Disabling Windows Defender Instructions

McAfee sometimes has trouble with automatic disabling.

Use the registry method before installation.

Troubleshooting

Defender Turns Itself Back On After Restart: How to Fix

How long does Defender stay disabled in Windows 11?

By default—15 minutes or until restart.

Permanent solution:

  1. Check that Tamper Protection is disabled
  2. Verify registry keys
  3. Temporarily disable Windows Update
  4. Use Defender Control for certainty

What to Do When Defender Blocks a Safe Program

Instead of disabling completely:

  1. Add an exclusion:

    • Windows Security
    • Exclusions
    • Add folder/file/process
  2. Disable only for a specific folder

  3. Temporarily disable Real-Time Protection

Disabling Windows Defender Firewall and Network Protection

Sometimes you need to disable the firewall too.

Instructions

  1. Control Panel → System and Security
  2. Windows Defender Firewall
  3. Turn Windows Defender Firewall on or off
  4. Disable for both private and public networks

Note: This is a separate function from the antivirus!

How to Restore Windows Defender After Disabling

Changed your mind?

How to Restore

  1. Registry method: Change DisableAntiSpyware to 0
  2. GPO method: Set to “Not configured”
  3. Defender Control: Click “Enable”
  4. Uninstall alternative antivirus

The system will automatically reactivate all components.

System Version-Specific Methods

Windows 10 22H2: Latest Method to Disable Defender

In the latest version, Microsoft has made the process harder.

You must:

  1. First disable Tamper Protection
  2. Use the registry method
  3. Block security updates

Windows Server 2022: Deactivating Microsoft Defender

On server, use:

Uninstall-WindowsFeature -Name Windows-Defender

This is a permanent solution for server environments.

Disabling Windows Defender Notifications in Action Center

Tired of red alerts?

Disable Notifications

  1. Settings → System → Notifications
  2. Turn off “Security and Maintenance”
  3. Alternatively: Group Policy Editor
    • User Configuration → Administrative Templates
    • Start Menu and Taskbar
    • “Remove Security and Maintenance icon”

FAQ: Frequently Asked Questions

Why does Windows Defender turn on automatically?

It’s Microsoft’s protection against malware.

The system checks every few minutes if you have active protection.

Is it safe to disable Windows Defender?

Without an alternative—no.

With another antivirus—yes.

Risks of disabling Windows Defender:

  • No ransomware protection
  • Vulnerability to trojans
  • No scanning of emails and downloads

When is it worth disabling Microsoft Defender Antivirus?

  • Installing specialized software
  • Working with penetration testing tools
  • You have a better antivirus
  • Testing your own applications

Where are Tamper Protection settings located?

Windows Security → Virus & threat protection → Manage settings → At the very bottom

Can you disable Windows Defender without admin rights?

You cannot.

You need admin rights for all methods.

Alternative security after disabling Defender?

Free:

  • Avast Free
  • AVG Free
  • Avira Free

Paid:

  • Bitdefender Total Security
  • Norton 360
  • ESET Internet Security

Summary

How to disable Microsoft Defender Antivirus in 2024—you now have complete knowledge.

The easiest way is to use Defender Control—one click and you’re done.

For Windows Pro, I recommend the Group Policy Editor.

For Home—registry modification.

Remember about security—always have some form of protection.

How to permanently disable Windows Defender in Windows 11 2024 is no longer a mystery to you.