Team OS : Your Only Destination To Custom OS !!

Welcome to TeamOS Community, Register or Login to the Community to Download Torrents, Get Access to Shoutbox, Post Replies, Use Search Engine and many more features. Register Today!

Tips & Tricks How To Set Cpu Process Priority For Apps In Win 10

Mindsnake2

TRUE PATRIOT AND FRIEND TO ALL!!
⭐ VIP
Member
Downloaded
9.2 GB
Uploaded
878.9 GB
Ratio
95.79
Seedbonus
27,520
Upload Count
0 (0)
Member for 7 years
How to Set CPU Process Priority for Applications in Windows 10

General
Windows shares processor resources between all running processes based upon their priority level.
If a process (application) has a higher priority level, it gets more processor resources for better
performance compared to a process having lower priority.

If you like, you can manually set priority for processes to run with

1. Realtime
2. High
3. Above normal
4.Normal
5. Below normal
6. Low


priority level in Windows based on your needs instead of the default priority.
The changes you make to the priority level of a process (application) are only TEMPORARY
and not set permanently. Once the application is CLOSED or you RESTART the computer, Windows
will forget the priority level you set for it.

This Tip will show you how to change the process priority of applications for processor
resources in Windows 10.

WARNING: It is not recommended to set processes to have a real-time priority level since it could
lower the performance of your system by causing all other lower priority processes to not have
the resources they need.

When you set a 100% CPU program to real-time priority,
you get what you asked for: The Old New Thing


CONTENTS:
First Option: To Change Priority of Running Process in Task Manager
Second Option: To Change Priority of Running Process in PowerShell
Third Option: To Change Priority of Running Process in Command Prompt
Fourth Option: To Start Application with a Set Priority in Command Prompt



How To Set CPU Process Priority for Applications in Windows 10

FIRST OPTION:
To Change Priority of Running Process in Task Manager


1. Open Task Manager in more Details view.
A) To open Task Manager, Right click on Taskbar, select Task Manager

NOTE: I used this example for demonstration. Feel free to open Task Manager another way if you wish.



A) Click/tap on the Details tab
B) Right click or press and hold on the process name (ex: "mspaint.exe")
C) Select Set priority, and click/tap on the level you want to set for this process. Normal is default. Here in this demonstration, we'll choose Above Normal

1) Realtime
2) High
3) Above normal
4) Normal
5) Below normal
6) Low priority




3. Click/tap on Change priority to confirm.



4. When finished, you can close Task Manager if you like.


OPTION TWO:
To Change Priority of Running Process in PowerShell


1. Open PowerShell.
To open an elevated PowerShell prompt,
A) in the Taskbar Search, type powershell.
B) Now see in the result window PowerShell which appears on the top.
C) Right-click on it and select Run as Administrator.



2. Copy Paste the command below into PowerShell, and press Enter.

Get-WmiObject Win32_process -filter 'name = "ProcessName"' | foreach-object { $_.SetPriority(PriorityLevelID) }



NOTE:
A)
Substitute ProcessName in the command above with the actual name of the running process
(ex: "mspaint.exe") you want to change the priority level of.

B) Substitute PriorityLevelID in the command above with the number (ex: "32768")
Look in the Table below for the Priority Level Name (ex: "Above normal") you want to set for this process.

For example, Copy Paste into Powershell this command:

Get-WmiObject Win32_process -filter 'name = "mspaint.exe"' | foreach-object { $_.SetPriority(32768) }

Priority Level ID Priority Level Name
1) 256
Realtime
2) 128
High
3) 32768
Above normal
4) 32
Normal
5) 16384
Below normal
6) 64
Low




3. When finished, you can close PowerShell if you like.



THIRD OPTION
To Change Priority of Running Process in Command Prompt


1. Open an Elevated Command Prompt
A)
In Taskbar Search type cmd
B)
Now see in the result window Command Prompt which appears on the top.
C) Right-click on it and select Run as Administrator.



2. Copy Paste the command below you want to use into the command prompt, and press Enter.

wmic process where name="ProcessName" CALL setpriority "PriorityLevelName"

OR

wmic process where name="ProcessName" CALL setpriority PriorityLevelID

NOTE:
A)
Substitute ProcessName in the command above with the actual name of the running process (ex: "mspaint.exe") you want to change the priority level of.

B) Substitute PriorityLevelName in the command above with the Priority Level Name (ex: "Above normal") in the Table below you want to set for this process.

C) Substitute PriorityLevelID in the command above with the number (ex: "32768") in the Table below for the Priority Level (ex: "Above normal") you want to set for this process.

For example:

wmic process where name="mspaint.exe" CALL setpriority "Above normal"

OR

wmic process where name="mspaint.exe" CALL setpriority 32768


Priority Level ID Priority Level Name
1) 256
Realtime
2) 128
High
3) 32768
Above normal
4) 32
Normal
5) 16384
Below normal
6) 64
Low




3. When finished, you can close the command prompt if you like.


FOURTH OPTION
To Start Application with a Set Priority in Command Prompt


1. Open an Elevated Command Prompt
A)
In Taskbar Search type cmd
B)
Now see in the results window Command Prompt which appears on the top.
C) Right-click on it and select Run as Administrator.



2. Type the command below into the command prompt, and press Enter.

start "" /PriorityLevelName "Full path of application file"

NOTE:
A)
Substitute PriorityLevelName in the command above with the Priority Level Name (ex: "AboveNormal")
in the Table below you want to set for this process.

B) Substitute Full path of application file in the command above with the actual full path of the application file

(ex: "C:\Windows\System32\mspaint.exe") you want to start.

For example:
start "" /AboveNormal "C:\Windows\System32\mspaint.exe"

Priority Level Name
1) Realtime
2) High
3) AboveNormal
4) Normal
5) BelowNormal
6) Low


3. When finished, you can close the command prompt if you like.




Nice little Tip if you want to give that needed application some CPU power that may get slowed down by background
or running similar applications and processes. Remember, this change is only TEMPORARY while the application is in use
and NOT permanent. Closing it or Restarting computer will reset it back to its default priority.

Regards, Mindsnake2
 
Last edited:

sebastian99

✅ Verified Member
Member
Downloaded
477.5 GB
Uploaded
146 TB
Ratio
313.13
Seedbonus
100,212
Upload Count
0 (0)
Member for 10 years
Good job.
Thank you :clap:
 

exotic

✅ Verified Member
Member
Downloaded
163.5 GB
Uploaded
68.6 TB
Ratio
429.54
Seedbonus
8,404
Upload Count
0 (0)
Member for 7 years
Many good tips, thank you!
 

Uncle Mac

🤴 Super Admin
Downloaded
91.3 GB
Uploaded
305.2 TB
Ratio
3423.12
Seedbonus
3,463,217
Upload Count
331 (350)
Member for 10 years
Thank you very much! :)
 
Top