Windows 8 and 8.1 Forums


CPU Priority Shortcut for a Program - Create in Windows

  1. #1
    CPU Priority Shortcut for a Program - Create in Windows

    CPU Priority Shortcut for a Program - Create in Windows
    How to Create a Shortcut to Run an Application with a Specific CPU Priority in Windows
    Published by Brink is offline
    01 Feb 2014
    Default CPU Priority Shortcut for a Program - Create in Windows

    Published by


    Brink's Avatar
    Administrator

    Join Date: Jul 2009
    Posts: 22,582

    How to Create a Shortcut to Run an Application with a Specific CPU Priority in Windows


    information   Information
    Windows shares the processor time between all running processes based upon their priority level. If a process has a higher priority, it gets more processor time compared to a process having a lower priority.

    This tutorial will show you how to create a shortcut that will always run an application with a specific CPU priority by default in XP, Vista, Windows 7, and Windows 8.

    warning   Warning
    You should not set processes to have a realtime priority since it could easily slow your system to a crawl by causing lower priority processes to not have the resources they need.




    Here's How:

    1. Right click or press and hold on an empty area of your desktop, and click/tap on New and Shortcut.

    2. Type the command below into the location area, and click/tap on the Next button. (see screenshot below)

    cmd.exe /c start "Program Name" /priority "Full path of application file"


    For example: I would type this command below exactly if I wanted to create a shortcut to run Process Monitor using a high priority, and it's .exe file is located at "E:\Programs\Process Monitor 3.05\Procmon.exe".


    cmd.exe /c start "Process Monitor" /High "E:\Programs\Process Monitor 3.05\Procmon.exe"



    Note   Note
    Substitute Program Name in the command with the actual program's name within quotes.

    Substitute Full path of application file in the command with the full path of the file within quotes.

    Substitute priority in the command with the CPU priority level below you want the application file to run as.

    • Realtime
    • High
    • AboveNormal
    • Normal
    • BelowNormal
    • Low



    Name:  shortcut-1.jpg
Views: 80090
Size:  50.9 KB

    3. Type any name you would like to give the shortcut, and click/tap on the Finish button. (see screenshot below)

    Name:  shortcut-2.jpg
Views: 79525
Size:  38.8 KB

    4. Right click or press and hold on the new shortcut, and click/tap on Properties.

    5. Click/tap on the Shortcut tab, then click/tap on the Change Icon button. (see screenshot below)

    Name:  Shortcut-3.png
Views: 80018
Size:  27.1 KB

    6. In the line under "Look for icons in this file", copy and paste the same full path of the application file used in the shortcut below, and press Enter. (see screenshot below)


    For example: E:\Programs\Process Monitor 3.05\Procmon.exe


    Name:  Shortcut-4.jpg
Views: 79541
Size:  36.3 KB

    7. Select (highlight) the icon you want for the shortcut, and click/tap on OK. (see screenshot above)
    NOTE: You can use any icon that you would like instead though.

    8. Click/tap on OK. (see screenshot below step 5)

    9. In Vista and Windows 7, you can now Pin to Taskbar (Windows 7 only) or Pin to Start Menu, add to Quick Launch, assign a keyboard shortcut to it, or move this shortcut to where you like for easy use.

    10. In Windows 8, you can Pin to Taskbar on desktop, Pin to Start screen, add to Quick Launch, assign a keyboard shortcut to it, or move this shortcut to where you like for easy use.


    That's it,
    Shawn


  2. #1


    Posts : 4
    windows 8.1


    thanks for that tutorial it seems to work fine, but I do have one question. After changing the priority how can I verify the the priority actually changed? When I check in the task manager the priority still seems to be 'normal' so I'm wondering if it really changed it.

      My System SpecsSystem Spec

  3. #2


    Posts : 22,582
    64-bit Windows 10


    Hello JPS, and welcome to Eight Forums.

    In addition, you can use the method in the tutorial below to verify what CPU priority a process is running at.

    Process CPU Priority Level - View in Windows 8

    If it's not running what you set in the shortcut, then please post some screenshots of it in Task Manager and what you used for the shortcut. Also, post back with the name of the program, and I'll see if I may be able to get it to help test with.
      My System SpecsSystem Spec

  4. #3


    Posts : 4
    windows 8.1


    I think I see the problem now. The shortcut actually launches a launcher program which that starts the various processes so I'm not really setting the priority for process I need set to high. Without being able to change the launcher exe I don't think there any way to permanently launch one of the processes it launches to a different priority level. The program was I trying to permanently raise the priority for was Blue Stacks.
      My System SpecsSystem Spec

  5. #4


    Posts : 22,582
    64-bit Windows 10


    I'm not sure you'll be able change it's priority using this method since it's not the direct process.
      My System SpecsSystem Spec

  6. #5


    Posts : 4
    windows 8.1


    is there a way to programmically change the process priority after it launches?
      My System SpecsSystem Spec

  7. #6


    Posts : 22,582
    64-bit Windows 10


    You could probably create a .bat file to run the program, use a timeout command to wait a few seconds to let the secondary process run, then use the command below to change the secondary process priority to what you want. Substitute the parts in red below for what you want instead.

    wmic process where name="process name" CALL setpriority "value"

    Possible values: "idle", "low", "below normal", "normal", "above normal", "high priority", "realtime"
      My System SpecsSystem Spec

  8. #7


    Posts : 4
    windows 8.1


    thanks. that worked perfectly. created a .bat file and the program runs it after a short delay to set the priority as I like.
      My System SpecsSystem Spec

  9. #8


    Posts : 22,582
    64-bit Windows 10


      My System SpecsSystem Spec

  10. #9


    Posts : 10
    Windows 8 x64


    Is it possible this cannot work on Windows 10? Or that i'm doing it wrong?

    on a command-line, i entered:
    Code:
    cmd.exe /c start excel /HIGH
    When i checked Task Manager, it appeared that Excel was only running at "Normal" priority, not high.

    Thx!
      My System SpecsSystem Spec

Page 1 of 3 123 LastLast
CPU Priority Shortcut for a Program - Create in Windows
Related Threads
How to Create a Shortcut to Run an Application with a Set CPU Affinity in Windows Processor affinity or CPU Pinning enables the binding and un-binding of a process or thread to a physical CPU or a range of CPUs, so that the process or thread in question will run only on the CPU or range of...
How to Create a Forced Full "Shut Down" Shortcut in Windows 8 and 8.1 This will show you how to create or download a forced full Shut down computer shortcut with or without a time delay and custom message before the Windows 8 computer is shut down and powered off. This shortcut does not...
How to Create a OneDrive App Shortcut in Windows 8 and 8.1 Store any file on OneDrive (formerly SkyDrive) and it's automatically available or share from any device. With OneDrive for Windows 8, your files in the cloud are just a touch away. You can easily view, upload, and share your files on...
How to Create a Calculator App Shortcut in Windows 8.1 The Calculator app included in Windows 8.1 is a simple yet powerful app that includes a standard calculator, a scientific calculator, and a unit converter. Whether you’re using it to add up a bill, convert a recipe, or complete algebra,...
How to Create a "Screenshot" Capture Shortcut in Windows 8 and 8.1 This tutorial will show you how to download and use a "Screenshot" shortcut that will capture a screenshot of the desktop on all displays and save it as a .png file in Windows 8, Windows RT, Windows 8.1, and Windows RT 8.1. ...
How to Create a "Run" Command Dialog Box Shortcut in Windows 8 This tutorial will show how to create or download a Run shortcut that opens directly to the Run command dialog box on your desktop in Windows 8. The default keyboard shortcut to open the "Run" command dialog box is: Windows + R ...
How to Create a "Restart" Shortcut in Windows 8 and 8.1 This will show you how to create or download a Restart computer shortcut with or without a time delay and custom message before the Windows 8 computer is restarted. A time-out period can also be for how many seconds you have to use an...
Eight Forums Android App Eight Forums IOS App Follow us on Facebook