How to Disable Windows Defender on Windows 11
Short answer: You probably do not need to. Nine times out of ten the real issue is Defender hogging CPU during a scan or blocking a file you trust, and both have targeted fixes that keep you protected. If you genuinely must disable it, toggle Real-time protection off for a temporary pause, or use Group Policy plus Tamper Protection off for a permanent one — but install another antivirus first.
You probably don’t need to disable it. I get asked this constantly and nine times out of ten the actual problem is Defender using too much CPU during a scan, or blocking a file the person knows is safe. Both of those have targeted fixes that don’t leave your machine unprotected.
For the CPU issue: MsMpEng.exe (Antimalware Service Executable) sitting at 20-40% CPU usually means a scheduled scan or real-time protection is scanning a large directory. Add exclusions for folders it doesn’t need to touch — dev environments, game libraries, virtual machine files. Windows Security, Virus & threat protection, Manage settings, scroll to Exclusions, Add an exclusion. Add your Steam library, your code projects folder, any VM disk images. I’ve seen Defender spend forty minutes scanning a 200GB game library for threats that will never exist there.
For the blocked file: Windows Security, Virus & threat protection, Protection history. Find the item, click it, choose Allow. Or submit it to Microsoft if you think it’s a false positive. Defender blocks cracked software and keygens aggressively — if that’s what you’re trying to run, I’m not going to tell you how, but a sandbox or VM is safer than turning off your antivirus.
Temporarily Disabling Real-Time Protection
Windows Security, Virus & threat protection, Manage settings, toggle off Real-time protection. It stays off until the next restart or until Windows turns it back on, which can happen in as little as fifteen minutes. This is by design — Microsoft doesn’t want you to forget you turned it off.
For a longer temporary disable, Group Policy works if you have Windows 11 Pro. Win+R, gpedit.msc, Computer Configuration, Administrative Templates, Windows Components, Microsoft Defender Antivirus, Turn off Microsoft Defender Antivirus, set to Enabled. Restart. This keeps it off until you set it back to Not Configured. Home edition doesn’t have Group Policy.
Registry method works on all editions: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender, create a DWORD called DisableAntiSpyware, set it to 1. Restart. Same effect as Group Policy. Set it to 0 or delete the value to re-enable.
Both of these will get overridden eventually by Windows Update or a feature update, which is actually a good safety net. If you forget about it for six months, Defender comes back.
Tamper Protection
Here’s where people get stuck. Even with Group Policy or the registry trick, Defender sometimes ignores the setting and stays running. That’s Tamper Protection. Windows Security, Virus & threat protection, Manage settings, scroll down to Tamper protection, toggle it off first. Then apply your Group Policy or registry change. Then restart. Without disabling Tamper Protection first, Windows just silently reverts your changes.
Why Not to Disable It Permanently
Defender in 2026 consistently scores 99-100% detection in independent testing from AV-TEST. It’s not the resource hog it was in 2018. It runs on all Windows machines, so every piece of malware targets Defender evasion first — and Microsoft patches those evasions fast because they have telemetry from hundreds of millions of machines.
If Defender is causing high CPU usage that exclusions don’t fix, or if you’re installing a different antivirus (Bitdefender, Kaspersky, ESET), Defender disables its real-time engine automatically when it detects another antivirus installed. You don’t need to manually disable it in that case — it steps aside on its own. If your main complaint is that Defender is slowing down your entire system, the exclusions approach is almost always enough.
Frequently Asked Questions
How do I temporarily disable Windows Defender?
Windows Security, Virus & threat protection, Manage settings, toggle off Real-time protection. It stays off until the next restart or until Windows automatically re-enables it, which can happen in as little as fifteen minutes. For a longer disable, use Group Policy (Pro edition) or registry edit — both stay off until you reverse them or a Windows Update reverts the change.
Why does Windows Defender keep turning itself back on?
Tamper Protection automatically reverts changes to Defender settings. Before using Group Policy or registry to disable Defender, you must first toggle off Tamper Protection in Windows Security settings. Without that step, Windows silently ignores your changes and re-enables Defender on restart.
Should I disable Windows Defender?
Probably not. In 2026, Defender scores 99-100% detection in independent AV-TEST evaluations. If your issue is CPU usage during scans, add folder exclusions instead — exclude dev environments, game libraries, and VM files. If you're installing a different antivirus, Defender disables its real-time engine automatically.
How do I stop Windows Defender from using so much CPU?
Add exclusions for large directories it doesn't need to scan: Windows Security, Virus & threat protection, Manage settings, Exclusions, Add an exclusion. Exclude game libraries, code project folders, VM disk images, and large media collections. Also reschedule full scans to off-hours using Task Scheduler.