Close Menu
    What's Hot

    7 Best Platforms to Hire Cloud & DevOps Engineers in 2026

    November 30, 2026

    Antimalware Service Executable High CPU or Memory: Is It Safe and How to Calm It

    November 30, 2026

    7 Best Managed IT Service Providers for UK Businesses (2026)

    November 28, 2026
    Facebook X (Twitter) YouTube LinkedIn
    Facebook X (Twitter) YouTube LinkedIn
    SysprobsSysprobs
    • Tech Guides
      • Windows
        • Windows 11
        • Windows 10
        • Windows Servers
      • Virtualization
        • VirtualBox
        • VMware
        • Hyper-V
        • Server Virtualization
        • VirtualBox Images
      • PC
        • Linux
        • macOS
        • Hackintosh
        • MS Office
      • Pro IT Tips
        • Internet
        • MS Exchange
        • Fintech
    • Reviews
      • Gadgets
        • Android
        • iPhone
    • Security & Privacy
      • IT Security
    • Data
      • Calculators and tools
      • Statistics
      • Reference tables
    SysprobsSysprobs
    Home»Featured»Antimalware Service Executable High CPU or Memory: Is It Safe and How to Calm It

    Antimalware Service Executable High CPU or Memory: Is It Safe and How to Calm It

    DineshBy Dinesh
    Share
    Facebook Twitter LinkedIn Pinterest Email

    Antimalware Service Executable is MsMpEng.exe, the Microsoft Defender Antivirus process (the app calls it Windows Security). It is safe, and you should not end it. When it eats your CPU, the cause is usually a scan after an update, big files in a synced folder, or a second antivirus on the same PC. In this guide, I’ll show how to find what Defender is busy with, then change the one setting that fits, without turning protection off.

    High Cpu

    Most guides online jump straight to disabling it. I would not. Microsoft ships a performance analyzer for exactly this problem, and it tells you which file or folder is costing the time. Measure first, then fix.

    What Is Antimalware Service Executable?

    Task Manager uses this name for MsMpEng.exe, the engine of Microsoft Defender Antivirus (older guides call it Windows Defender). The Microsoft Defender Antivirus service (WinDefend) starts it with Windows, so it is always running. It handles the real-time protection, the scheduled scans and the scan that follows a security intelligence (definition) update.

    So seeing it in Task Manager is normal on every Windows 10/11 PC. Only a long, repeated spike is a problem.

    When High CPU Is Normal

    High CPU from Antimalware Service Executable is expected in these cases, so give it 10 to 15 minutes before you change anything:

    • After a security intelligence update. Microsoft lists the scan after an update as a known cause of high CPU.
    • The first full scan on a new PC, or after a big Windows update.
    • Copying, unzipping or installing something large, because Defender checks the files as they arrive.

    If the CPU is still high after that, or it spikes at every login, read on.

    Is It the Real Process or a Virus?

    Is Antimalware Service Executable a virus? The genuine file is not. Malware that copies the name is rare, but the check takes a minute.

    1. Press Ctrl+Shift+Esc, right-click Antimalware Service Executable (Microsoft Defender Antimalware Service) and choose Go to details.
    2. Right-click MsMpEng.exe and choose Open file location.
    3. The folder should be a numbered version folder under C:\ProgramData\Microsoft\Windows Defender\Platform (on older installs, C:\Program Files\Windows Defender).
    4. Right-click the file, open Properties and check Digital Signatures for Microsoft.
    Windows Anti Malware Service

    If the file runs from Downloads, Temp or AppData, it is not Defender. Run a full scan from Windows Security and get a second opinion from another scanner before you do anything else.

    Find What Defender Is Scanning

    This is the step the other guides skip. The performance analyzer records Defender’s scans and then ranks files, folders and processes by the time Defender spent on them. It needs Defender platform 4.18.2108.7 or later, PowerShell 5.1 or 7.x, and works on Windows 10, Windows 11 and Server 2016 or later. Microsoft documents the analyzer and the steps below follow it.

    Step 1. Create a C:\Temp folder, then open PowerShell as administrator.

    Step 2. Start the recording:

    New-MpPerformanceRecording -RecordTo C:\Temp\defender.etl

    Step 3. Do whatever makes the PC slow: copy the big folder, unzip the archive, open the project. When the fan spins up, go back to PowerShell and press Enter to stop and save.

    Step 4. Read the recording:

    Get-MpPerformanceReport -Path C:\Temp\defender.etl -TopFiles 10 -TopPaths 5

    If PowerShell says Windows Performance Recorder is already recording, clear the old trace and start again:

    wpr -cancel -instancename MSFT_MpPerformanceRecording

    The results are sorted by duration, so the first rows are where Defender spent most of its time. Microsoft’s own example is -TopFiles 3 -TopScansPerFile 10, which gives the ten longest scans for each of the three worst files. The report also shows how many scans ran, the total, average and longest duration, the path, the process and the reason for the scan. -TopPaths groups the scans by folder, three levels deep by default (so C:\Users\Foo counts as one group). The full list of options is on the analyzer reference page.

    Now match what you see to a fix:

    • A path inside OneDrive, Desktop or Documents with big .iso or .vhdx files: fix 3.
    • A folder you trust and use every day (VMs, dev projects): fix 4.
    • Scans spread over everything, nothing standing out: fixes 1 and 2.
    • Processes or folders of another security product: fix 5.

    Fixes in Order of Safety

    1) Lower the Windows Defender CPU Limit

    By default a scan may use up to 50 percent CPU. Microsoft says you can lower it to 20 or 30, and the scan then takes longer. First note what your PC has now:

    Get-MpPreference | Select-Object ScanAvgCPULoadFactor, EnableLowCpuPriority, ScanOnlyIfIdleEnabled

    Then set the new limit (run PowerShell as administrator):

    Set-MpPreference -ScanAvgCPULoadFactor 30

    The valid range is 5 to 100. Do not use 0, because that switches CPU throttling off. Microsoft’s scan settings page says the value is guidance for the scan engine to stay under on average, not a hard limit. It applies to scheduled scans. Manual scans ignore it, so a Quick scan you start yourself still runs without a CPU limit.

    The Microsoft pages I read cover this setting in PowerShell and Group Policy only, not in the Windows Security app. On Windows 11 Pro, the Group Policy path is Computer Configuration > Administrative Templates > Windows Components > Microsoft Defender Antivirus > Scan. The setting there starts with ‘Specify the maximum percentage of CPU’.

    Group Policy For Cpu Settings

    To go back, run the same command with 50.

    There is a second setting in the same area, low CPU priority, which lowers the scan thread priority from 9 to 8 for scheduled scans. The PowerShell page lists it as on by default, but the Group Policy page lists it as Disabled when not configured, so read your own value from the command above. To switch it on:

    Set-MpPreference -EnableLowCpuPriority $true

    2) Keep Scans to Idle Time

    Scheduled scans only start when the PC is on but not in use, and the overall CPU must be under 80 percent. That is the default. If someone changed it, put it back:

    Set-MpPreference -ScanOnlyIfIdleEnabled $true

    To move the daily quick scan to a time you are away from the desk, for example lunch:

    Set-MpPreference -ScanScheduleQuickScanTime 13:00:00 -ScanScheduleOffset 0 -RandomizeScheduleTaskTimes $false

    By default the start time is also randomized by up to 30 minutes, which is why I added the last two parts. Microsoft’s example for this command also contains -ScanOnlyIfIdleEnabled $false. Leave that out, it makes the scan run while you are working.

    You can see the task in Task Scheduler Library > Microsoft > Windows > Windows Defender > Windows Defender Scheduled Scan. Look at it, but do not bother editing it. Many guides tell you to untick the Conditions options there. The Microsoft Q&A answers I found say Windows triggers this task through automatic maintenance, so the settings above are the right place to change it.

    3) Move Big ISO, VHDX and VM Files Out of Synced Folders

    Microsoft lists large .iso and .vhdx files in a profile that is redirected to a network share as a cause of high CPU. OneDrive and Offline Files slow the scan for a similar reason: Microsoft says scanning them means more latency than plain local files.

    If the analyzer showed those files under OneDrive, Desktop or Documents, move them to a normal local folder such as D:\VMs. That folder is then a candidate for fix 4.

    4) Add a Narrow Exclusion for a Trusted Folder

    Use this only for a folder you created and trust, like a VM folder or a dev folder. In Windows Security, go to Virus & threat protection > Virus & threat protection settings > Manage settings > Exclusions > Add or remove exclusions > Add an exclusion > Folder. Or from an administrator PowerShell:

    Add-MpPreference -ExclusionPath "D:\VMs"

    Never exclude C:\, Downloads or your whole user profile. Microsoft’s exclusions overview calls every exclusion a gap in protection, so it should fix a specific problem. It also says not to exclude mapped network drives (use the real network path) and to use full paths.

    A misspelled exclusion is another cause Microsoft lists, so check that yours works. Open an administrator Command Prompt, go to the newest version folder under %ProgramData%\Microsoft\Windows Defender\Platform, and run:

    MpCmdRun.exe -CheckExclusion -Path D:\VMs

    It answers “is excluded. Exit code is 0.” or “is not excluded. Exit code is 1.” A folder exclusion also covers its subfolders, so the answer does not tell you which entry matched.

    5) Remove a Second Antivirus That Fights with Defender

    Microsoft lists conflicts with other security software as a cause. If the analyzer shows another security product’s processes or folders, the two are scanning each other. Microsoft’s fix is to add each product’s paths and processes to the other’s exclusions. On a home PC, I would rather remove one of the two.

    What Not to Do

    • Do not end the process. Defender is your real-time protection, and stopping it leaves the PC unprotected.
    • Do not disable Defender in the registry or Group Policy. Tamper Protection blocks registry changes to Defender settings, and Microsoft says Group Policy or registry changes might appear to succeed while Tamper Protection blocks them. I covered the older ways in my post on removing Windows Defender, but treat that as background. For a slow PC the answer is the settings above.
    • Do not delete Defender files or folders from ProgramData.
    • Do not add broad exclusions (see fix 4).

    One short test is fine: to rule out real-time protection, turn Tamper Protection off in Windows Security (Virus & threat protection settings > Manage settings), switch Real-time protection off, watch the CPU for a minute, then turn both back on. Microsoft’s troubleshooting page describes this. Real-time protection also switches itself back on after a short delay. On a PC managed by your company, the policy wins over these toggles, and Microsoft points admins to troubleshooting mode instead.

    Why Is It Using So Much Memory or Disk?

    Antimalware Service Executable high memory and high disk use usually come with the same scan activity, so use the same analyzer report. I did not find a separate memory limit in Microsoft’s documentation. If Defender turns out not to be the busy process, SearchFilterHost and sdxhelper.exe are two other Windows processes I have written about.

    FAQ

    Can I End the Process in Task Manager?

    No. It is the process that protects the PC in real time. If it stays busy, find the cause with the analyzer and lower the scan CPU limit instead.

    Is It Safe to Stop or Disable It?

    No, it is not safe to stop Antimalware Service Executable or disable it just to calm the CPU. Defender protects the PC in real time. Lower the scan limit or find the cause with the analyzer.

    Why Is It Always Running, Even When I Am Idle?

    It is a service that starts with Windows, so it never really stops. Scheduled scans are meant to run when the PC is idle, so that is by design. A scan after a definition update does the same. If it never settles, run the analyzer.

    Does Adding Defender’s Own Folder to Exclusions Help?

    None of the Microsoft pages I read recommend it, and it opens a gap in protection. Exclude the folder the analyzer points at, if you trust it.

    High CPU Microsoft Defender MsMpEng.exe Windows 11 Windows Security
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
    Dinesh
    • Website

    Dinesh is the founder of Sysprobs and written more than 400 articles. Enthusiast in Microsoft and cloud technologies with more than 15 years of IT experience.

    Related Posts

    7 Best Platforms to Hire Cloud & DevOps Engineers in 2026

    November 30, 2026

    7 Best Managed IT Service Providers for UK Businesses (2026)

    November 28, 2026

    ThinkGeek Alternatives: Where to Buy Geek Gear Now

    November 27, 2026

    Telephone Consumer Protection Act: Key Rules For Businesses That Call Or Text

    November 27, 2026

    5 Best Computer Science Bachelor’s Degree Programs in Texas in 2026

    November 26, 2026

    Sites Like Reddit: 9 Reddit Alternatives That Still Work

    November 25, 2026
    Leave A Reply Cancel Reply

    Top Posts

    Where is the Outlook QR code? How to Use?

    February 16, 2024

    How to Install and Use Outlook for Ubuntu 24.04 LTS/24.10

    December 10, 2025

    Download and Use Windows 7 Pre-Installed VirtualBox Image

    May 3, 2022
    Don't Miss

    7 Best Platforms to Hire Cloud & DevOps Engineers in 2026

    November 30, 2026

    The short answer: Wigiwork is the top platform for hiring Cloud and DevOps engineers. It…

    Antimalware Service Executable High CPU or Memory: Is It Safe and How to Calm It

    November 30, 2026

    7 Best Managed IT Service Providers for UK Businesses (2026)

    November 28, 2026

    Google Play Gift Card Earning Apps: What Really Pays

    November 27, 2026
    Stay In Touch
    • Facebook
    • YouTube
    • Twitter
    • LinkedIn
    Latest Posts

    7 Best Platforms to Hire Cloud & DevOps Engineers in 2026

    November 30, 2026

    Antimalware Service Executable High CPU or Memory: Is It Safe and How to Calm It

    November 30, 2026

    7 Best Managed IT Service Providers for UK Businesses (2026)

    November 28, 2026
    300x250 001 English PCRepairKit Yakusheva
    UP NEXT FOR YOU
    • Cloud & Devops Engineers7 Best Platforms to Hire Cloud & DevOps Engineers in 2026
    • Managed It Services7 Best Managed IT Service Providers for UK Businesses (2026)
    • Google Play Gift Card Earning AppsGoogle Play Gift Card Earning Apps: What Really Pays

    INFORMATION
    • About
    • Contact Us
    • Privacy Policy
    ABOUT

    Established in 2007, Sysprobs is a trusted resource for IT professionals and system administrators. We publish practical, battle-tested guides for the people who run Microsoft infrastructure — Windows, Windows Server, Active Directory, Entra ID, Intune, Exchange, and virtualization. Real fixes for real production problems, written by people who've actually hit them.

    POPULAR SECTION

    WINDOWS 11
    WINDOWS 10
    VIRTUALIZATION
    IT SECURITY
    PRO IT TIPS

     

    Sysprobs
    Facebook X (Twitter) YouTube LinkedIn
    • Home
    • Windows
    • Cloud
    • Security & Privacy
    © 2026 SYSPROBS: System Security & Fintech Solutions. Protected by Cloudflare.

    Type above and press Enter to search. Press Esc to cancel.