Useful Tips

How to make a program run with high priority (on Windows)

It is possible to run programs with a higher priority than regular applications, however, if you run a program with a very high priority, system performance may decrease.

Priority takes values ​​in the range 0–31. Priorities from 0 to 15 can be used by dynamic applications, such as user applications and most operating system services. Priorities 16 through 31 are for real-time programs, such as the software core of a system whose data cannot be written to the page file. The usual priority level is 8.

The following is a complete list of priority levels:

· Real-time priority (Realtime) - 24,

· High priority (High) - 13,

Medium Priority (Normal) - 84

Low priority (Low) - 4,

· Above average (Above normal) - 10 (only in Windows XP),

· Below average (below normal) - 6 (only in Windows XP).

To start a program with a priority other than the default, use the start command:

start / high winword

To perform the same operation using a shortcut, enter the following command:

Remember that starting a program with a high priority can lead to a decrease in system performance, since other programs will receive less time for I / O operations. To use the / realtime option, you must have administrator privileges.

To change the privileges of an already running program, use the Task Manager program.

1. Open the Task Manager program (right-click on the taskbar and select the Task Manager command in the context menu).

2. Click on the Processes tab.

3. Right-click on the process of interest and select the Set Priority command.

4. Now you can select a different process priority.

5. Close the Task Manager window.

In addition, there is the possibility of increasing the priority of interactive programs compared to background ones.

1. Open the System menu in the Control Panel window (Start> Settings> Performance and Maintenance> System (Start> Settings> Performance and Maintenance> System)).

2. Click on the Performance tab.

3. In the Application Performance section, move the arrow to one of the values:

· None - active programs work just like background programs (range value 6).

· Middle - active programs work with increased priority to a value of range 12, background programs work with constant priority.

· Maximum - the priority of active programs is increased to 18, background programs work with the same priority.

Running the application with the desired priority

Changing the priority of the program through the task manager is not difficult, but what if you want the priority of the application to be set when the operating system starts? To do this, use a little trick.

In order to run the application with the desired priority, you must:

1. Create an application shortcut (right-click on the application icon -> create shortcut).

2. Right-click on the shortcut and select properties.

3. In the object field, append before the path to the application

C: Windows System32 cmd.exe / c start / priority,

where priority is the desired priority (low, Below Normal, Normal, Above Normal, High, RealTime)

Example. If you have written

then to run the application in low priority,