0x800704EC 🪟 Windows

0x800704EC: This program is blocked by group policy (Windows Defender)

Windows Security/Defender can’t start because another antivirus or a group policy has turned it off.

Seen on: Windows

Meaning

Installing third-party antivirus disables Defender by policy; uninstalling it badly leaves DisableAntiSpyware policies behind. Corporate GPOs can also block it.

Common causes

  • Third-party antivirus installed (or remnants)
  • DisableAntiSpyware/DisableRealtimeMonitoring policy set
  • Corporate group policy

⚡ Quick fix

  1. Remove leftover antivirus with its removal tool
  2. Delete the Defender policy keys
  3. Run gpupdate /force on domain machines

Detailed fix by platform

Windows

  1. powershell
    reg query "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender"
    reg delete "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /f

How to diagnose

  1. Policy — Defender policy keys
  2. AV — Other security software installed?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.