Permanent Process Priority

devin1qaz11

Solid State Member
Messages
6
Location
ca
Been to all corners of the internet and can't find a program/procedure to permanently set a game's process priority to "high". You can do it through task manager but then when you tab back in/do anything it reverts back to normal priority. Please help!
 
You could try making a batch file to launch the program instead. Just create a new blank txt doc, rename it "LaunchGame.bat" or whatever (just make sure you change the extension to .bat), then inside put:

Start /high yourprogramname

That'll launch it with high priority, dunno if it'll change if you're tabbing in/out of a game though.
 
You could try making a batch file to launch the program instead. Just create a new blank txt doc, rename it "LaunchGame.bat" or whatever (just make sure you change the extension to .bat), then inside put:

Start /high yourprogramname

That'll launch it with high priority, dunno if it'll change if you're tabbing in/out of a game though.
The only problem with that is the game is launched from a separate launcher which does not provide launch options sadly.
 
You can try AutoHotkey - https://autohotkey.com/download/
Use the included "WindowSpy" program to get the details about your game window (i.e. launch WindowSpy, run your game and you'll see the details in WindowSpy), then set GameTitle to the game's window title.

Code:
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
#SingleInstance Force
#Persistent

Loop{
GameTitle = *game window title found via WindowSpy here*
WinWaitActive, %GameTitle%
    WinGet, GamePID, PID, %GameTitle%
    Process, Priority, %GamePID%, High
WinWaitNotActive, %GameTitle%
    Sleep 200
}

Add ^that^ to a blank autohotkey script and save. Right click on the .ahk file and choose "compile script" and it'll make it into an .exe for you that you can set to run on startup.
 
Last edited:
You can try AutoHotkey - https://autohotkey.com/download/
Use the included "WindowSpy" program to get the details about your game window (i.e. launch WindowSpy, run your game and you'll see the details in WindowSpy), then set GameTitle to the game's window title.

Code:
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
#SingleInstance Force
#Persistent

Loop{
GameTitle = *game window title found via WindowSpy here*
WinWaitActive, %GameTitle%
    WinGet, GamePID, PID, %GameTitle%
    Process, Priority, %GamePID%, High
WinWaitNotActive, %GameTitle%
    Sleep 200
}

Add ^that^ to a blank autohotkey script and save. Right click on the .ahk file and choose "compile script" and it'll make it into an .exe for you that you can set to run on startup.
Can't seem to get it to change the priority. Every time I fidget with the game it seems to change the Window Title of the game because it's attached to a unique ID number.
 
You can also try matching it off the Class and/or EXE if the window title keeps changing

e.g. using Window Spy on Firefox as an example (see pic below), you could change "WinWaitActive" to:

Code:
WinWaitActive, ahk_class MozillaWindowClass ahk_exe firefox.exe

FqfvtLa.png
 
Back
Top Bottom