sodcalculator

10 Tech How-To

How to Enable Windows Defender: Step-by-Step Guide

Guide 10-52019 · Updated · Step by step

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

  1. Click the Start button (Windows logo) and type Windows Security. Press Enter to open the app.
  2. In the left sidebar, click Virus & threat protection.
  3. Under the Virus & threat protection settings section, click Manage settings.
  4. Toggle Real-time protection to On. If it’s already on, Defender is active.
  5. Also ensure Cloud-delivered protection and Automatic sample submission are turned on for full protection.
  6. 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)

  1. Press Windows + I to open Settings.
  2. Go to Privacy & security (Windows 11) or Update & Security (Windows 10).
  3. Click Windows Security (Windows 11) or Windows Security in the left pane (Windows 10).
  4. Click Open Windows Security button.
  5. Follow Method 1 steps from there.

Method 3: Turn On Defender via PowerShell (If the Toggle is Grayed Out)

  1. Right-click the Start button and select Windows PowerShell (Admin) or Terminal (Admin).
  2. If a User Account Control prompt appears, click Yes.
  3. Type the following command and press Enter:
    Set-MpPreference -DisableRealtimeMonitoring $false
  4. Wait for the command to complete. You should see no error message.
  5. Close PowerShell and check Windows Security – Real-time protection should now be on.

Method 4: Turn On Defender via Group Policy (Professional/Enterprise Editions)

  1. Press Windows + R, type gpedit.msc, and press Enter.
  2. Navigate to Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus.
  3. Double-click Turn off Microsoft Defender Antivirus.
  4. Set it to Not Configured or Disabled, then click OK.
  5. Close the Group Policy Editor and restart your PC.

Method 5: Turn On Defender via Registry (If Other Methods Fail)

  1. Press Windows + R, type regedit, and press Enter.
  2. Navigate to: HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
  3. If you see a value named DisableAntiSpyware, double-click it and set its value to 0.
  4. 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.
  5. 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 DisableAntiSpyware under 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

The whole Tech How-To bed →