[SOLVED] How To: Game-Process Priority Permanently

Status
Not open for further replies.

TechQuestion1

Great
BANNED
Jan 13, 2020
134
4
85
How to permanently change priority from any game-process in windows 10.
Insturctions:
All processes are listed in the taskmanager, to open this application press: CONTROL+ALT+DELETE



Press [WIN +R] now in the searchbar type: regedit
Press ENTER
Now the registry is open, copy paste this path in the searchbar:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options
Or simply navigate there by yourself.


Rightklick [Image File Execution Options] select NEW, select KEY, press ENTER
then rightklick and rename the (new key) to the game-process which you want to
change its priority from.
To find out your games process name open your taskmanager [Control+ALT+DEL]
Start your game and find the process, in the taskmanager process list.
Rightklick the game-process, choose DETAILS.

Now you see something like this:
Example: csgo.exe
Rightklick the game-process
Choose open path
Rightklick the result, choose rename
Copy the process name. (you will notice the .exe wont be copied, you must add it later)
Now close the taskmanager, open the registry.

Rightklick on [Image File Execution Options] select NEW, select KEY, press ENTER
rename the (new key) to: [yourgame.exe]
Next rightklick on [yourgame.exe] select NEW, select KEY, press ENTER
and rename the (new key) to: PerfOptions
Now rightklick on PerfOptions and select NEW, choose DWORD (32Bit)
press ENTER then rename the REG_DWORD to: CpuPriorityClass
press ENTER then rightklick on CpuPriorityClass and press EDIT,
type in this value: 3
press ENTER.

Done, The Programm/Game will now permanently run with "High" priority. (value 3 is high, there are diffrent ones)
To find out what exactly the diffrence from [normal] and [high] priority is, please call MicrosoftSupport and waste 2 hours lifetime in waiting queuo...
 
To find out what exactly the diffrence from [normal] and [high] priority is, please call MicrosoftSupport and waste 2 hours lifetime in waiting queuo...
https://docs.microsoft.com/en-us/windows/win32/procthread/scheduling-priorities
"The system treats all threads with the same priority as equal. The system assigns time slices in a round-robin fashion to all threads with the highest priority. If none of these threads are ready to run, the system assigns time slices in a round-robin fashion to all threads with the next highest priority. If a higher-priority thread becomes available to run, the system ceases to execute the lower-priority thread (without allowing it to finish using its time slice) and assigns a full time slice to the higher-priority thread. For more information, see Context Switches. "

Translation=if you put the game on high it is much less probable that some other task that is running will cut into the processing time of your game.
 

TechQuestion1

Great
BANNED
Jan 13, 2020
134
4
85
https://docs.microsoft.com/en-us/windows/win32/procthread/scheduling-priorities
"The system treats all threads with the same priority as equal. The system assigns time slices in a round-robin fashion to all threads with the highest priority. If none of these threads are ready to run, the system assigns time slices in a round-robin fashion to all threads with the next highest priority. If a higher-priority thread becomes available to run, the system ceases to execute the lower-priority thread (without allowing it to finish using its time slice) and assigns a full time slice to the higher-priority thread. For more information, see Context Switches. "

Translation=if you put the game on high it is much less probable that some other task that is running will cut into the processing time of your game.

Your "translation" confirm my toughts, high priority is above normal which means the gamesprocess is more important than 90% of the other active processes.
So basically a possible performance increase?
 
Status
Not open for further replies.