Start process in high priority

9

1

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?

Bishnu D.

Posted 2014-01-10T06:24:22.940

Reputation: 209

Answers

9

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

arundevma

Posted 2014-01-10T06:24:22.940

Reputation: 1 404

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 – djsmiley2k TMW – 2017-05-29T15:28:38.417

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 D. – 2014-01-10T07:43:17.073

1

Try somethinglike this win HCKU current version run:

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

Steev43230

Posted 2014-01-10T06:24:22.940

Reputation: 11

-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.

Kirbs09

Posted 2014-01-10T06:24:22.940

Reputation: 1

1The question was rather how to start process in high priority, not how to start it upon logon. – kenorb – 2015-09-18T00:04:28.913