If you ever checked the Task Manager, you might have seen many programs, including the programs you’re using or not using, running in the background. Thousand of processes are executed in the background to run Windows on a computer. The CPU executes all the programs according to the priority level.
Every program has given a priority level; according to that, the CPU provides importance to the program. Windows has its priority level for every program and service running on the computer, that you can adjust. If you set the high priority level for any program, it will not mean that it will use more CPU resources. The CPU will execute the program first, having a high priority level, then choose a lower priority level program.
Program execution depends on how fast the CPU is. If the CPU can execute millions of operations per second, so you don’t need to adjust the priority level for the programs, Windows will automatically adjust for the best performance.
Set CPU Priority to Prefer Foreground Apps
However, if you think adjusting the CPU priority for background services may increase the performance of the foreground app. Therefore, In this guide, we will show three ways to set the CPU priority to prefer foreground apps.
Method 1: Using Registry Editor
- First of all, press the Windows Logo+R shortcut key to open the Run box.
- Type regedit.exe in the Run box then hit the enter button.
- It will open Registry Editor where you can manage all the registry keys.
- In the Registry Editor, navigate to the following location – Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl
- Now double click the Win32PrioritySeparation key, and then change the Default Value data from 2 to 26, then click the Ok.
In the future, if you might want to go back to the default settings, so change the Value data from 26 to 2.
Method 2: Using Advanced System Settings
- First of all, open the System Properties (Right-click the This PC/My Computer Icon and then select the Properties).
- Then, select the Advanced System Settings.
- In the System Properties, navigate to the Advanced Tab. Then, under the Performance section, click the Settings.
- This will open Performace settings options. Under the Processor scheduling, select the “Adjust the best performace of: Programs,” then OK.
This is already set as a default setting in Windows 10. If this setting is not set on your computer, you must use this setting to get better CPU performance.
Related article: How to Reset Forgotten Windows 10 password
Method 3: Using Task Manager to Set CPU Priority
On the Task Manager, you can find a list of the programs and background services running on the computer. You can end the process, start the process, set CPU priority for background services, and do other things.
- Right-click the Taskbar/Titlebar, then select Task Manager.
- On the Task Manager, navigate to the Details section.
- Right-click the Program and set Priority as a Normal, High, or Default.
- Similarly, you can change CPU Priority for other Programs and Background services.
I hope using these methods you can set the CPU priority to prefer foreground apps. If you see any performance issue for foreground apps, then you can change the CPU priority to default.