Windows errors

Windows Security / Defender shows an error or won't turn on

Opening Windows Security shows an error message, a service that won't start, or real-time protection that's stuck off and can't be re-enabled through the normal toggle.

Difficulty
Moderate
Time
30–60 minutes
DIY cost
$0
Pro cost
$60–$120

Symptoms

  • Windows Security app shows a warning icon or error banner
  • Real-time protection toggle won't switch on, or reverts to off
  • A specific error code or message is shown within the app
  • May follow installing/uninstalling third-party antivirus software

Likely causes

  • CommonLeftover conflict from a previously installed third-party antivirusIncompletely removed security software often leaves Windows Defender disabled or conflicted.
  • CommonA required Windows service is stopped or disabledWindows Security depends on several background services that can get disabled by mistake or by other software.
  • PossibleGroup Policy or registry setting disabling DefenderCertain settings, sometimes left over from IT management tools or manual tweaks, can lock Defender off.
  • PossibleMalware specifically disabling security softwareSome malicious software disables built-in protection as one of its first actions.
  • Less commonCorrupted Windows Security app filesDamage to the app itself, separate from the underlying protection engine, can cause display errors.

What to do

  1. If you previously installed third-party antivirus software, use its official uninstaller/removal tool (many vendors provide a dedicated cleanup tool) to ensure it's fully removed, then restart.
  2. Open Services (search 'services.msc') and check that 'Windows Defender Antivirus Service' and related Security Center services are set to running/automatic.
  3. Check Group Policy settings if applicable (search 'gpedit.msc,' note this isn't available on Home editions) under Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus, ensuring nothing is set to disable it.
  4. Run 'sfc /scannow' to repair any corrupted system files related to the Security app.
  5. Run a scan using a reputable one-time malware scanner (like Microsoft Safety Scanner, downloaded directly from Microsoft) in case malware is actively blocking Defender.
  6. Restart the computer after each change, since some Security-related services need a fresh boot to re-initialize properly.
  7. If Defender still won't enable and no third-party antivirus is providing protection instead, consider installing a reputable third-party antivirus temporarily while resolving the underlying issue, so the PC isn't left unprotected.

When to call a pro

If Defender still won't enable after removing conflicting software and checking services, a technician can check for malware or Group Policy issues actively blocking it.

Safety

Generally low risk

Generally low risk for a careful person. Stop if anything looks different from what this guide describes.

Related guides

Operator provides AI-generated troubleshooting information. It can be wrong. For safety-critical, electrical, gas, structural, medical, automotive safety, or other high-risk problems, consult a qualified professional.