Printable checklist

How to Fix MsMpEng.exe (Antimalware Service Executable) High CPU

MsMpEng.exe, shown in Task Manager as Antimalware Service Executable, is the core process of Microsoft Defender Antivirus. Short CPU spikes while it scans are normal, but if it stays high you can let the scan finish, update Windows, add exclusions, move the scan schedule, or run repair tools to bring CPU usage back down. This illustrated guide covers 3 methods and 18 steps, with a separate picture for every step.

By Co-authored by 52runoob Editorial Team · 18 steps · Performance & Speed · Updated November 21, 2026

Back to the guide
  1. 1. Open Task Manager

    Press Ctrl+Shift+Esc, open the Processes tab, and find Antimalware Service Executable in the list of running processes.

  2. 2. Verify the file location

    Right-click the process, choose Open file location, and confirm it sits in the Windows Defender folder under Program Files — not somewhere unexpected.

  3. 3. Check whether a scan is running

    Open Windows Security, go to Virus & threat protection, and look for an active scan that could be driving the CPU up.

  4. 4. Let the scan finish

    Wait 5 to 10 minutes instead of rebooting, because restarting a scan midway makes Defender begin again from the start.

  5. 5. Restart the computer

    Restart Windows to clear stale caches and background data that may be keeping MsMpEng.exe busy.

  6. 6. Install Windows updates

    Open Settings, Windows Update, and install pending patches, since some Defender high-CPU bugs are fixed by updates.

  7. 7. Open Defender settings

    In Windows Security choose Virus & threat protection, then Manage settings to reach the exclusions controls.

  8. 8. Exclude Defender's own folder

    Under Exclusions add C:\Program Files\Windows Defender as a folder so Defender does not scan its own files in a loop.

  9. 9. Exclude the MsMpEng.exe process

    Add an exclusion of type Process and enter MsMpEng.exe to reduce repeated self-scanning of the engine.

  10. 10. Reschedule the scheduled scan

    Open Task Scheduler, expand Microsoft > Windows > Windows Defender, and set the Scheduled Scan trigger to a time you are not using the PC.

  11. 11. Move large files out of synced folders

    Move big ISO or virtual disk files out of OneDrive-synced folders so Defender scans them faster.

  12. 12. Remove conflicting antivirus software

    Uninstall extra antivirus programs through Apps and Features, because two real-time scanners can push CPU usage up.

  13. 13. Run a second-opinion malware scan

    Use a free scanner such as Malwarebytes for a full scan to confirm the high-CPU process is Defender and not a disguised virus.

  14. 14. Run the System File Checker

    Open Command Prompt as administrator, type sfc /scannow, and press Enter to repair corrupted system files.

  15. 15. Run the DISM repair

    Type DISM /Online /Cleanup-Image /RestoreHealth and press Enter to fix the Windows component store.

  16. 16. Record a Defender performance report

    In an administrator PowerShell run New-MpPerformanceRecording, reproduce the spike, then use Get-MpPerformanceReport to find the problem files.

  17. 17. Reset the Windows Security app

    Run Get-AppxPackage Microsoft.SecHealthUI -AllUsers | Reset-AppxPackage to reset a misbehaving Security app, then restart.

  18. 18. Turn protection back on and monitor

    Re-enable real-time protection and watch Task Manager for a few minutes to confirm CPU usage has returned to normal.