Windows IT Pro is the leading independent community for IT professionals deploying Microsoft Windows server and client applications and technologies.
  
  
  Advanced Search 



How can I run an Application at a higher priority?

RSS
Subscribe to Windows IT Pro | See More Performance Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

A. It is possible to start an application at a priority other than normal, however if you run applications at high priority THEY may slow performance. Priorities range from 0 to 31, 0 - 15 are used by Dynamic applications, such as user applications and most of the operating system parts, 16-31 are used by real time applications like the kernel which cannot be written to the page file. Normal priority is level 8 (NT 3.51 normal was 7). The full list is

  • realtime, priority 24
  • high, priority 13
  • normal, priority 8
  • low, priority 4
  • abovenormal 10 (Windows 2000 only)
  • belownormal 6 (Windows 2000 only)

To start an application at a priority other than the default use the start command, e.g.

start /<priority> <application>, e.g. start /high winword

To do the same thing from a shortcut just use:

cmd /c start /<priority> <application>

Be warned that if you run applications at high priority may slow performance as other application get less I/O time. To use the /realtime option you have to be logged on as a user with Administrator privileges.

To modify the privilege of a currently running application use Task Manager

  1. Start Task Manager (Right Click on the Start Bar and select Task Manager)
  2. Click on the Processes tab
  3. Right Click on the required process and select "Set Priority"
  4. You can then select a different priority
  5. Close Task Manager

It is also possible to increase the priority of whichever application is currently in the foreground, as opposed to the background processes.

  1. Start the System Control Panel Applet (Start - Settings - Control Panel - System)
  2. Click the Performance tab
  3. In the Application Performance tab move the arrow
    - None - The foreground application runs the same as background applications (quantum value of 6)
    - Middle - The foreground application has its priority increased to a quantum value of 12, background applications stay the same.
    - Maximum - The foreground application has its priority increased to 18, background applications stay the same.

End of Article



Reader Comments
Is there a command line to alter process priority
** AFTER ** the process has started similar to
nice command in Unix? thanks.

Yu Le May 13, 2003


Just what I needed - thanks! I need to put SPSS on a Citrix server, and now I can do it at a lower priority and not drag down all the other apps on that server.

Brendan White August 28, 2003


This is an example of the shortcut I made in Windows XP. It automatically loads my PowerDVD.exe in high priority.
In the "target field" I have:
C:\WINDOWS\system32\cmd.exe "C:\Program Files\CyberLink\PowerDVD\" /c start /high PowerDVD.exe

Im not sure if there is a better way to do this but this works for me.

Matthew Bowler September 16, 2003


cmd /c start /high winword successfully opens the program but task manager indicates it is still running @ normal. Is this a flaw in my cmd or in tak manager?

foschini July 21, 2004 (Article Rating: )


Try:
cmd /c start "runlow" /low "c:\windows\system32\charmap.exe"
Note the "runlow". Without it, it won't even run.
Ofc, if you want high pri. it should say:
cmd /c start "runhigh" /high "c:\windows\system32\charmap.exe"

Anonymous User January 04, 2005


I need something that works when the process is started by another application, and passes commands to it at the same time. I've found monitoring programs that switches priority on selected processes automatically, but there should be an easier way, like adding a registry key to _always_ start a program in a certain priority.

Anonymous User January 18, 2005 (Article Rating: )


Like the person before me, I'm also looking for a registry tweak to tell an application to run a different priority by default (ie: always).

any Ideas?


Anonymous User April 30, 2005 (Article Rating: )


In my computer with XP Pro, I have installed Personal Firewall and Antivirus, all are automatically load when the computer start.
My problem is Antivirus always load first then the Firewall, in this situation my Antivirus can not do the automatically update because the network connection blocked by the Firewall.
How can I adjust the loading process so it can start the Firewall first and after it running then start the Antivirus automatically?

Anonymous User May 11, 2005 (Article Rating: )


I, too, am looking for a registry key (or some other way) to always load a process at a certain priority.

Anyone?

Anonymous User May 13, 2005 (Article Rating: )


You must be a registered user or online subscriber to comment on this article. Please log on before posting a comment. Are you a new visitor? Register now




Top Viewed ArticlesView all articles
Confirmed: Battery Life Issues Not Windows 7's Fault

Microsoft on Monday issued a lengthy statement about the recent Windows 7 battery controversy, echoing my assessment from earlier in the day, but backing it up with hard, cold evidence. ...

Microsoft Warns of Windows Version Expirations

Microsoft warned that this year will see three out-of-date Windows versions slip into retirement. ...

Battery Life Issues Almost Certainly Not Windows 7's Fault

While Microsoft is still investigating a notebook battery life issue that was supposedly caused by Windows 7, some interesting trends have emerged. ...


Windows OSs Whitepapers Protecting Microsoft SharePoint

Related Events Deep Dive into Windows Server 2008 R2 presented by John Savill

Configuration Manager SP1 and R2 Overview

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Introducing Left-Brain.com, the online IT bookstore
Looking for books, CDs, toolkits, eBooks? Prime your mind at Left-Brain.com

Discover Windows IT Pro eLearning Series!
Clear & detailed technical information and helpful how-to's, all in our trademark no-nonsense format


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro DevProConnections IT Job Hound
Left-Brain.com Technology Resource Directory asp.netPRO ITTV Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 © 2010 Penton Media, Inc. Terms of Use | Privacy Statement