Numéro d’article: 000128249
Does your computer lock up during Windows Defender Scans?
When you check the system performance on an application such as the Process Explorer, is MsMpEng.exe showing excessive usage of the computers resources?
Does this take from 80% to 100% of the computers resources, causing the computer to grind to a slow crawl or lock up?
If any of the above statements are true, then you should read through the following section of this article.
The following sections are the methods that Microsoft recommends stopping the MxMpEng.exe file from causing high hard drive and CPU usage on your computer.
MsMpEng.exe - Its role is to scan files for spyware, and quarantine or remove them if they are suspicious. It also scans your computer for known worms, harmful software, viruses, and other such programs.
Windows Defender comes default installed with Windows 11 and Windows 10.
That means that any additional software is installed after Windows Defender - Windows defender keeps them from installing or running correctly.
Right-click the Start Icon and choose Control Panel from the menu.
Go to Programs and Features and remove any of these types of programs that are listed there.
Windows Defender does not come installed with Windows 8 and Windows 7.
After installing Windows Defender, Windows defender keeps any new software from installing or running correctly.
If Windows Defender was installed after these other types of software - these software programs keep Windows Defender from installing correctly.
Open the Control Panel from the Start menu.
Go to Programs and Features and remove any of these types of programs that are listed there, including Windows Defender.
Install the program that you want to use going forward.
One reason for the high load is the MsMpEng.exe file scanning its folder. If you have a known folder on your computer that is causing Windows Defender an issue, you can get Windows Defender to ignore it.
Click the Start Icon and type Windows Defender. Double-click the icon when it appears in the search list.
Click Settings and select Add an exclusion from the bottom of the window.
Choose Exclude a folder and enter the path of the wanted directory. In this case: C:\program files\windows defender
(Figure.1 Add an Exclusion Settings Window)
Open the Windows Defender utility. Open the Tools and Advanced Options sections.
Open Excluded Files and Locations.
Enter the path of the wanted directory. In this case: C:\program files\windows defender
You can set the MsMpEng.exe file to use a specific processor in the computer to avoid high CPU usage. However, it cuts the scan speed of Windows defender and the fan runs slower than usual. Is slow scan speed better for you than having high CPU usage? Apply the following steps to set the affinity in limited mode.
Open Task Manager:
Right-click the taskbar and select Task Manager.
Right-click the Start Icon, select Task Manager.
Click the Start Icon and type Task Manager, click the task manager icon from results.
Go to the Details tab.
Right-click the process name msmpeng.exe and select Set affinity.
(Figure.2 Set Affinity in Task Manager Window)
Choose the CPU limit that you allow the process to use.
Open Task Manager:
Right-click the taskbar and select Task Manager.
Ctrl/Alt/Del pressed together gives an on-screen menu, select Task Manager.
Search for Task Manager, click the icon from the results.
Go to the Processes tab.
Right-click the process msmpeng.exe and select Set affinity.
Choose which cores of the CPU that you allow the process to use.
Disabling Windows Defender is a severe answer that solves your issue that is related to high CPU usage.
Open a Run Window and type gpedit.msc:
Press the Windows and R key together.
Open the start menu and select Run.
This opens the Group Policy Editor. (This is only available on Pro and Enterprise editions. There are ways to install it on Home editions, but this article does not cover them.)
(Figure.3 The Group Policy Editor)
Scroll down the left-hand side tree structure until you get to Computer Configuration. Open it and go to Administrative Templates, then Windows Components. Look for Windows Defender anti-virus.
In the right-hand side pane, double-click Turn off Windows Defender anti-virus.
A Properties window opens, choose Enabled and click Apply and OK to save the change, then close all the windows.
24 nov. 2023
5
Solution