(Has)您的CPU最近是否处于 100% 利用率?如果您前往Windows中的(Windows)任务管理器(Task Manager)并查看您的进程选项卡,您可能已经注意到名为msmpeng.exe的进程占用了您所有可用的 CPU。
那么什么是 msmpeng.exe 以及如何防止它降低系统速度呢?好吧,与您可能在其他地方读到的内容不同,它不是间谍软件或恶意软件。这实际上非常具有讽刺意味,因为它与Microsoft的防病毒产品Windows Defender相关联。
Windows Defender是一个重要的(Defender)Windows反恶意软件和防病毒程序,除非您安装了第三方程序,否则您真的不应该关闭它,在这种情况下,它会自动关闭。
在本文中,我将介绍导致CPU(CPU)耗尽的不同原因以及您可以采取哪些措施来修复它。
执行扫描
如果您在Windows Defender(Windows Defender)执行扫描时碰巧查看了任务管理器,它显然会占用大量CPU周期。等到(Wait)扫描完成并再次检查您的CPU利用率。希望(Hopefully)它应该恢复正常。
不幸的是,没有任何方法可以更改Windows Defender的计划扫描时间。它只应在计算机空闲且在活动时间之外执行扫描。但是,如果您关闭计算机,它可能会在您使用它时执行扫描。
大多数自动扫描不会花费那么长时间,因此如果您发现您的计算机长时间运行缓慢,则可能是Windows Defender花费大量时间扫描不需要的目录或进程被检查。这将我们带到下一个可能的解决方案。
扫描排除项
找出要排除的内容的最佳方法是执行全面扫描并观察计算机上的所有项目。当您看到在特定目录中花费很长时间或扫描特定进程时,您可以将其添加到排除列表中。
您可以通过转到病毒(Virus)和威胁防护(Threat Protection)、病毒和威胁防护设置(Virus & Threat Protection settings)并最后单击添加或删除排除项( Add or remove exclusions)来执行此操作。
您可以将File、Folder、File Type或Process添加到排除列表。将有问题的项目添加到列表后,完成扫描所需的时间应该会大大减少。
关闭 Windows Defender
另一种选择是简单地关闭Windows Defender,除非你真的必须这样做,否则我不建议这样做。永久禁用Windows Defender之前的另一个选择是安装第三方防病毒程序。当您安装另一个防病毒产品时,Windows Defender会自动禁用自身,这样两个程序就不会相互干扰。
您可以通过多种方式在 PC 上禁用Windows Defender 。在Windows 10中,微软(Microsoft)真的不希望你这样做,所以你在安全中心(Security Center)唯一的选择就是暂时禁用实时保护。
另一种方法是编辑注册表设置。在您的 PC 上打开 regedit(单击开始(Open)并(Click)输入(Start)regedit )(regedit)并导航到以下目录:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
创建一个名为DisableAntiSpyware的新(DisableAntiSpyware)DWORD(32 位)值(DWORD (32-bit) Value)并将其设置为十进制值 1。继续并重新启动计算机,现在应该禁用Windows Defender 。您可以稍后删除此键或将值更改为 0 以重新启用Windows Defender。
永久禁用Windows Defender(Windows Defender)的第二种方法是使用组策略(Group Policy),该策略仅适用于 Windows 10 Pro或更高版本。单击(Click)开始并输入gpedit.msc并按 Enter。导航到以下文件夹:
Computer Configuration - Administrative Templates - Windows Components - Windows Defender Antivirus
您将在右侧窗格中看到一个名为Turn off Windows Defender Antivirus的选项。双击(Double-click)它并选择启用(Enabled)单选按钮。
希望您不需要禁用Windows Defender,因为它通常可以很好地保护您的计算机免受恶意软件和病毒的侵害。如果您有任何问题或以上内容对您没有任何帮助,请在评论中告诉我们,我们会尽力提供帮助。享受!
What is Msmpeng.exe and Should You Remove It?
Has your СPU been at 100% utilization lately? If you wеnt to the Task Manager in Windows and looked at your processes tab, you may have noticed a process callеd msmpeng.exe eating up all your available CPU.
So what is msmpeng.exe and how can you prevent it from slowing your system down? Well, unlike what you may have read elsewhere, it is not spyware or malware. It’s actually quite ironic because it’s associated with Windows Defender, the anti-virus product from Microsoft.
Windows Defender is an important anti-malware and antivirus program for Windows, which you really shouldn’t turn off unless you have a third-party program installed, in which case, it turns off automatically.
In this article, I’ll go through the different reasons why it could be using up your CPU and what you can do to fix it.
Performing a Scan
If you happened to look at task manager while Windows Defender was performing a scan, it obviously will be taking up a lot of the CPU cycles. Wait until the scan is finished and check your CPU utilization again. Hopefully, it should be back to normal.
Unfortunately, there isn’t any way to change the scheduled scan time for Windows Defender. It should only perform a scan when the computer is idle and outside of active hours. However, if you turn off your computer, then it might perform the scan while you are using it.
Most automatic scans shouldn’t take that long, so if you’re seeing that your computer is running slow for long periods, it could be that Windows Defender is spending a lot of time scanning a directory or a process that doesn’t need to be checked. This brings us to the next possible solution.
Exclusions from Scanning
The best way to figure out what to exclude is to perform a full scan and watch as it goes through all the items on your computer. When you see that it is taking a long time in a particular directory or when scanning a specific process, you can then add that to the exclusions list.
You can do this by going to Virus & Threat Protection, then Virus & Threat Protection settings and finally clicking on Add or remove exclusions.
You can add a File, Folder, File Type or Process to the exclusion list. Once you add the offending items to the list, the amount of time it takes to complete the scan should be cut down significantly.
Turn off Windows Defender
The other option is to simply turn off Windows Defender, which I don’t recommend unless you really must. Another option before permanently disabling Windows Defender is to install a third-party anti-virus program. When you install another anti-virus product, Windows Defender automatically disables itself so that the two programs don’t interfere with each other.
There are a couple of ways you can disable Windows Defender on your PC. In Windows 10, Microsoft really don’t want you to do this, so the only option you have in the Security Center is to disable real-time protection temporarily.
The other way is to edit a registry setting. Open regedit on your PC (Click on Start and type in regedit) and navigate to the following directory:
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows Defender
Create a new DWORD (32-bit) Value called DisableAntiSpyware and give it a decimal value of 1. Go ahead and restart your computer and Windows Defender should be disabled now. You can delete this key or change the value to 0 later on to re-enable Windows Defender.
The second way to permanently disable Windows Defender is to use Group Policy, which will only work on Windows 10 Pro or higher versions. Click on start and type in gpedit.msc and press enter. Navigate to the following folder:
Computer Configuration - Administrative Templates - Windows Components - Windows Defender Antivirus
You’ll see an option in the right-hand pane called Turn off Windows Defender Antivirus. Double-click on that and select the Enabled radio button.
Hopefully, you don’t need to disable Windows Defender as it normally does an excellent job of keeping your computer safe from malware and viruses. If you have any issues or nothing above worked for you, let us know in the comments and we’ll try to help. Enjoy!