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

**Code:** `0x800704EC` · **Category:** Windows · **Seen on:** Windows

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

## 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?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/windows/0x800704ec-blocked-by-group-policy)
