12

When windows starts I see most of the processes start in normal priority. I can manually change the priority of a running process. But what I want is when a particular process starts it be automatically set to run in high priority.

How is that possible?

3 Answers 3

14

You can start a process in high proirity in command line. Use the start command.

start ["title"] [/dPath] [/i] [/min] [/max] [{/separate | /shared}] [{/low | /normal | /high | /realtime | /abovenormal | belownormal}] [/wait] [/b] [FileName] [parameters]

eg:- start "Explorer" /high "C:\Windows\explorer.exe" For easy access type this into a notepad and save as file with "bat" extension. Then you only have to double click this file

2
  • I understand we can definitely set priority using command line. But what I want it to to automate the process, and no user action needs to be required. I am thinking that I can store the .bat file somewhere and tell windows to execute it automatically at logon. Does it make correct sense?
    – Bishnu Das
    Jan 10, 2014 at 7:43
  • How do you call it when you want to do it at login @BishnuD.? I'd commend you call this entire process instead of just the process you want to start.... so start "whateverthisis#" /high /path/to/the/executable May 29, 2017 at 15:28
1

Try somethinglike this win HCKU current version run:

cmd /c start "Google Sync" /belownormal "C:\Program Files\Google\Drive\googledrivesync.exe" /autostart
-5

Right click and drag the file to the startup folder under the start menu, and create a shortcut there. Windows automatically runs anything under the startup menu upon logon.

1
  • 2
    The question was rather how to start process in high priority, not how to start it upon logon.
    – kenorb
    Sep 18, 2015 at 0:04

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .