How to Disable Windows Defender
Windows Defender is a built-in antivirus tool designed to protect your computer from malware. However, there are situations when you might need to disable it, such as if you prefer using a third-party antivirus or need to temporarily pause its protection. In this guide, we'll show you how to completely disable Windows Defender.
Step 1: Disable via Security Settings
- Click Start and go to Settings (gear icon).
- Select Update & Security, then go to Windows Security.
- Open the Virus & Threat Protection tab.
- Click on Manage settings under Virus & threat protection settings.
- Turn off Real-time protection and Cloud-delivered protection.
This will temporarily disable Windows Defender. However, it may turn back on after a restart.
Step 2: Disable via Registry Editor (Permanent Method)
If you want to completely disable Windows Defender, you can modify the Windows Registry. Be cautious, as incorrect changes can cause system issues.
- Press Win + R, type
regedit
, and hit Enter. - Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
. - Right-click on the empty space, select New → DWORD (32-bit) Value.
- Name it
DisableAntiSpyware
and set its value to1
. - Restart your computer to apply the changes.
Step 3: Disable via Group Policy Editor
This method is only available on Windows Pro and Enterprise editions.
- Press Win + R, type
gpedit.msc
, and press Enter. - Go to Computer Configuration → Administrative Templates → Windows Components → Microsoft Defender Antivirus.
- Double-click on Turn off Microsoft Defender Antivirus.
- Select Enabled to disable Defender.
- Click Apply and OK, then restart your computer.
Step 4: Using Command Prompt or PowerShell
If you prefer using the command line, follow these instructions:
Set-MpPreference -DisableRealtimeMonitoring $true
Open PowerShell as an administrator and execute this command to disable real-time protection.