FacebookTwitterLinkedIn

How to Fix MsMpEng.exe High CPU Usage

How to Fix High CPU Usage by the MsMpEng.exe Process on Windows 10

MsMpEng.exe is a core process of Microsoft Defender that may sometimes cause high CPU and Disk Usage. This article is dedicated to helping you fix this issue.

How To Avoid High CPU Usage Caused By The MsMpEng.exe Process On Windows

Most applications don't use more than 50% of the CPU's power for an extended period. However, some applications/programs and system processes may use an unjustifiable amount of your CPU, RAM, or Disk resources. One of these processes is MsMpEng.exe, and you may notice it using a lot of your CPU's processing power.

MsMpEng.exe is a core process of Microsoft Defender that scans downloaded files for spyware. If any suspicious items are found, it can quarantine or remove them. It also takes steps to prevent spyware infections by searching the system for known worms and trojan programs.

This guide demonstrates how to deal with high CPU usage when the MsMpEng.exe process is running and how to reduce it. Read the article below to find the solution that works for you.

NOTE: Before trying to resolve the MsMpEng.exe high CPU usage problem, ensure that you have no other antivirus program on your computer.

Video Showing How to Fix High CPU Usage by MsMpEng.exe on Windows:

Table of Contents:

Limit CPU Usage

We will limit CPU usage for the "MsMpEng.exe" process using Task Manager. Task manager is a system monitor program used to provide information about processes and programs running on a computer and the general status of the system. Some implementations can also be used to terminate processes and programs and to change processes' priorities.

To open Task Manager, press Ctrl + Shift + Esc on your keyboard or right-click the Start menu and select "Task Manager".

limit cpu usage step 1

If Task Manager is minimized, click "More details" and find the "Details" tab and select it. In the Details tab, find the "MsMpEng.exe" process and right-click on it. Select "Set affinity" from the contextual menu. Then, select the CPU limit threshold for this process.

limit cpu usage step 2

[Back to Table of Contents]

Disable Sample Submission

Microsoft automatically collects sample files from Windows Defender to improve antivirus and anti-malware protection and improve Windows Defender. Microsoft also collects information about suspicious items found by Windows Defender on your computer to provide cloud-based protection.

You can disable Automatic sample submission - simply type "sample submission" in Search and click the "Virus & threat protection" result.

disable sample submission step 1

Now, click "Virus & threat protection settings".

disable sample submission step 2

In Virus & threat protection settings, scroll down to find "Automatic sample submission" and toggle its switch to the "Off" position to disable it.

disable sample submission step 3

[Back to Table of Contents]

Prevent Windows Defender From Scanning Its Directory

"MsMpEng.exe" might take too much CPU power because it scans the Windows Defender directory. To exclude this directory from scanning, type "defender" in Search and click the "Windows Defender Security Center" result.

prevent windows defender from scanning its directory step 1

Now, click "Virus & threat protection".

prevent windows defender from scanning its directory step 2

In the Virus & threat protection window, click "Virus & threat protection settings".

prevent windows defender from scanning its directory step 3

Scroll down to find "Add or remove exclusions" under "Exlusions".

prevent windows defender from scanning its directory step 4

Click "Add an exclusion" and select "Folder". Find the Windows Defender folder in Program Files and select it. This will exclude the Windows Defender folder from being scanned by its own software.

prevent windows defender from scanning its directory step 5

[Back to Table of Contents]

Start Windows in Safe Mode

Safe Mode is a diagnostic start-up mode in Windows operating systems used to obtain limited access to Windows when the operating system does not start or function normally.

Safe Mode starts Windows in a basic state, using a limited set of files and drivers. It can help to troubleshoot problems on your computer.

You might solve this problem by starting Windows in Safe Mode and using the Recovery option in Settings. Open Settings and click "Update & Security".

start windows in safe mode step 1

Then, click "Recovery" in the left pane. Click the "Restart now" button under Advanced startup.

start windows in safe mode step 2

Your computer will restart, and you will see a menu on a blue screen. From the three options, select "Troubleshoot".

start windows in safe mode step 3

In Troubleshoot, click "Advanced options".

start windows in safe mode step 4

In Advanced options, click "Startup Settings".

start windows in safe mode step 5

In Startup Settings, click "Restart". After restart, you will be able to enable low-resolution video mode, debugging mode, boot logging, Safe Mode, disable early-launch anti-malware protection, and automatic restart on system failure.

start windows in safe mode step 6

You will be presented with a list of options. To choose an option, press the number on your keyboard or use function keys from F1 to F9. Press 4 or F4 to enable Safe Mode.

To enable Safe Mode with Networking, press 5 and 6 to enable Safe Mode with Command Prompt.

If you change your mind and no longer need to start Windows in Safe Mode, press Enter to exit Startup Settings.

start windows in safe mode step 7

Read this article to find more ways to start your Windows in Safe Mode.

[Back to Table of Contents]

Disable Windows Defender Using Registry Editor

Windows Registry is a collection of databases of configuration settings in Microsoft Windows operating systems. It stores much of the information and settings for software programs, hardware devices, user preferences, operating system configurations, and much more.

To open Registry Editor, you need to first open Run. Type "run" in Search and click the "Run" result.

disable windows defender using registry editor step 1

In the Run dialog box, type "regedit" and click "OK" or press Enter on your keyboard - this will open Registry Editor.

disable windows defender using registry editor step 2

Now follow this path: "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender". Look for the "DisableAntiSpyware" DWORD file.

disable windows defender using registry editor step 3

If there is no "DisableAntiSpyware" DWORD file, you need to create one. To create it, right-click the background of the Registry Editor right pane and select "New", "DWORD (32-bit) Value" from the drop-down menu.

disable windows defender using registry editor step 4

Name it "DisableAntiSpyware". Now that you have the "DisableAntiSpyware" file, double-click it. In the "Value data:" box, type "1" and click "OK" to save the changes. You can now exit Registry Editor and Windows Defender will be turned off.

disable windows defender using registry editor step 5

[Back to Table of Contents]

Reschedule Windows Defender Using Task Scheduler

Windows Task Scheduler is a component of Microsoft Windows that provides the ability to schedule the launch of programs or scripts at pre-defined times or after specified time intervals.

The Task Scheduler monitors the criteria you choose to initiate the tasks and then executing the tasks when the criteria are met. Using Windows Task Scheduler, tasks can be scheduled to execute at a specific time, when a specific system event occurs, when a user logs on, when the system is booted, a task is registered, etc.

To reschedule Windows Defender, type "task scheduler" in Search and click the "Task Scheduler" result.

reschedule windows defender using task scheduler step 1

On the Task Scheduler left pane, you will see a "Task Sheduler Library", expand it and navigate to Windows Defender going through this path: "Task Scheduler Library/Microsoft/Windows/Windows Defender". Find "Windows Defender Scheduled Scan". Then, double-click it.

reschedule windows defender using task scheduler step 2

In the Windows Defender Scheduled Scan Properties window, select the "Conditions" tab, ensure that the "Start the task only if the computer is idle", "Start the task only if the computer is on AC power", and "Start only if the following network connection is available" options are disabled. Click "OK" to save the changes.

reschedule windows defender using task scheduler step 3

Now, double-click "Windows Defender Scheduled Scan" again, select the "Triggers" tab, and click "New...".

reschedule windows defender using task scheduler step 4

Choose the "Weekly" or "Monthly" option and set your preferred options. Click "OK" to save the changes.

reschedule windows defender using task scheduler step 5

Now go back to the Task Scheduler main window and apply the same steps to "Windows Defender Cache Maintenance", "Windows Defender Cleanup", and "Windows Defender Verification".

reschedule windows defender using task scheduler step 6

We hope that these methods were helpful and you could decrease CPU usage triggered by the "MsMpEng.exe" process. Bear in mind that your CPU usage will increase whenever a Windows Defender scan is running/active. If you are not satisfied with these workarounds, you might want to change your antivirus software.

[Back to Top]

▼ Show Discussion

About the author:

Rimvydas Iliavicius

Rimvydas is a researcher with over four years of experience in the cybersecurity industry. He attended Kaunas University of Technology and graduated with a Master's degree in Translation and Localization of Technical texts. His interests in computers and technology led him to become a versatile author in the IT industry. At PCrisk, he's responsible for writing in-depth how-to articles for Microsoft Windows. Contact Rimvydas Iliavicius.

Our guides are free. However, if you want to support us you can send us a donation.