Windows Defender (now called Microsoft Defender Antivirus) is built into Windows 10 and 11, providing real-time protection against malware, viruses, and other threats. This guide walks you through turning it on, whether it was disabled by you, another program, or a group policy. You’ll learn how to check its status, re-enable it, and fix common issues that prevent it from starting.
What You’ll Need
- A PC running Windows 10 or Windows 11
- Administrator account access (you’ll need to confirm UAC prompts)
- If using Windows 10, the Windows Security app (pre-installed)
Step-by-Step
Method 1: Turn On Defender via Windows Security App
- Click the Start button (Windows logo) and type Windows Security. Press Enter to open the app.
- In the left sidebar, click Virus & threat protection.
- Under the Virus & threat protection settings section, click Manage settings.
- Toggle Real-time protection to On. If it’s already on, Defender is active.
- Also ensure Cloud-delivered protection and Automatic sample submission are turned on for full protection.
- If you see a yellow or red warning icon, click it to see what needs attention and follow the prompts.
Method 2: Using Windows Settings (Windows 10/11)
- Press Windows + I to open Settings.
- Go to Privacy & security (Windows 11) or Update & Security (Windows 10).
- Click Windows Security (Windows 11) or Windows Security in the left pane (Windows 10).
- Click Open Windows Security button.
- Follow Method 1 steps from there.
Method 3: Turn On Defender via PowerShell (If the Toggle is Grayed Out)
- Right-click the Start button and select Windows PowerShell (Admin) or Terminal (Admin).
- If a User Account Control prompt appears, click Yes.
- Type the following command and press Enter:
Set-MpPreference -DisableRealtimeMonitoring $false - Wait for the command to complete. You should see no error message.
- Close PowerShell and check Windows Security – Real-time protection should now be on.
Method 4: Turn On Defender via Group Policy (Professional/Enterprise Editions)
- Press Windows + R, type
gpedit.msc, and press Enter. - Navigate to Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus.
- Double-click Turn off Microsoft Defender Antivirus.
- Set it to Not Configured or Disabled, then click OK.
- Close the Group Policy Editor and restart your PC.
Method 5: Turn On Defender via Registry (If Other Methods Fail)
- Press Windows + R, type
regedit, and press Enter. - Navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender - If you see a value named DisableAntiSpyware, double-click it and set its value to 0.
- If the value doesn’t exist, right-click in the right pane, select New > DWORD (32-bit) Value, name it DisableAntiSpyware, and set it to 0.
- Close the Registry Editor and restart your PC.
Common Mistakes
- Skipping a restart – Some changes only take effect after a reboot. Always restart if the toggle doesn’t turn on immediately.
- Using the wrong registry key – The key must be exactly
DisableAntiSpywareunder the Windows Defender policy key. Misspelling it will do nothing. - Assuming third-party antivirus is uninstalled – If you have another antivirus (like Norton or McAfee) still installed, Windows Defender will automatically turn off to avoid conflicts. You must uninstall the third-party software first.
- Checking the wrong toggle – Real-time protection is the main switch. Toggling “Tamper Protection” off first may be necessary if the real-time toggle is grayed out.
- Not running as administrator – PowerShell and Registry edits require admin rights. Without them, you’ll get access denied errors.
Tips
- Keep Tamper Protection on – it prevents malware from disabling Defender.
- Run a quick scan after enabling Defender to ensure everything is working.
- Update Windows regularly – Defender definitions update via Windows Update.
- If you use a third-party antivirus, consider using Windows Defender as a second opinion scanner (it can run alongside if you disable real-time protection of one).
- Use the Windows Security app’s Device security section to check if your device meets all security requirements.
Troubleshooting
Real-time protection toggle is grayed out
- Open PowerShell as admin and run
Set-MpPreference -DisableRealtimeMonitoring $false. - Check if a third-party antivirus is active. Uninstall it or disable its self-protection.
- Check Group Policy as described in Method 4.
- Check the registry as described in Method 5.
Windows Security shows a red or yellow icon
- Open Windows Security and click the icon to see the specific issue. It may be a missing update or a disabled service.
- Run the Windows Security troubleshooter: Settings > System > Troubleshoot > Other troubleshooters > Windows Security.
Defender won’t start at all
- Ensure the Windows Defender service is running: Press Windows + R, type
services.msc, find Windows Defender Antivirus Service, right-click and select Start if it’s stopped. - Run the System File Checker: Open Command Prompt as admin and type
sfc /scannow. - If the service is missing, you may need to repair Windows using the Windows Update or DISM tool.
Defender turns off after restart
- Check Group Policy and registry again – a policy might be re-applying.
- Check for malware that might be disabling it. Run a scan with a bootable rescue disk.
Frequently Asked Questions
Is Windows Defender free?
Yes, Windows Defender is built into Windows and is completely free. There are no subscription fees.
Can I use Windows Defender alongside another antivirus?
Windows Defender automatically turns off its real-time protection if another antivirus is active. You can run it as a second-opinion scanner, but not simultaneously for real-time protection.
Why is Windows Defender disabled on my PC?
It can be disabled by a third-party antivirus, a group policy, a registry edit, or occasionally by malware. The steps above help you re-enable it.
Does Windows Defender slow down my PC?
Generally, no. It runs efficiently in the background. You may notice a slight impact during scans, but it’s minimal.
How do I know if Windows Defender is on?
Open Windows Security and check the Virus & threat protection page. If you see a green checkmark, it’s on. The icon in the system tray also shows a shield with a checkmark.
What if I accidentally disabled Tamper Protection?
Turn it back on in Windows Security under Virus & threat protection settings. If it’s grayed out, you may need to restore it via PowerShell: Set-MpPreference -EnableControlledFolderAccess Enabled (this is for Controlled Folder Access; for Tamper Protection, use the GUI or reset Windows Security).
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Fix Text Cursor Turning White in Windows 11
- Force Quit Non-Responding Apps on Mac: 6 Ways
- Chromebook Not Charging? Fix It Fast
- iPhone Won’t Make Calls but Texts Work? Fixes
- Android to iPhone Hotspot: Connect & Fix Issues
- Chrome Image Decode Failed Error: Fixes That Work