ACTIVE MALWARE WINDOWS TESTED: WINDOWS 10, WINDOWS XP, WINDOWS VISTA, WINDOWS 7, WINDOWS 8

How to fix
Error Code 0x800704ec when Turning
on Windows

Resolve Error Code 0x800704ec and get Windows Defender running smoothly again. Expert-tested solutions ensure your PC security is restored quickly.

How to Fix Error Code 0x800704ec when Turning On Windows Defender?
Quick Summary
Error severity
Medium
Est. time
10 minutes
Offer Fortect PC Suite
Start fix →
Ad · we may earn a commission
0 Comments
01

What causes How to Fix Error Code 0x800704ec when Turning On Windows Defender?

  • Installed anti-virus program
  • Faulty Group Policy settings
  • Corrupted system files
  • Malware presence
  • Third-party anti-virus interference
Offer Fortect PC Suite

Repairs Windows system files, removes malware, and restores a clean OS state — without reinstalling.

Ad · we may earn a commission
Get Fortect PC Suite ↗

I can’t turn Windows Defender on. I’ve tried to do so many times today, but in vain because all attempts lead to the error code 0x800704ec. Actually, I’m a bit worried since my PC is entirely unprotected now. Could you please help?

The Error Code 0x800704ec is an official Windows notification, which may occur on any Windows OS version when a PC user attempts to turn on Windows Defender.[ref en-1] As people reported, the icon of Windows Defender is grayed and delivers the error pop-up when clicking on it and selecting Turn on.

The most common reason for 0x800704ec to pop up on Windows 10 is due to the installed anti-virus program, such as Avast or AVG. Initially, Windows Defender used to be called Microsoft Security Essentials and was a downloadable program for Windows XP, and later was included with Windows Vista and Windows 7. Since Windows 8 came out, the software evolved into a built-in anti-malware application, which is set to run in the background of the system all the time.

However, if Security Center detects another anti-virus program, Windows Defender is automatically switched off and will remain so until third-party anti-virus is removed. Therefore, if you have recently installed Avast, Norton, Malwarebytes or any other anti-virus software, you should either forget about using Windows Defender or disable the third-party anti-virus to fix Error Code 0x800704ec completely.

How to fix error code 0x800704ec
How to fix error code 0x800704ec

If, however, you are not using additional software utility, then the culprit may be faulty Group Policy[ref en-2] settings or corrupted system files. In some cases, error messages can be caused by malware which gets into machine unnoticed. Viruses can emit the following symptoms:

  • Computer's slowdowns;
  • Crashing, stuttering, lagging[ref en-3] games, and slow software;
  • Frequent BSoDs;[ref en-4]
  • Increased CPU/GPU usage;
  • An increased amount of advertisement.

Nevertheless, certain worms or trojans do not emit any signs or symptoms at all, yet cause various error messages, which may be considered to be caused by something else. Thus, we advise users to scan their device using [d1]. This tool can protect any machine from malware, as well as repair damaged software components.

This video includes all the required methods for fixing this error:

[youtube O1fXv1nyvTU]

Fix 1.Disable/Remove Third-Party Anti-virus

As we have already pointed out, first of all, check if your PC has more than one anti-virus software running. If you installed a third-party antivirus program some time ago, then it’s not surprising why you can’t turn on Windows Defender right now. To fix a 0x800704ec error, remove third-party anti-virus from the system. For this purpose, you can either use [d1] or stop the process of your anti-virus via Task Manager and then uninstall it from the Add/Remove Programs in Control Panel:

  • Open Avast antivirus program
  • In the upper right click on Menu button and select Settings
  • Then select Troubleshooting
  • Find and uncheck the box at Enable Avast self-defense module
  • Click OK and then confirm by clicking Yes
  • Press Ctrl+ Shift + Esc
  • Find and right-click on your security software and select End task
  • In the search box, type in Apps & Features
  • Scroll down to the security software, and click Uninstall
  • Restart your PC
    Error code 0x800704ec uninstall antivirus
    Error code 0x800704ec uninstall antivirus

Fix 2. Use Registry Editor

  • In the task bar's search box, type regedit, and press Enter.
  • Using the left pane, navigate to the HKey_Local_Machine\\Software\\Policies\\Microsoft\\Windows Defender location.
  • Find DisableAntiSpyware key and delete its value. For this purpose, you have to double-click on the REG –DWORD and set its value to 0.
    Error code 0x800704ec delete registry value
    Error code 0x800704ec delete registry value

Fix 3. Change Group Policy's settings

  • Log into your account as an administrator.
  • Once done, type gpedit.msc, and press Enter.
  • Click Local Computer Policy and select Administrative Templates.
  • Then select Windows Components and open Windows Defender.
  • Select Windows Defender and double-click Turn off Windows Defender option on the right pane.
  • In the newly opened window, click Disable.
  • Finally, click OK to save the changes.
    Error code 0x800704ec change local group settings
    Error code 0x800704ec change local group settings

Fix 4. Optimize the system

Corrupted or damaged system files are the most common issue which initiates errors like 0x800704ec. Therefore, it's advisable to check and fix the improper Windows files by running sfc / scannow and DISM tool:

  • Click Win key + X and select Command Prompt (Admin).
  • Type sfc /scannow command and press Enter.
  • Then type the following commands and hit Enter each time:
    DISM.exe /Online /Cleanup-image /Scanhealth
    DISM.exe /Online /Cleanup-image /Restorehealth
  • Close Command Prompt and reboot the system.

Bottom line

To fix Error Code 0x800704ec, you can disable or uninstall any third-party anti-virus software, check Group Policy settings, or scan for malware. If none of these solutions work, consider using a dedicated tool to repair damaged software components.

Frequently asked questions

Error code 0x800704ec typically means that Windows Defender has been turned off by another security application or that your system settings are preventing it from being enabled.

To fix this error, try disabling or uninstalling any third-party antivirus software, and then attempt to turn on Windows Defender again.

Yes, group policies or registry settings that restrict Windows Defender can lead to this error; checking and adjusting these settings may help resolve the issue.

Did this fix work for you?
Gabriel E. Hall

Written & verified by

Malware Removal Expert
Malware removal Ransomware recovery Browser hijackers Spyware analysis Security tools testing

Gabriel E. Hall is a malware removal expert and cybersecurity researcher with over ten years of hands-on experience analysing threats and writing removal guides. She has documented hundreds of malware families — from browser hijackers and adware to ransomware and rootkits — providing step-by-step cleanup instructions tested against real infections. Gabriel's work combines deep technical analysis with clear, actionable language that readers without a security background can follow. Her guides consistently appear among the most-referenced resources for malware removal on Windows systems.

0 Comments

Be the first to comment

Still worried? Run a free check.

Paste any URL or domain — we'll scan it against 4.2M known threats in 10 seconds.

View full scanner → Add to your website →