0x800704ec
Fix Windows Defender Blocked by Group Policy
Windows Defender may be disabled due to group policy settings, preventing real-time protection and updates. This guide explains how to identify and resolve policy conflicts to restore Defender functionality.
Symptoms
- Windows Defender shows 'This app is blocked by group policy' or error code 0x800704ec.
- Real-time protection cannot be turned on.
- Windows Security app displays 'Your IT administrator has limited access' or similar messages.
- Defender updates fail or are disabled.
Root Causes
- Group policy settings (local or domain) that explicitly disable Windows Defender.
- Registry modifications from third-party security software or malware.
- Corrupted policy files or conflicts between multiple policies.
- Windows Defender itself may have been disabled via Group Policy Editor (gpedit.msc).
Step-by-Step Fix
- Press Win + R, type
gpedit.msc, and press Enter. - Navigate 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 OK.
- Also check
Computer Configuration > Administrative Templates > Windows Components > Windows Securityand ensure Turn off Windows Security is Not Configured. - Open Command Prompt as Administrator and run
gpupdate /forceto refresh policies. - Restart the computer.
- Open Windows Security and verify Defender is enabled.
Alternative Fixes
Registry Method
- Open Regedit as Administrator.
- Navigate to
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender. - Delete the DisableAntiSpyware DWORD value if present.
- Also check
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Defenderand delete DisableAntiSpyware there. - Restart.
Reset Group Policy
secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verboseRun as Admin, then restart.
Prevention
- Avoid installing multiple antivirus programs simultaneously.
- Regularly scan for malware that may alter policies.
- Keep Windows updated to prevent policy corruption.
- If using domain policies, contact your IT administrator to review security settings.
Additional Notes
If the issue persists, check for third-party security software that may have disabled Defender. Uninstall such programs and re-enable Defender via Windows Security settings. For enterprise environments, domain group policies may override local settings—consult with IT support.
Always back up the registry before making changes. Use System Restore as a safety measure.
Was this solution helpful?