Fix: MsMpEng.exe causes high CPU usage on Windows 10, Windows 7
MsMpEng.exe is a core process of Windows Defender. Its role is to scan downloaded files for spyware, and quarantine or remove them if they are suspicious. It also scans your system for known worms, harmful software, viruses, and other such programs.
Many Windows users, irrespective of the Windows version they use, have reported that sometimes MsMpEng.exe causes high CPU usage, reaching even more than 80%.
MsMpEng.exe high CPU usage, how to fix it?
There are many problems that can occur with MsMpEng.exe, and users reported the following issues:
- Msmpeng.exe end process Access Denied – According to users, sometimes they might get Access Denied error message while trying to end this process. To fix this problem be sure to try some of our solutions.
- Msmpeng.exe eating memory, CPU – Sometimes this process can cause both high CPU and memory usage. This can drastically impact your performance, so it’s important to fix this problem as soon as you can.
- Msmpeng.exe excessive disk usage – In addition to high CPU usage, disk usage problems can also appear. Many users reported that this process is responsible for high disk usage on their PC.
- Msmpeng.exe encountered a problem – Sometimes this process can randomly crash on your PC. You can easily recognize this problem by Encountered a problem error message.
- Msmpeng.exe running constantly – Many users reported that Msmpeng.exe is running constantly in the background. According to them, this is causing high CPU usage on their PC.
- Msmpeng.exe slow boot – This process can also affect your boot time. Many users reported that their PC boots slowly due to this problem.
- Msmpeng.exe keeps running – Several users reported that this problem keeps running in the background. Due to high resource usage this process can drastically reduce your performance.
- Msmpeng.exe memory leak – Another common problem with this process are memory leaks. If this problem occurs on your PC, be sure to try some of our solutions.
There are multiple causes for this msmpeng.exe unusual behavior such as:
- the tool is scanning its own directory
- low hardware resources
- old antivirus registry files
- malware installed on your computer.
There are lots of free and paid antivirus programs available, and you can choose at any moment to remove Windows Defender, and replace it with a different antivirus. However, before taking such a decision fueled, perhaps by msmpeng.exe’s high CPU usage, you should try out the following workarounds to fix this issue.
Method 1 – Prevent Windows Defender from scanning its directory
For Windows 7:
- Go to Windows Defender > Tools > Advanced options.
- Open Excluded files and locations.
- Copy and paste the following path -> c:program fileswindows defender.
For Windows 10:
- Type Windows Defender in the search bar > double-click Windows Defender.
- Go to Settings > select Add an exclusion (the option is located at the bottom of the page).
3. Select Exclude a file and paste the following path -> C:program fileswindows defender.
Method 2 – Limit CPU Usage
For Windows 7:
- Go to Task Manager.
- Right-click the msmpeng.exe process in the Task manager list.
- In the context menu, select Set affinity.
- Choose the cores which you allow the particular process to use.
For Windows 10:
- Go to Task Manager > More details > click on the Details tab.
- Right-click msmpeng.exe > select Set affinity > select the CPU limit threshold.
Method 3 – Start your computer in Safe Mode
For Windows 7:
- Reboot your computer.
- Press F8 as your computer is restarting, before the Windows logo appears.
- When the Windows Advanced Options Menu appears on the screen, select “Safe Mode with Networking” and press Enter.
For Windows 10:
- Go to Settings.
- Select Update & Security > Recovery.
- Under Advanced startup, select Restart now.
- When your PC restarts to the Choose an option screen, select Troubleshoot > Advanced options > Startup Settings > Restart.
- You’ll then see a list of options > press F4 to start your PC in Safe Mode.
Method 4 – Remove Adware
You can use specialized software to remove adwaree. Two of the most popular such software programs are:
- AdwCleaner – it has more than 125 million downloads. This free software is compatible with Windows XP, Vista, 7, 8, 8.1, and Windows 10.
- Malwarebytes – detects and removes malware, spyware, adware, and anti-rootkit tech. You can try it for free for 14 days or buy a one-year subscription for $25.95 or a two-year subscription for $41.95.
Solution 5 – Reschedule Windows Defender
Windows Defender can sometimes cause problems with MsMpEng.exe and high CPU usage. To fix this problem, you need to reschedule Windows Defender by following these steps:
- Press Windows Key + S and enter task scheduler. Select Task Scheduler from the list of results.
- When Task Scheduler opens, in the left pane navigate to Task Scheduler Library/Microsoft/Windows/Windows Defender. In the right pane, double click on Windows Defender Scheduled Scan.
- When Properties window opens, go to Conditions tab. Make sure that 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 changes.
- Open the Properties window again and go to Triggers tab. Click on New.
- Choose Weekly or Monthly and select the desired properties. Once you’re done, click the OK button to save changes.
- Now go back to Task Scheduler and make the same changes for all Windows Defender tasks. You should have these tasks remaining: Windows Defender Cache Maintenance, Windows Defender Cleanup and Windows Defender Verification.
This is a bit advanced workaround, but you should be able to complete it by following our steps closely. Keep in mind that high CPU usage will reoccur when Windows Defender starts scanning. However, you can schedule the scan to take place once a month in order to avoid this problem.
Solution 6 – Disable Windows Defender
If you’re still having problems with MsMpEng.exe and high CPU usage, you might be able to fix the issue simply by disabling Windows Defender. Before you disable Windows Defender, be sure to install a third-party antivirus software in order to protect your PC. To disable Windows Defender, you need to do the following:
- Press Windows Key + R and enter gpedit.msc. Press Enter or click OK.
- Group Policy Editor will now start. Keep in mind that this feature is available only on Pro and Enterprise versions of Windows. However, you can also install Group Policy Editor on Home versions of Windows.
- In the left pane, navigate to Computer Configuration > Administrative Templates > Windows Components > Windows Defender Antivirus. In right pane, double click on Turn off Windows Defender Antivirus.
- When Properties window opens, select Enabled and click on Apply and OK to save changes.
If you can’t run Group Policy Editor on your PC, you can also fix this problem by modifying your registry. To do that, follow these steps:
- Press Windows Key + R and enter regedit. Press Enter or click OK.
- When Registry Editor opens, in the left pane navigate to HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows Defender.
- In the right pane, look for DisableAntiSpyware DWORD. If this DWORD isn’t available, right click the empty space and choose New > DWORD (32-bit) Value from the menu. Now enter DisableAntiSpyware as the name of the new DWORD and double click it.
- Set the Value data to 1 and click on OK to save changes.
After making the changes, Windows Defender will be disabled and the problem should be resolved.
Solution 7 – Disable Sample Submission
According to users, problems with high CPU usage and MsMpEng.exe can appear due to Sample Submission feature. This feature sends problematic files to Microsoft for analysis. Although this is a useful feature, it can cause problems to appear. To fix this issue, we need to disable this feature by doing the following:
- Open the Settings app and navigate to Update & security section.
- Navigate to Windows Defender on the menu on the left and click on Open Windows Defender Security Center.
- In the left pane, click on Virus & threat protection. Now click on Virus & threat protection settings.
- Locate Automatic sample submission and turn it off.
After doing that, check if the issue is resolved.
If you are not satisfied with result of the solutions suggested above, check out this article which will help you to choose another antivirus program.
Editor’s Note: This post was originally published in July 2016 and has been since completely revamped and updated for freshness, accuracy, and comprehensiveness.
RELATED STORIES YOU NEED TO CHECK OUT:
- Fix: Photo Background Task Host Causes High CPU Usage in Windows 10
- Fix: High CPU Temperature in Windows 10
- Best Windows 8, Windows 10 CPU Temperature Monitor Software to Use
- Fix: LockAppHost.exe Uses a Lot of Memory in Windows 10
Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]
The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]