3

Is there an elegant way to make a program start with a low priority and remember it?

3 Answers 3

2

I would just change the shortcut or create a script that includes the priority as such:

start /low notepad.exe

Or you could write a script that searches for your specific program and sets its priority, and then schedule the script to run every now and then. Simply select the process you want with a WMI query from Win32_Process and use its SetPriority method.

1

You need to start the application with a non-default priority. Generally speaking the only reason to change a process priority is because the process either spikes or uses 100%cpu when another (more important process) needs time. You should always LOWER priority. Never raise priority above "above normal" unless you understand the process completely and understand the implications of "HIGH PRIORITY" (which in a nutshell can cause your system to appear unresponsive if misused).

To summarize don't do this unless you have a really really good reason to. If you are coming at this from a unix way of thinking every application is reniced in realtime.

There are 3rd party tools such as Prio that allow you to save priority settings.

0

You can also limit it to a number of CPUs which is useful for a piggy process.

start /low /minimized /afinity 01 notepad.exe

You must log in to answer this question.

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