Windows Defender, now known as Microsoft Defender Antivirus, is a built-in antivirus program in Windows 10 and 11. While it provides robust protection against malware and other threats, there might be instances where you need to turn it off temporarily. Whether you’re installing another antivirus program or troubleshooting an issue, here’s a step-by-step guide on how to turn off Windows Defender.
Important Note (*)
Before turning off Windows Defender, ensure you have another security solution in place. Disabling your antivirus without a backup can leave your computer vulnerable to threats.
Method 1: Using Windows Security
Open Windows Security:
- Press
Windows Key + Ito open Settings.
- Go to
Update & Securityand selectWindows Securityfrom the left-hand menu.

- Go to
- Press
Access Virus & Threat Protection:
- Click on
Virus & threat protectionunder theProtection areassection.
- Click on
Manage Settings:
- Under
Virus & threat protection settings, click onManage settings.
- Under
Turn Off Real-time Protection:
- Toggle the switch under
Real-time protectiontoOff.
- Toggle the switch under
This method temporarily disables Windows Defender until the next restart or until you manually turn it back on.
Method 2: Using Group Policy (For Windows 10 Pro and Enterprise)
Open Local Group Policy Editor:
- Press
Windows Key + R, typegpedit.msc, and pressEnter.
- Press
Navigate to Windows Defender Settings:
- Go to
Computer Configuration->Administrative Templates->Windows Components->Microsoft Defender Antivirus.
- Go to
Disable Microsoft Defender Antivirus:
- Double-click on
Turn off Microsoft Defender Antivirus.
- Select
Enabledand clickApply, thenOK.
- Double-click on
Restart Your Computer:
- Restart your computer to apply the changes.
Method 3: Using Registry Editor (For Advanced Users)
Open Registry Editor:
- Press
Windows Key + R, typeregedit, and pressEnter.
- Press
Navigate to Windows Defender Registry Key:
- Go to
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender.
- Go to
Create a New DWORD:
- Right-click on
Windows Defender, selectNew, thenDWORD (32-bit) Value. - Name it
DisableAntiSpyware.
- Right-click on
Set the Value:
- Double-click on
DisableAntiSpywareand set the value to1.
- Double-click on
Restart Your Computer:
- Restart your computer to apply the changes.
Re-enabling Windows Defender
To re-enable Windows Defender, follow the same steps and toggle the settings back to their original state, disable the Group Policy setting, or delete the DisableAntiSpyware registry key.
Conclusion
Turning off Windows Defender is straightforward but should be done with caution. Always ensure you have another form of protection enabled to keep your system secure. If you’re switching to another antivirus program, the new software often automatically disables Windows Defender to prevent conflicts. Always keep your system protected against threats by using reliable security solutions.