Home >System Tutorial >Windows Series >How to adjust the CPU usage of Windows Defender in Win11
Windows Defender uses up CPU resources: Workaround Have you ever experienced a situation where Windows Defender consumes a lot of CPU resources, causing your computer's performance to slow down? PHP editor Youzi understands that this may be a common problem that troubles many Windows 11 users. This article takes a closer look at the issue and provides a step-by-step guide to help you adjust Windows Defender's CPU usage and get your PC running smoothly again.
How to adjust the CPU usage of Windows Defender in Win11?
Method 1.
1. First, press the [Win Terminal Administrator].
2. User Account Control window, do you want to allow this app to make changes to your device? Click [Yes].
3. Administrator: Windows PowerShell window, enter and press [Enter] to execute the following command.
Set-MpPreference -ScanAvgCPULoadFactor 50
The 50 here is 50%, you can enter 0, 5-100, but note that 0 is unlimited and not Disabled, the minimum can only be set to 5, the default is 50.
Method 2,
1. First, press the [Win run】.
2. Run the window, enter the [gpedit.msc] command, and press [OK or Enter] to open the Local Group Policy Editor.
3. In the Local Group Policy Editor window, expand to [Computer Configuration - Administrative Templates - Windows Components - Microsoft Defender Antivirus - Scanning].
4. Select and double-click to open [Specify the maximum percentage of CPU usage during scanning].
5. Specify the maximum percentage of CPU usage during the scan window, select [Enabled], and set the maximum percentage of CPU usage during the specified scan to [50].
Use this policy setting to configure the maximum percentage of CPU usage allowed during a scan. Valid values for this setting are percentages expressed as integers from 5 to 100. A value of zero (0) means there should be no limit on CPU usage. The default value is 50.
If this setting is enabled, CPU usage will not exceed the specified percentage.
If this setting is disabled or not configured, CPU usage will not exceed the default value.
Method three,
1. First, press the [Win In the menu item that opens, select [Run].
2. Run the window, enter the [regedit] command, and press [OK or Enter] to open the registry editor.
3. User Account Control window, do you want to allow this app to make changes to your device? Click [Yes].
4. Expand the Registry Editor window to the following path:
HKEY_LOCAL_MACHINESOFTWAREPoliciesMicrosoftWindows Defender.
5. Select [Windows Defender], click [right-click], and select [New-Item] in the menu item that opens.
6. Name the new item [scan], then click [right-click] in the blank space on the right, and in the menu item that opens, select [New-DWORD (32-bit) Value (D)].
7. Name the new DWORD (32-bit) value (D) as [AvgCPULoadFactor], then [double-click] to open it, modify the numerical data to [50], and select the base [Decimal].
The above is the detailed content of How to adjust the CPU usage of Windows Defender in Win11. For more information, please follow other related articles on the PHP Chinese website!