How to Alter a Program's Base Priority at a Command Prompt

Article translations Article translations
Article ID: 191771 - View products that this article applies to.
This article was previously published under Q191771
Expand all | Collapse all

SUMMARY

This article describes how to use the START command to alter a program's base priority level at a command prompt.

MORE INFORMATION

By default, the Windows NT Thread Scheduler service assigns processor time to a thread according to the priority level that is coded in the program. You can alter a program's priority by using the START command and specifying a priority level. The available priority levels are: Low (idle), Normal, High, and Realtime. When you run a program with the START command, the specified priority applies to the primary thread. Note that the program can call subsequent threads at its internally coded priority level. Running a program with Realtime priority may disrupt normal system operation and result in slow mouse response. For most situations, there is no need to run programs at anything other than the internally coded normal priority.

To run a program and specify its base priority at a command prompt, use the following syntax:

start /<priority> <program>

The following sample steps describe how to run Notepad with Realtime priority:

  1. At a command prompt, type the following line, and then press ENTER:

    start /realtime notepad.exe
  2. To verify the priority level, press CTRL+ALT+DELETE to open the Windows NT Security dialog box.
  3. Click Task Manager.
  4. Click the Processes tab.
  5. On the View menu, click Select Columns, click to select the Base Priority check box, and then click OK.
  6. In the list of processes, locate Notepad.exe and confirm its base priority level.

Properties

Article ID: 191771 - Last Review: October 31, 2006 - Revision: 1.1
APPLIES TO
  • Microsoft Windows NT Workstation 4.0 Developer Edition
  • Microsoft Windows NT Server 4.0 Standard Edition
  • Microsoft Windows NT Server 4.0 Enterprise Edition
Keywords: 
kbenv kbhowto KB191771

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com