Modify CPU Priority for Foreground Apps

To set CPU priority to prefer foreground applications, there are several methods presented to carry out. Follow methods below to set CPU priority to prefer foreground applications.

Modify CPU Priority Via Control Panel

In the initial step, get access into Microsoft windows with admin user account. Run Quick Access configurations by Windows key + X on keyboard. Now click on Control Panel from menu. In the Control Panel simply click System and Security and after that click “System” in System and Security widow. Click on the “Advanced System Settings” over the next display window and “System Properties” window will show.

Select “Advanced” and next select “Settings”. A new window labeled as Performance Options starts where you should select Advanced tab once more and tick Programs to ‘Adjust for best performance of programs’ under Processor Scheduling and click on Apply and OK. "Adjust for best performance of programs" setting is often picked by default in Windows Operating-system.

Modify CPU Priority Via Registry Editor

Press Win Key + R to start Run textbox, type “regedit” and push enter to begin Registry Editor. View this registry key.

HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlPriorityControl

Locate “Win32PrioritySeparation” on right side and alter its value. Double click on the Win32PrioritySeperation particular field of Registry Editor where you may view the value figures to be 2. Alter the value to 26 to allow further resources to foreground apps. If you desire to increase performance of background applications then simply make that Value figures as 18.

Click below link for further details:

https://howtodid.com/set-cpu-priority-prefer-foreground-apps/