You can disable Windows Defender, but you should understand why it exists first

Windows Defender is antivirus software built into Windows 10 and Windows 11. It runs in the background to watch for malware — software designed to damage your computer or steal your information. You can turn it off, but doing so leaves your computer unprotected against many real threats unless you install something else in its place.

The reason people want to disable it is usually one of three: it's slowing down their computer, it's blocking a program they want to use, or they plan to install different antivirus software instead. Each situation has a different answer, and disabling Defender without a replacement is the riskiest choice.

Key Takeaways

  • You can temporarily turn off Windows Defender's real-time protection through Settings, but it will turn back on after a restart.
  • Permanently disabling it requires editing the Windows Registry or Group Policy, and leaves your computer vulnerable unless you install replacement antivirus software first.
  • If Defender is slowing your computer, adjusting its scan schedule or excluding certain folders is usually faster and safer than removing it entirely.
  • If Defender is blocking a program you trust, you can add that program to the exclusion list instead of disabling the whole system.
  • Windows will nag you repeatedly if antivirus protection is off, and some Windows updates may re-enable Defender without warning.

Temporarily turning off real-time protection

The quickest way to disable Windows Defender is through the Settings app, and the change lasts until your next restart. Open Settings, go to Privacy & security, then select Windows Security. Click Virus & threat protection, then Manage settings. Toggle off Real-time protection.

Windows will ask you to confirm. Click Yes. The protection stops immediately, but only for that session. When you restart your computer, Defender turns back on automatically. This method is useful if you need to install a program that Defender keeps blocking, or if you want to test whether Defender is causing a specific problem without making a permanent change.

Permanently disabling Defender through Group Policy

If you have Windows Pro, Enterprise, or Education edition, you can use Group Policy to disable Defender permanently. Press Windows key + R, type gpedit.msc, and press Enter. Navigate to Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus. Find the setting called Turn off Microsoft Defender Antivirus and double-click it.

Select Enabled, then click Apply and OK. Restart your computer. Defender will stay off after the restart. This method is permanent until you reverse it by setting that same policy back to Not Configured.

Windows Home edition does not include Group Policy, so this method will not work on that version. If you have Home edition, you will need to use the Registry method instead.

Permanently disabling Defender through the Registry

The Registry is Windows's database of settings. Editing it incorrectly can break your system, so back up your computer first or create a restore point. Press Windows key + R, type regedit, and press Enter. Click Yes when Windows asks for permission.

Navigate to HKEY_LOCAL_MACHINE > SOFTWARE > Policies > Microsoft > Windows Defender. If the Windows Defender folder does not exist, right-click on Windows, select New > Key, and name it Windows Defender. Right-click in the empty space on the right side, select New > DWORD (32-bit) Value, and name it DisableAntiSpyware. Double-click the new entry and set the value to 1. Click OK and restart your computer.

Defender will remain off after the restart. To turn it back on, change that value back to 0 or delete the entry entirely.

What to do if you want to disable Defender but keep protection

If you are installing different antivirus software, install the replacement first, then disable Defender. Most third-party antivirus programs (Norton, McAfee, Kaspersky, Bitdefender, Avast) will automatically disable Defender when they start, so you may not need to do anything manually. Check your new antivirus software's settings to confirm it is running.

If you are disabling Defender because it is slowing your computer down, consider adjusting it instead of removing it. Open Windows Security, go to Virus & threat protection > Manage settings, and scroll down to Exclusions. Add folders or file types that you know are safe — for example, a game folder or a work directory. You can also change when Defender runs its full scans by going to Virus & threat protection > Scan options and selecting Quick scan instead of Full scan, or scheduling scans for times when you are not using your computer.

If Defender keeps turning back on

Windows updates sometimes re-enable Defender without asking. If you have disabled it and it keeps coming back on, check for Windows updates. Press Windows key + I to open Settings, go to Update & Security (or System > About on newer versions), and click Check for updates. Install any available updates and restart.

You will also see repeated notifications in the system tray saying your computer is not protected. These notifications are real — your computer genuinely is unprotected if Defender is off and you have no other antivirus software running. Windows will not let you ignore these warnings permanently. If the warnings are annoying you, that is a sign you should either turn Defender back on or install replacement antivirus software.

When you should not disable Defender

Do not disable Defender if you do not have another antivirus program ready to install. An unprotected computer can pick up malware from downloads, email attachments, or compromised websites, and you may not notice until the damage is done.

Do not disable Defender just because a website or program tells you to. Scammers sometimes claim that Defender is fake or that it is blocking their "tool" — this is a common social engineering tactic. If a website asks you to turn off antivirus protection, that is a warning sign that the website itself may be dangerous.

Frequently Asked Questions

Will disabling Defender speed up my computer?

Possibly, but usually not by much. Defender uses some system resources, but modern computers handle it easily. If your computer is slow, the problem is more likely a full hard drive, too many startup programs, or insufficient RAM. Try adjusting Defender's scan schedule or excluding certain folders before disabling it entirely.

Can I disable Defender just for one program?

Yes. Instead of disabling Defender completely, add the program to the exclusion list. Open Windows Security, go to Virus & threat protection > Manage settings > Exclusions, and add the program's folder. Defender will skip scanning that folder while protecting the rest of your computer.

What happens if I disable Defender and then get malware?

Your computer will not automatically detect or remove the malware. You would need to manually scan with a different antivirus program, or use a bootable antivirus tool to clean the infection. Prevention is much easier than cleanup, which is why having active antivirus protection is important.

Does disabling Defender affect Windows updates?

No. Windows updates will still install normally. However, Windows may re-enable Defender during a major update, and you will see persistent notifications that your computer is unprotected.

Can I disable Defender on Windows Home edition?

Yes, but only through the Registry method described above. Windows Home does not include Group Policy, so that option is not available. The Registry method works on all Windows editions.