How to fix high CPU usage caused by `Antimalware Service Executable` in Windows 11?

Md. Rayhan Hyder 80 Reputation points
2026-11-10T09:00:23.9533333+00:00

Hello everyone,

I am experiencing high CPU and memory usage on my Windows 11 PC due to the Antimalware Service Executable (MsMpEng.exe) process, especially during startup and random background checks.

This significantly slows down my system performance. I have already tried restarting the Windows Security service and updating my system, but the issue persists.

Could anyone please suggest the best and safest ways to optimize or fix this high resource consumption issue without compromising system security?

Thank you in advance for your help!

Windows for home | Other | Security and privacy
0 comments No comments

3 answers

Sort by: Most helpful
  1. Kapil Arya 38,721 Reputation points Volunteer Moderator
    2026-11-10T10:01:09.94+00:00

    Try adding MsMpEng.exe process to Exclusions at Windows Security.

    Antimalware Service Executable (MsMpEng.exe) High CPU Usage

    If issue still persists, you can refer other suggestions in this fix:

    https://www.kapilarya.com/fix-antimalware-service-executable-msmpeng-exe-high-cpu-usage

    Let us know if this helps!

    Note: Included link(s) in this reply refers to a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    Was this answer helpful?

    0 comments No comments

  2. Ramesh Srinivasan 90,040 Reputation points Independent Advisor
    2026-11-10T09:35:18.11+00:00

    Hi,

    If MsMpEng.exe uses high CPU even when no full scan is running, another process may be enumerating files on your computer. This triggers an on-demand scan for each file accessed by that process.

    We may be able to narrow down the problem by clean booting the system. A clean boot is the process of starting Windows without loading any third-party applications or services.

    • Launch msconfig.exe and select the Services tab.
    • Enable the Hide all Microsoft services checkbox. This is an important step. (Now, the list will contain only 3rd party services.)
    • Click Disable all.
    • Click OK.
    • Open Task Manager (Ctrl + Shift + Esc) and click on the Startup tab. Disable all startup apps.
    • Restart Windows.

    For more information, please refer to the Microsoft article.

    How to perform a clean boot in Windows

    (Step 3 in the above link is crucial. You need to first enable "Hide all Microsoft Services" before clicking "Disable all".)

    Was this answer helpful?

    0 comments No comments

  3. AI answer

    2026-11-10T09:01:32.1166667+00:00

    Run Microsoft Defender’s Performance Analyzer while the CPU spike is occurring, then tune the specific scan workload it identifies rather than disabling MsMpEng.exe or real-time protection. ^1^

    1. Identify what Defender is repeatedly scanning

    1. Right-click Start and select Terminal (Admin).
    2. Start a recording:
    New-MpPerformanceRecording -RecordTo "$env:USERPROFILE\Desktop\Defender-scans.etl"
    
    1. Leave the window open and reproduce the high-CPU condition for a few minutes. If it primarily occurs at startup, start recording as soon as possible after signing in.
    2. Press Enter to stop recording.
    3. Generate a report:
    Get-MpPerformanceReport `
      -Path "$env:USERPROFILE\Desktop\Defender-scans.etl" `
      -TopFiles 10 -TopExtensions 10 -TopProcesses 10 -TopScans 20
    

    These commands require administrator privileges and report the files, extensions, processes, and scans having the greatest Defender performance impact. The analyzer is supported on Windows 11 with Defender platform version 4.18.2108.7 or later. ^2^

    Look for:

    • One application repeatedly creating or modifying many files.
    • Large .iso, .vhd, or .vhdx files in Desktop, Downloads, Documents, OneDrive, or another synchronized location.
    • Development/build folders containing rapidly changing files.
    • A non-Microsoft security, monitoring, VPN, or endpoint application interacting with Defender.

    Moving large disk-image files out of synchronized or redirected profile folders can reduce scanning latency without weakening protection. Conflicts involving other security software should be addressed using the software vendor’s documented Defender configuration. ^3^

    2. Reduce scheduled-scan CPU usage safely

    If the spike is from a scheduled scan, use an average target such as 20–30% and low CPU priority. In an elevated PowerShell window, run:

    Set-MpPreference -ScanAvgCPULoadFactor 25
    Set-MpPreference -EnableLowCpuPriority $true
    Set-MpPreference -DisableCpuThrottleOnIdleScans $false
    Get-MpPreference | Select-Object ScanAvgCPULoadFactor,
        EnableLowCpuPriority, DisableCpuThrottleOnIdleScans
    

    The CPU value is guidance to the scanning engine, not a hard cap. Lower values leave more resources for other work but make scans take longer. The default CPU target is 50; valid values are 5–100, while 0 disables throttling. DisableCpuThrottleOnIdleScans defaults to true, which can explain aggressive scanning while Windows considers the PC idle, including around startup. ^4^ ^5^

    These controls primarily affect scheduled scans. Manual scans can ignore throttling unless the corresponding scan policy is changed. ^6^

    3. Add an exclusion only when the report identifies a trusted target

    If the analyzer consistently identifies a trusted application folder—for example, a game installation or build-output/cache directory:

    1. Open Windows Security.
    2. Select Virus & threat protection.
    3. Under Virus & threat protection settings, select Manage settings.
    4. Under Exclusions, select Add or remove exclusions.
    5. Select Add an exclusion, then add the smallest applicable file, folder, or process.

    Avoid excluding an entire drive, user profile, Downloads folder, file type, or MsMpEng.exe. Prefer the full executable path for a process exclusion. Exclusions stop applicable real-time checks and reduce protection; scheduled scans or third-party antimalware might still scan the target. ^7^

    If the analyzer does not identify the cause

    • Run Process Monitor next for process-level detail; Microsoft recommends it after the Defender analyzer fails to isolate the trigger. ^8^
    • Repair Windows components from Terminal (Admin):
    DISM.exe /Online /Cleanup-image /Restorehealth
    sfc /scannow
    

    Restart after both commands complete. These checks address damaged Windows components; they do not replace the scan-performance investigation. ^9^

    Do not permanently disable real-time protection, behavior monitoring, or tamper protection. Real-time protection scans accessed or executed files and automatically turns itself back on after temporary UI-based disabling; a narrow, verified exclusion is safer than disabling antivirus protection globally. ^7^


    References

    1. Performance analyzer for Microsoft Defender Antivirus
    2. Microsoft Defender Antivirus Performance Analyzer reference
    3. Troubleshoot performance issues related to real-time protection
    4. Schedule antivirus scans using PowerShell
    5. Troubleshoot Microsoft Defender Antivirus scan issues
    6. Microsoft Defender Antivirus full scan considerations and best practices
    7. Virus and Threat Protection in the Windows Security App | Microsoft Support
    8. Troubleshoot Microsoft Defender Antivirus performance issues with Process Monitor
    9. [Windows 11](https://support.microsoft.com/windows/deployment/updates-lifecycle/troubleshoot-problems-updating-windows#repair-hard-drive-errors)
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.