Useful Tips

How to change the priority of a process and how to save it (high, low)

Our experienced team of editors and researchers contributed to this article and tested it for accuracy and completeness.

A team of content managers carefully monitors the work of editors to ensure that each article meets our high quality standards.

In this article, you will learn how to change the priority of a Windows process in Task Manager. Changing the priority of a process determines which system resources will be allocated to it.

Work with priorities.

Each running program or process on Windows has priority. Usually, Windows OS “knows” to whom and what to allocate, and does this automatically (without user intervention). In general, the diversity of priorities is not so big:

  1. > (when setting this priority, some software may slow down),
  2. Below Normal
  3. Normal (medium) - most programs run with medium priority,
  4. Above Normal (above average),
  5. High
  6. Real Time is the highest priority. When it is set, this program will be executed in the first place.

I note that with priorities High and Real time you need to be extremely careful: in some cases, when setting them up, the computer may freeze or Windows will shut down with an error.

One more tip: there is no need to prioritize each program you run (Windows does this well in auto mode). As a rule, it makes sense to specify the priority for 2 ÷ 5 frequently used applications that are most important to you.

Change Priority

And so, in order to change the priority of a running program (process) in Windows - you must use task manager . To call it, press the key combination Ctrl + Shift + Esc (or Ctrl + Alt + Del).

To call the task manager - press Ctrl + Shift + Esc

Next, open the tab "Details" (this is for Windows 10, for Windows 7 - “Processes”) and find the desired process in the list (note: the name of the program matches the name of the process).

After, click on the desired process right with the mouse button: in the menu that appears, go to the tab Set Priority and specify the one you need.

Priority setting for a running process

Actually, that’s all! Now the launched program will work with a new priority. When setting real-time priority - perhaps the computer will start to slow down.

Saving Priority Using Registry Settings

After the computer restarts (or when the program restarts), the priority you set is reset (that is, Windows automatically sets it again). And it is not very convenient.

But with the help of the registry settings, you can "save" the priority you specified (that is, Windows will "know" that this program needs to be run with this priority).

How to do it:

    first you need to open the registry editor (click Win + r , and enter the command regedit , click OK). Whoever doesn’t open the editor, I bring one old note to help:

regedit - open registry editor

then you need to open the following registry branch (you can simply copy and paste it into the editor): HKEY_LOCAL_MACHINE SOFTWARE Microsoft Windows NT CurrentVersion Image File Execution Options

What branch in the registry do you need to open

then you need to find out the exact name of the executable file of the program (game). To do this, simply right-click on its shortcut and go to the properties . After, in the section "Label" - in line "An object" copy the name of the executable file,

Find out the name of the game executable / Clickable

Now in the open registry branch, create a section (folder) with the name of the program executable file (which we learned in the previous step). In my case, this is "civilization4.exe" (without quotes and with small letters!),

Create Section / Registry

further in the branch with the name of the game (program) create another section (folder) and name it "PerfOptions" see example below

final touch: in the "PerfOptions" section, create a DWORD parameter (32), name it " Cpupriorityclass "and set the value based on the requirements, in my case it is" 3 "(note: 1 - low priority, 5 - below average, 8 - medium, 6 - above average, 3 - high).

Create DWORD32 Parameter

ultimately it will turn out as shown in the screenshot below.

What happened in the end!

  • Now when you start the game Civilization - Windows will automatically set it high priority.
  • For Windows 7 there is a special. Prio program that allows you to set (and save) priorities for almost any program and process. True, in Windows 10 it does not work (that's why I gave a universal working way for all modern Windows OSs above).

    Launching the application with the desired priority (via the command line)

    There is another option for setting the application priority - this is the command line (of course, if you create a "BAT" file, then by running it, you can always have a program with the desired priority).

    How to do it:

      create a plain text file on the desktop (for example),

    Create a text document

  • further add to it a "specific string": cmd.exe / c start / high / D "C: games Sid Meier's Civilization 4 Complete Beyond the Sword " Civ4BeyondSword.exe
  • note in this line you need to change the path to the installed game (program) on the disk ("C: games Sid Meier's Civilization 4 Complete Beyond the Sword ") and the name of its executable file (Civ4BeyondSword.exe) to your data ,

    Insert a line into notepad and save

    then save the text file, close it and rename the extension: from "TXT" to "BAT" (or "CMD"). If you do not see the file extension, check out this note here:>

    Change the extension of the notepad from TXT to CMD

  • Now you can click on the resulting file and the game will start with the priority you need. Conveniently?!
  • Additions on the topic will be very helpful.