sodcalculator

10 Tech How-To

Fix Antimalware Service Executable High CPU Usage

Guide 10-54190 · Updated · Step by step

Antimalware Service Executable (MsMpEng.exe) is Windows Defender’s real-time scanning process. When it spikes to 100% CPU, your PC can become sluggish or freeze. This guide shows you practical fixes, from simple restarts to registry tweaks, to bring CPU usage back to normal.

What You’ll Need

  • Administrator access to your Windows PC
  • A few minutes of time
  • Optional: a third-party antivirus (if you plan to disable Defender entirely)

Step-by-Step

  1. Restart your PC. A simple reboot often clears temporary glitches and stops the high CPU usage. Save your work and restart.
  2. Run a quick scan manually. Open Windows Security (search for it in the Start menu), go to Virus & threat protection, and click Quick scan. This can trigger a fresh scan that might complete faster than the background one.
  3. Schedule a full scan during idle time. In Windows Security, go to Virus & threat protection > Scan options, select Full scan, and click Scan now. Let it run overnight or when you’re not using the PC. This clears any backlog of files that might be causing repeated scanning.
  4. Exclude trusted files and folders. If the high CPU usage persists, add exclusions for files you trust (like your game folder or project directory). Go to Virus & threat protection settings > Add or remove exclusions. Add the specific file or folder that triggers the scan. Be careful: only exclude files you are absolutely sure are safe.
  5. Check for Windows updates. Go to Settings > Update & Security > Windows Update and click Check for updates. Install any pending updates, as they often include Defender improvements.
  6. Reduce real-time protection load (temporary). In Windows Security, go to Virus & threat protection settings and toggle off Real-time protection for a few minutes to see if CPU usage drops. If it does, you know Defender is the culprit. Turn it back on immediately after testing.
  7. Use PowerShell to reset Defender. Open PowerShell as Administrator and run: Set-MpPreference -ScanAvgCPULoadFactor 50 (or a lower number like 30). This limits the CPU percentage Defender can use during scans. Then restart your PC.
  8. Check for corrupted system files. Open Command Prompt as Administrator and run: sfc /scannow. After it finishes, run DISM /Online /Cleanup-Image /RestoreHealth. Restart after both complete.
  9. Disable Defender via Group Policy (Windows Pro/Enterprise only). If nothing else works and you have another antivirus installed, open gpedit.msc, go to Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus, and enable Turn off Microsoft Defender Antivirus. This is a last resort; make sure your alternative antivirus is active.

Common Mistakes

  • Disabling Defender permanently without a replacement. This leaves your PC unprotected. Always have another antivirus ready before turning off Defender.
  • Adding too many exclusions. Excluding entire drives (like C:\) can let malware run unchecked. Only exclude specific files or folders you trust.
  • Ignoring the scan backlog. If you haven’t run a full scan in months, the initial scan can take hours and use high CPU. Let it finish once.
  • Killing MsMpEng.exe from Task Manager. This doesn’t stop the process permanently; Windows will restart it. It can also cause system instability.
  • Assuming third-party antivirus is the fix. Sometimes other security software conflicts with Defender, increasing CPU usage. Uninstall the third-party tool first to test.

Tips

  • Set a daily quick scan schedule. In Windows Security, go to Virus & threat protection > Scan options > Schedule scan and pick a time when you’re not using the PC.
  • Keep Windows updated. Microsoft regularly fixes performance bugs in Defender through updates.
  • Use the Performance Monitor. Press Win + R, type perfmon, and check the CPU usage history for MsMpEng.exe to see if it’s a one-time spike or constant.
  • Check for malware. High CPU usage can sometimes mean actual malware is being scanned. Run a full scan with Defender or a trusted second-opinion scanner.
  • Upgrade your hardware. If you have an older PC with limited RAM or a slow hard drive, Defender will naturally use more CPU. Adding RAM or switching to an SSD can help.

Troubleshooting

If the steps above don’t reduce CPU usage, try these additional checks:

  • Check for conflicting software. Temporarily uninstall any third-party antivirus or security tools. Restart and see if CPU usage drops.
  • Verify system file integrity. If sfc /scannow found issues but couldn’t fix them, run it again in Safe Mode. Boot into Safe Mode (Shift + Restart) and repeat the command.
  • Look at the Windows Event Viewer. Search for Event Viewer, go to Windows Logs > System, and look for errors related to Defender or Windows Update. These can give clues.
  • Reset Windows Security. Go to Settings > Apps > Windows Security > Advanced options > Reset. This reinstalls the app without affecting your files.
  • Create a new user account. Sometimes a corrupted user profile causes issues. Create a new admin account and check if the problem persists there.
  • If all else fails, consider a clean reinstall of Windows. This is drastic, but it eliminates any deep system corruption. Back up your data first.

Frequently Asked Questions

Is it safe to disable Antimalware Service Executable?

No, it’s not safe to disable it permanently unless you have another antivirus running. Doing so removes real-time protection and makes your PC vulnerable to malware.

Why does MsMpEng.exe use so much CPU after a Windows update?

Windows updates often change Defender’s definitions or scanning logic. The first scan after an update can be resource-intensive as it re-evaluates files. This usually settles after a few hours.

Can I set a CPU limit for MsMpEng.exe?

Yes, you can use the PowerShell command Set-MpPreference -ScanAvgCPULoadFactor 50 to cap CPU usage during scans. This won’t affect real-time protection.

Will adding exclusions slow down my PC less?

Yes, excluding large folders that you trust (like game directories) can reduce scanning overhead, but it also creates a security gap. Only exclude what you absolutely need.

How do I know if the high CPU usage is caused by malware?

If Defender is using high CPU while scanning, it might be scanning a file that is actually malicious. Run a full scan and check the detection history. If you see threats, remove them.

Does this issue happen on Windows 10 or Windows 11?

It can happen on both. The steps are similar, though some menu names may differ slightly. The PowerShell command works on both.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →