Windows 10: How to create a batch file to run a program at high priority?

  1.    08 Apr 2018 #1

    How to create a batch file to run a program at high priority?


    Hi,

    I would like to know how to create a batch file to run a program via it at high priority as default in Win 10?

    Please tell me!
    Thanks to all in advance!
    Best regards!
      My ComputerSystem Spec


  2. Posts : 30,704
    64-bit Windows 10 Pro build 17713
       08 Apr 2018 #2

    Hello tenmen, :)

    You could use the method in Option 4 of the tutorial below to create a shortcut or .bat file to always run a program with a high CPU priority.

    Set CPU Process Priority for Applications in Windows 10 Windows 10 Tutorials
      My ComputersSystem Spec

  3.    08 Apr 2018 #3

    Alternatively, you could use Nir Sofer's AdvancedRun (which gives a lot of configurable options).

    Note: Make sure you download the right version for your system, i.e. x32 or (more likely) x64.

    Use the AdvancedRun's GUI to create/save a configuration (.CFG) file with the parameters you want, e.g. process priority and/or elevation.

    From then on, use a BAT file.

    For example, say you want to run REGEDIT (the Registry Editor) as 'High Priority' and as 'System'.

    1. Download and unzip AdvancedRun (to, say, C:\Support).
    2. Use AdvancedRun's GUI to select your parameters (shown as a) then save them as a .CFG file (shown as b)... say, C:\Support\rrhpas.cfg.
    Click image for larger version. 

Name:	advancedrun 01.jpg 
Views:	1 
Size:	181.8 KB 
ID:	183956

    3. Create a .BAT file with the following to re-use the .CFG file.
    Code:
    C:\Support\AdvancedRun.exe /Run "C:\Support\rrhpas.cfg"

    When the .BAT file is run it will create the following process:
    Click image for larger version. 

Name:	advancedrun 02.jpg 
Views:	1 
Size:	92.6 KB 
ID:	183957

    Of course, you'll also have to deal with 'normal' elevation issues, e.g. using Task Scheduler to run the .BAT file.

    Hope this helps...
      My ComputerSystem Spec

  4.    08 Apr 2018 #4

    I have tried many ways for changing and saving the priorities to high, for games I play,and they succeeded,but only for one game the priority saves only as ''Above normal'' !
    How do I fix this? Please help me!Thanks!
      My ComputerSystem Spec


 

Related Threads
Create Multipurpose batch file in Software and Apps
Hope this is the correct sub forum for this.. Often use a variety of command line functions e.g. winver / netplwiz etc etc Is there a way of creating a batchfile to include multiple commands with a number option to select...would be so handy ...
How do I create a batch file to convert all of my iPod Photo Cache all at once to jpeg. I have SmartIV ImageZipper Image Converter 1.0.2. I have read how to use other software to do this but I can't figure out the command with this software. I have...
Solved Start a program from a batch file in Software and Apps
4 Apps of mine run a batch file that -tries- to call/start and EXE program. These Batch files need to work with OS XP thru Win 10. Win 10 has a pop-up window asking user if its okay to run/execute my EXE. No other Win version does this and thus I...
Start a program from a batch file in Software and Apps
I'm trying to create a batch file that should - call another batch file - start a program and then wait for the program to close - call another batch file My goal with this is to work around an issue in Windows 10 where the screensaver won't...
I am trying to use psshutdown.exe to create a batch file to shutdown my PC. I want the equivalent of "Shut Down" from the start menu. Should I use the switch -k or -s. I do not understand the difference between these arguments and I want to...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 11:25.
Find Us