How to Fix Windows Error 0x800704EC

Resolve Windows error 0x800704EC and clean suspicious leftovers or policy-related clutter with Kudu.

By Kudu Team

Fix this automatically with Kudu

Run a free system scan to detect and resolve this issue automatically — no manual steps required.

Download Kudu Free →

What Causes This?

Windows error 0x800704EC usually means a program or Windows feature has been blocked by Group Policy, security settings, or leftover entries from another antivirus tool. It often appears with Microsoft Defender, Windows Security, or when trying to start a protected Windows service. In many cases, the real cause is old security software that was removed incompletely and left behind policies, services, or registry entries that still disable Windows protection features.

Common Symptoms

  • Microsoft Defender says it is turned off by Group Policy
  • Windows Security will not open or shows restricted access
  • You see error code 0x800704EC when starting Defender or related services
  • Security features are disabled after uninstalling another antivirus program
  • Real-time protection cannot be turned on

How to Fix It Manually

  1. Restart your PC and check for third-party antivirus software

    • Press Ctrl+Shift+Esc to open Task Manager.
    • Look for antivirus tools such as Avast, AVG, Bitdefender, McAfee, Norton, or similar.
    • If one is installed and running, Windows may disable Defender automatically. Open Settings > Apps > Installed apps and uninstall any antivirus you no longer use.
    • Restart your PC after uninstalling it.
  2. Check if Defender is disabled in Local Group Policy

    • Press Windows + R, type gpedit.msc, and press Enter.
    • Go 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 Apply and OK.
    • Also check Real-time Protection under the same section and make sure related disable policies are set to Not Configured.
    • Restart your PC.
  3. Check the Registry if Group Policy Editor is not available

    • Press Windows + R, type regedit, and press Enter.
    • Go to:
      HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
    • In the right pane, look for values such as DisableAntiSpyware or DisableRealtimeMonitoring.
    • If they exist and are set to 1, right-click and delete them, or change the value to 0.
    • Close Registry Editor and restart your PC.
    • Be careful editing the registry. Only change the values listed above.
  4. Make sure required Windows services are running

    • Press Windows + R, type services.msc, and press Enter.
    • Find Security Center and Microsoft Defender Antivirus Service.
    • Double-click each service and make sure Startup type is set correctly and the service is not disabled.
    • If available, click Start to run the service.
    • If a service is missing or cannot start, that usually points to policy damage or interference from old security software.
  5. Repair damaged system files

    • Click Start, type cmd, then right-click Command Prompt and choose Run as administrator.
    • Run these commands one at a time:
      1. sfc /scannow
      2. DISM /Online /Cleanup-Image /RestoreHealth
    • Wait for both scans to finish, then restart your PC.
  6. Check Windows Security again

    • Open Start > Settings > Privacy & security > Windows Security.
    • Try opening Virus & threat protection.
    • If 0x800704EC is gone, turn Real-time protection back on if needed.

Fix It Automatically with Kudu

Kudu can scan for policy-based blocks, broken security settings, and leftover antivirus junk that commonly triggers error 0x800704EC. Instead of hunting through services, registry keys, and old software traces manually, Kudu helps remove the clutter and restore normal Windows behavior safely.

Download Kudu Free →

Fix this automatically with Kudu

Run a free system scan to detect and resolve this issue automatically — no manual steps required.

Download Kudu Free →