Windows Defender is Microsoft default and most solid line of defense when it comes to a consumer’s cyber-protection. This is done thanks to the security intelligence definitions which it constantly updates.
However, those of you running Windows 10 on older PCs may notice that Windows Defender‘s max CPU usage for scans can be quite high at times.
If that is the case, then knowing how to reduce the CPU usage may help you in the long run.
How do I change Windows Defender’s max CPU usage for scans?
1. Change Windows Defender’s max CPU usage using PowerShell
- Open PowerShell with administrative rights
- Type in or copy-paste the following command:
- Get-MpPreference | select ScanAvgCPULoadFactor
- By doing this, you will display the current CPU usage percentage limit for Windows Defender.
- To change the value, type in or copy-paste the following command:
- Set-MpPreference -ScanAvgCPULoadFactor <percentage>
Keep note that the value of <percentage> needs to be between 5 and 100.
If you set the percentage value to 0, it will remove the CPU limit and allow Windows Defender to use up even 100% of it. This is not recommended as it can lead to unresponsive apps, freezing and even overheating.
2. Change Windows Defender’s max CPU usage using registries
- Press Win + R
- Type in regedit.exe
- This will open the Registry Editor
- Go to the following Registry key:
- HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows DefenderScan
- Edit or make a new 32-bit DWORD value AvgCPULoadFactor
- Switch the value data editor to Decimal
- Set the value data to a value of 5 to 100
If you want to undo the change, simply delete the DWORD you created.
3. Change Windows Defender’s max CPU usage using Group Policy
- Press Win + R
- Type in gpedit.msc
- The Group Policy Editor will open
- Go to Computer Configuration
- Go to Administrative Templates/Windows Components/Microsoft Defender Antivirus/Scan
- Double-click on the Specify the maximum percentage of CPU utilization during a scan policy
- Enable it
- Enter the desired CPU limit under Specify the maximum percentage of CPU utilization during a scan
- Select Apply
- Click OK
By following these steps, you can manage the average CPU usage that your Windows Defender uses up during scans.
Changing the value has both pros and cons. While higher values mean the scans will perform better, you won’t be able to make use of the PC until it is complete.
On the flip side, lower values mean your scans will take a long time, but you will at least be able to use your PC undisturbed.
Do you think changing Windows Defender‘s CPU usage is useful? Let us know in the comments section below.
RELATED ARTICLES YOU SHOULD CHECK OUT: