Windows 11 Defender Keeps Turning Off: Fix It
In this article
If Windows 11 Defender (Microsoft Defender Antivirus) keeps turning off by itself, the usual cause is another security app taking over, a corrupted system setting, or a leftover group policy. The quickest fix is to check for third-party antivirus, then reset Defender via Windows Security or PowerShell. Below are the exact steps to stop it from turning off again.
What You'll Need
- Administrator access to your Windows 11 PC (you'll need to confirm UAC prompts).
- An internet connection (for downloading updates if needed).
- Optional: a USB drive if you need to reinstall Windows (only as a last resort).
Step-by-Step
- Check if another antivirus is installed. Open Settings > Apps > Installed apps. Look for any third-party security software (e.g., Norton, McAfee, Avast, Bitdefender). If you see one, uninstall it completely using its own uninstaller (usually found in the Start menu) or through Settings > Apps > Installed apps > select the app > Uninstall. Restart your PC after uninstalling.
- Turn on Defender manually. Open Windows Security (search for it in the Start menu). Go to Virus & threat protection > Manage settings. Make sure all toggles under “Real-time protection”, “Cloud-delivered protection”, and “Automatic sample submission” are turned on. If any toggle is grayed out or won't stay on, proceed to the next steps.
- Run the Windows Security troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters. Find “Windows Security” and click “Run”. Follow the prompts; this can fix common issues that cause Defender to turn off.
- Reset Defender via PowerShell. Right-click the Start button and select “Terminal (Admin)” or “Windows PowerShell (Admin)”. Type the following command and press Enter:
Set-MpPreference -DisableRealtimeMonitoring $false
Then also run:Start-Service WinDefend
Restart your PC. - Check Group Policy settings (Windows 11 Pro/Enterprise). Press Win + R, type
gpedit.msc, and press Enter. Navigate to Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus. Double-click “Turn off Microsoft Defender Antivirus”. Set it to “Not Configured” or “Disabled”. Click OK. Also check the subfolder “Real-time Protection” and ensure “Turn off real-time protection” is set to “Not Configured” or “Disabled”. - Check the Registry (if Group Policy isn't available). Press Win + R, type
regedit, and press Enter. Navigate toHKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender. If you see a value named “DisableAntiSpyware”, right-click it and delete it. Also check the subkeyReal-Time Protectionand delete any values like “DisableRealtimeMonitoring”. Restart your PC. - Run SFC and DISM. Open Command Prompt as administrator (search “cmd”, right-click, “Run as administrator”). Type
sfc /scannowand press Enter. Wait for it to finish. Then typeDISM /Online /Cleanup-Image /RestoreHealthand press Enter. Restart your PC. - Update Windows. Go to Settings > Windows Update > Check for updates. Install all pending updates, then restart.
- Perform a clean boot to isolate conflicts. Press Win + R, type
msconfig, and press Enter. Under the “Services” tab, check “Hide all Microsoft services”, then click “Disable all”. Under the “Startup” tab, click “Open Task Manager” and disable all startup items. Restart. If Defender stays on, re-enable services/startup items one by one to find the culprit. - If all else fails, repair install Windows. Download the Windows 11 Installation Assistant from Microsoft’s official site and run it. Choose “Upgrade this PC now” – this keeps your files and apps but repairs system files. This is a last resort and takes about an hour.
Common Mistakes
- Not uninstalling the old antivirus properly. Simply disabling a third-party antivirus isn’t enough; you must uninstall it completely. Use the vendor’s removal tool if available.
- Editing the registry incorrectly. Deleting the wrong key can break Windows. Always back up the registry before making changes (right-click the key > Export).
- Forgetting to restart after changes. Many Defender settings only take effect after a reboot.
- Assuming Group Policy is present on Home edition. Windows 11 Home doesn’t have gpedit.msc; use the registry method instead.
Tips
- Keep Windows and Defender definitions up to date – this prevents many issues.
- If you use a third-party antivirus, consider using the built-in “Periodic scanning” feature in Windows Security (under Virus & threat protection > Manage settings) to let Defender run alongside it.
- After fixing, create a system restore point (search “Create a restore point”) so you can revert if problems recur.
- If you’re in an organization, your IT policies may force Defender off – contact your admin.
Troubleshooting
If Defender still turns off after following all steps:
- Check if your Windows license is genuine – non-genuine copies often have Defender disabled.
- Run the Windows Update troubleshooter (Settings > System > Troubleshoot > Other troubleshooters > Windows Update).
- Check if any “Security” or “System” related services are disabled. Open Services (search “services.msc”), find “Windows Defender Antivirus Service”, and ensure its startup type is “Automatic” and the service is running.
- If you have a third-party security suite that you uninstalled, some remnants may still interfere. Use the vendor’s cleanup tool (e.g., McAfee Consumer Product Removal tool, Norton Removal Tool).
- If nothing works, use the “Reset this PC” feature (Settings > System > Recovery > Reset PC) – choose “Keep my files” to reinstall Windows without losing personal data. This is a last resort.
Frequently Asked Questions
Why does Windows Defender turn off automatically?
The most common reason is that another antivirus program is installed and Windows automatically disables Defender to avoid conflicts. It can also be due to corrupted system files, group policy settings, or a bug after an update.
Is it safe to use Windows Defender without third-party antivirus?
Yes, for most home users, Windows Defender is sufficient if you keep Windows updated and practice safe browsing habits. It provides real-time protection, firewall, and ransomware protection.
Can I have both Windows Defender and another antivirus running?
Windows automatically turns off Defender when another real-time antivirus is active. You can enable “Periodic scanning” in Windows Security to get occasional scans alongside your main antivirus, but real-time protection will stay off.
What if I don’t have gpedit.msc on Windows 11 Home?
Windows 11 Home doesn’t include the Group Policy Editor. Use the registry method (step 6) instead to check for policy-related settings.
Will resetting Windows delete my files?
Using “Reset this PC” with the “Keep my files” option will remove installed apps and settings but keep your personal files. However, it’s still wise to back up important data before doing it.
How do I know if Defender is actually off?
Open Windows Security > Virus & threat protection. If you see a red banner saying “No active antivirus” or the real-time protection toggle is off, Defender is not running.