Windows Defender is Microsoft default and a most solid line of defence when it comes to a consumer’s cyber-protection. 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.
Use PowerShell to change Windows Defender’s max CPU usage
This is an easy procedure, but care must be taken as you are using PowerShell with administrator rights
- 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.
Change Windows Defender 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.
- 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
A final note
By following these steps, you can manage the average CPU usage that your Windows Defender uses up during scans.
For more information contact Ryan Danvers of ABACON IT on 072 601 2858