How to Set CPU Priority to Prefer Foreground Apps

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

  1. First of all, press the Windows Logo+R shortcut key to open the Run box.
  2. Type regedit.exe in the Run box then hit the enter button.
  3. It will open Registry Editor where you can manage all the registry keys.
  4. In the Registry Editor, navigate to the following location – Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl
Set CPU Priority to Prefer Foreground apps
  1. Now double click the Win32PrioritySeparation key, and then change the Default Value data from 2 to 26, then click the Ok.
Set CPU Priority to Prefer Foreground apps

In the future, if you might want to go back to the default settings, so change the Value data from 26 to 2.

Related article: What is YourPhone.exe in Windows 10? How to remove this? Is it a Virus?

Method 2: Using Advanced System Settings

  1. First of all, open the System Properties (Right-click the This PC/My Computer Icon and then select the Properties).
  2. Then, select the Advanced System Settings.
change CPU Priority for background services
  1. In the System Properties, navigate to the Advanced Tab. Then, under the Performance section, click the Settings.
Set CPU Priority to Prefer Foreground apps
  1. This will open Performace settings options. Under the Processor scheduling, select the “Adjust the best performace of: Programs,” then OK.
Set CPU Priority to Prefer Foreground apps

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.

  1. Right-click the Taskbar/Titlebar, then select Task Manager.
  2. On the Task Manager, navigate to the Details section.
  3. Right-click the Program and set Priority as a Normal, High, or Default.
Set CPU Priority to Prefer Foreground apps
  1. 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.

Leave your reply here

Scroll to Top