How to disable Windows Defender Antivirus using Group Policy
On Windows 10 Pro, it's possible to use the Group Policy Editor to disable the Windows Defender Antivirus permanently.
- Use the Windows key + R keyboard shortcut to open the Run command.
- Type gpedit.msc and click OK to open the Local Group Policy Editor.
-
Browse the following path:
Computer Configuration > Administrative Templates > Windows Components > Windows Defender Antivirus
- On the right side, double-click the Turn off Windows Defender Antivirus policy.
- Select the Enabled option.
- Click Apply.
- Click OK.
-
Browse the following path:
Computer Configuration > Administrative Templates > Windows Components > Windows Defender Antivirus > Real-time Protection
-
On the right side, double-click the Turn on behavior monitoring policy.
- Select the Disabled option.
- Click Apply.
-
Click OK.
-
On "Real-time Protection," double-click the Monitor file and program activity on your computer policy.
- Select the Disabled option.
- Click Apply.
-
Click OK.
- On "Real-time Protection," double-click the Turn on process scanning whenever real-time protection is enabled policy.
- Select the Disabled option.
- Click Apply.
-
Click OK.
- On "Real-time Protection," double-click the Turn on behavior monitoring policy.
- Select the Disabled option.
- Click Apply.
-
Click OK.
- Restart your computer.
Once you've completed the steps, Windows Defender Antivirus will no longer scan and detect malware on your device, even after restarting your computer.
At any time, you can enable the Windows Defender Antivirus using the same steps, but on step No. 5, 10, and 14, make sure to select the Not Configured option. Then just restart your device to apply the changes.
How to disable Windows Defender Antivirus using Registry
The Local Group Policy Editor is not available on Windows 10 Home, but you can still achieve the same results changing the Registry settings.
Warning: This is a friendly reminder that editing the registry is risky, and it can cause irreversible damage to your installation if you don't do it correctly. It's recommended to make a full backup of your PC before proceeding.
- Use the Windows key + R keyboard shortcut to open the Run command.
- Type regedit, and click OK to open the Registry.
-
Browse the following path:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
-
Right-click on the Windows Defender (folder) key, select New, and click on DWORD (32-bit) Value.
- Name the key DisableAntiSpyware and press Enter.
- Double-click the newly created key and set the value from 0 to 1.
-
Click OK.
- Right-click on the Windows Defender (folder) key, select New, and click on Key.
-
Name the key Real-Time Protection and press Enter.
- Right-click on the Real-Time Protection (folder) key, select New, and click on DWORD (32-bit) Value.
- Name the key DisableBehaviorMonitoring and press Enter.
- Double-click the newly created key and set the value from 0 to 1.
-
Click OK.
- Right-click on the Real-Time Protection (folder) key, select New, and click on DWORD (32-bit) Value.
- Name the key DisableOnAccessProtection and press Enter.
- Double-click the newly created key and set the value from 0 to 1.
-
Click OK.
- Right-click on the Real-Time Protection (folder) key, select New, and click on DWORD (32-bit) Value.
- Name the key DisableScanOnRealtimeEnable and press Enter.
- Double-click the newly created key and set the value from 0 to 1.
-
Click OK.
After completing the steps, simply restart your computer to disable the Windows Defender Antivirus permanently.
If you change your mind, you can always revert the changes using the same instructions, but on step No. 3, right-click the DisableAntiSpyware key, and select Delete. Then inside the Windows Defender (folder) key, right-click the Real-Time Protection (folder) key and select Delete to remove key and its content. Finally, restart your device to complete reverting the changes.
How to disable Windows Defender Antivirus using Security Center
Alternatively, if you're installing a piece of software that requires deactivating the antivirus to install correctly, or you simply want to disable the Windows 10 built-in antivirus temporarily, you can use the following steps:
- Open Windows Defender Security Center.
- Click on Virus & threat protection.
-
Click the Virus & threat protection settings option.
-
Turn off the Real-time protection toggle switch.
After completing the steps, Windows Defender Antivirus will be disabled making it unable to monitor and stop malware from taking over your device. However, this is a temporary solution, eventually, the antivirus will re-activate automatically after you restart your device.
Wrapping things up
While there could be scenarios where you may need to disable the antivirus, it's never recommended to have your device without malware protection.
If you're trying to get rid of Windows Defender Antivirus because you prefer another security software, you should know that the built-in antivirus will disable itself automatically during the installation of third-party security software.
It's should also be noted that the shield icon will continue to appear in the notification area of the Taskbar because it's the Windows Defender Security Center icon, not merely dedicated to the antivirus.
In the case you don't like the default anti-malware solution, here are a few alternatives that won't cost you a penny for basic protection