Struggling with Windows Defender turning itself back on every time you disable it? You’re definitely not alone. This is one of the most frustrating issues Windows 11 users face, especially when you need to temporarily turn off real-time protection to install trusted software or troubleshoot system conflicts.
In this guide, I’ll walk you through why Windows Defender keeps re-enabling on Windows 11, what causes real-time protection to turn back on automatically, and — most importantly — seven proven methods to fix it permanently.

Why Does Windows Defender Keep Turning Itself Back On?
Before we dive into the fixes, let’s quickly understand what’s happening behind the scenes.
Microsoft has made Windows Defender (now called Microsoft Defender Antivirus) increasingly aggressive in recent Windows 11 updates. The company wants to ensure your PC stays protected, which is great — until it starts interfering with legitimate apps or hogging system resources.
Here are the main reasons Defender keeps re-enabling itself:
- Tamper Protection is turned on by default in newer Windows 11 builds. This security feature actively prevents apps, scripts, or even you from permanently disabling Defender.
- Windows Updates can reset your security settings, causing Defender to re-enable after a system update.
- No third-party antivirus is detected, so Windows assumes it needs to keep Defender running.
- WMI Repository corruption can cause incorrect status reporting, making Defender think it should stay active.
Now let’s fix this step by step.
How to Stop Windows Defender From Re-Enabling (7 Methods)
Method 1: Disable Windows Defender Through Registry Editor
The Registry Editor method has been a go-to fix for years, though Microsoft has gradually limited its effectiveness in newer Windows versions. Still worth trying.

Important: Always create a System Restore Point before editing the Registry. One wrong change can cause serious system issues.
- Press Win + R, type
regedit, and hit Enter - Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
- Right-click in the right pane → New > DWORD (32-bit) Value
- Name it
DisableAntiSpyware - Double-click it and set Value data to
1 - Click OK and restart your computer
Note: On newer Windows 11 builds with updated Defender platform versions, this key may be ignored — especially if Tamper Protection is active. If this doesn’t work, move to Method 3 first.
Method 2: Disable Defender Using Group Policy Editor
If you’re running Windows 11 Pro, Enterprise, or Education, the Group Policy Editor gives you more control over system-level security settings.

- Press Win + R, type
gpedit.msc, and press Enter - Go to:
Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus
- Double-click Turn off Microsoft Defender Antivirus
- Select Enabled (yes, “Enabled” means the policy to turn it off is active)
- Click Apply > OK
- Restart your PC
Method 3: Turn Off Tamper Protection (Critical Step)
This is the biggest game-changer and the reason most other methods fail. Tamper Protection actively blocks changes to Defender settings and can override Registry and Group Policy modifications.
Here’s how to disable it:
- Open Settings (Win + I)
- Go to Privacy & security > Windows Security
- Click Virus & threat protection
- Under Virus & threat protection settings, click Manage settings
- Scroll down to Tamper Protection and toggle it Off
Once Tamper Protection is disabled, go back and try Method 1 or 2 again. In most cases, this combination will finally stop Defender from re-enabling.
Security tip: Turn Tamper Protection back on after you’re done with whatever task required disabling Defender. It’s there to protect you from malware that tries to disable your antivirus.
Method 4: Add Apps or Folders to Defender Exclusions
Sometimes you don’t actually need to turn off Defender completely — you just need it to stop blocking one specific app, installer, or folder.

- Open Settings > Privacy & security > Windows Security
- Click Virus & threat protection > Manage settings
- Scroll to Exclusions and click Add or remove exclusions
- Click Add an exclusion and choose:
- File — for a specific executable or installer
- Folder — for an entire directory
- File type or Process — for broader exclusions
Only exclude files and folders you completely trust. Excluded items won’t be scanned, which could leave you vulnerable if you accidentally exclude something malicious.
Method 5: Fix When Defender Doesn’t Detect Third-Party Antivirus
If you’ve installed another antivirus but Windows Defender refuses to step aside, the issue might be a corrupted WMI reporting component.
Fix it by re-registering WMIUTILS.DLL:
- Press Win + X and select Command Prompt (Admin) or Terminal (Admin)
- Run:
regsvr32 /u WMIUTILS.DLL
- Restart your computer
- Run:
regsvr32 WMIUTILS.DLL
- Restart again
This DLL tells Windows whether a third-party security program is installed. If it’s not working correctly, Defender won’t know it should disable itself.
Method 6: Repair the WMI Repository
Corrupted WMI (Windows Management Instrumentation) data can cause all sorts of security reporting issues, including Defender refusing to stay disabled.
To repair the WMI Repository:
- Open Command Prompt as Administrator
- Run:
winmgmt /salvagerepository
- Wait for the process to complete
- Restart your system
This rebuilds the WMI database and often resolves stubborn Defender behavior.
Method 7: Install a Compatible Third-Party Antivirus
This is actually the most reliable and Microsoft-approved way to stop Windows Defender from running.

Microsoft Defender is designed to automatically disable itself when it detects another active antivirus program. This prevents conflicts between multiple security engines scanning the same files simultaneously.
Popular options include:
- Norton 360
- Bitdefender
- Kaspersky
- Avast Free Antivirus
- Malwarebytes (works alongside Defender in some configurations)
Once installed and active, Windows Security should automatically turn off Defender’s real-time protection. If it doesn’t, try Methods 5 and 6 first to fix WMI detection issues.
Frequently Asked Questions
Can I permanently turn off Windows Defender in Windows 11?
Honestly? It’s getting harder with every update. Microsoft has intentionally made permanent disabling difficult because leaving your PC unprotected creates security risks. The most reliable approach is installing another antivirus, which triggers Windows to deactivate Defender automatically.
Why does real-time protection turn back on after restart?
Usually because Tamper Protection is enabled, or a Windows Update reset your security settings. Updates are designed to restore critical security features if they detect they’ve been turned off.
Is it safe to disable Tamper Protection?
Temporarily? Yes, if you know what you’re doing. Permanently? Not recommended. Tamper Protection prevents malware and unauthorized apps from disabling your antivirus. Just turn it back on when you’re finished.
Final Thoughts
Dealing with Windows Defender that keeps re-enabling itself is annoying, but it’s not impossible to fix. Start with the simplest solutions — restarting your PC and checking Tamper Protection — then work your way through the Registry, Group Policy, and WMI repairs if needed.
If all else fails, installing a reputable third-party antivirus is your best bet. It keeps your system protected while giving you the flexibility to use the security software you prefer.
Have you found another workaround that worked for you? Drop a comment below and help out fellow Windows users!
