Subscribe to Windows IT Pro

 

Get Newsletters

  • Get the Latest News
  • Product Updates
  • Helpful Tricks
  • Productivity Tips

Subscribe Now!

March 20, 2000 12:00 AM

How can I run an Application at a higher priority?

Windows IT Pro
InstantDoc ID #14500
Rating: (15)

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.

Related Content:

ARTICLE TOOLS

Comments
  • Anonymous User
    7 years ago
    May 13, 2005

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

    Anyone?

  • Anonymous User
    7 years ago
    May 11, 2005

    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
    7 years ago
    Apr 30, 2005

    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
    7 years ago
    Jan 18, 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
    7 years ago
    Jan 04, 2005

    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"

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

White Papers

Get your Windows 7 deployment off to the right start by implementing PC lockdown. A locked-down environment is easier and cheaper to support since users are less likely to make unnecessary changes to the core system configuration - read more here!

Essential Guides

Is your iSCSI "lossy"? The reality is that most off-the-shelf Ethernet hardware deployed for iSCSI can lose packets, resulting in slow performance or application downtime. Learn how to assess your current iSCSI infrastructure and engineer an advanced iSCSI SAN infrastructure.

Web Seminars

What's the best way to keep your network safe from malware? In this web seminar, security expert Greg Shields suggests an alternative method to the traditional blacklisting approach that is common with anti-virus and anti-malware solutions.

eLearning Series

We bring the experts direct to you to share their real-world perspective and expertise. During each event, three sessions stream in real time, so you can learn, ask questions, and get solutions.
Upcoming event: Getting the Most with Exchange 2010 with Paul Robichaux

Subscribe to Windows IT Pro!

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.