Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: "Run with Priority" - Add or Remove from Context Menu

"Run with Priority" - Add or Remove from Context Menu

How to Add or Remove "Run with Priority" to Context Menu of EXE Files in Windows
Published by Brink
07 May 2010
Published by

How to Add or Remove "Run with Priority" to Context Menu of EXE Files in Windows

information   Information
This will show you how to add or remove Run with Priority to the context menu of all application (exe) files and shortcuts for all users to run it with a High, Above Normal, Normal, Below Normal, or Low processor priority level in Vista, Windows 7, or Windows 8/8.1.

Windows shares the processor time between all running processes based upon their priority. If a process has a higher priority, it gets more processor time compared to a process having a lower priority.

You must be logged in as an administrator account to be able to add or remove the Run with Priority context menu item.

Note   Note
The Run with Priority context menu will not work if used with shortcuts, it must be used directly on the .exe file instead.

The changes you make to the priority level of the current instance of an application or process are only temporary and not set permanently.

Once you close the application or restart your system, Windows forgets your custom priority and automatically assigns the default priority back to this process or application.

warning   Warning
If the Application "Runs as administrator"
If UAC permission is required to run the application as administrator, then the Run with Priority context menu item will not work unless:
Set priority for Vista, Windows 7, or Windows 8/8.1 in an elevated Task Manager (Show processes from all users) instead. This would be the preferred way.
OR
Turn off UAC in Vista, Windows 7, or Windows 8/8.1 by setting it to Never Notify and restart computer to have it always work. It is not recommended to leave UAC turned off.

EXAMPLE: "Run with Priority" Added to Context Menu
Name:  Context_Menu.jpg
Views: 3716
Size:  32.3 KB
Here's How:
1. To Add "Run with priority" to Context Menu
A) Click/tap on the Download button below to download the file below, and go to step 3 below.
Add_Run_with_priority.reg
download
2. To Remove "Run with priority" from Context Menu
NOTE: This is the default setting.
A) Click/tap on the Download button below to download the file below, and go to step 3 below.
Remove_Run_with_priority.reg
download
3. Save the .reg file to your desktop.

4. Double click/tap on the downloaded .reg file to merge it.

5. If prompted, click/tap on Run, Yes (UAC-Windows 7/8) or Continue (UAC-Vista), Yes, and OK to approve the merge.

6. When done, you can delete the downloaded .reg file if you like.


That's it,
Shawn






08 May 2010   #1
lehnerus2000

Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 17 MATE (64 bit)
 
 
Fantastic Brink!

That is excellent work (better than my idea about using a batch file)!

Right place this time.

My System SpecsSystem Spec
08 May 2010   #2
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

LOL, thank you Lehnerus. I'm happy that you like them.
My System SpecsSystem Spec
09 May 2010   #3
Dwarf

Windows 8.1 Pro RTM x64
 
 

You can't merge these files into the registry from within a standard account - you must use an administrative account instead. If these files were converted to their batch equivalents, then it would be possible to merge the entries into the registry as a batch file can be run in both standard and elevated mode (it is the elevated mode which will be required here).

Here are the equivalent codings for the batch file versions. They are arranged in the same order as in the main Tutorial. Note that these MUST be run with administrative credentials.


1. To Add Run with Realtime Priority to Context Menu
NOTE: Running an application with Realtime processor priority may cause temporary delays and appear to hang until the application is finished. It's best to only use this priority level if you will not be having anything else running.

Code:
@ECHO OFF
REG ADD "HKCR\exefile\shell\Run with Realtime Priority" /ve /f
REG ADD "HKCR\exefile\shell\Run with Realtime Priority\Command" /ve /t REG_SZ /d "cmd.exe /c start \"Run with Realtime Priority\" /Realtime \"%%1\"" /f
2. To Remove Run with Realtime Priority from Context Menu

Code:
@ECHO OFF
REG DELETE "HKCR\exefile\shell\Run with Realtime Priority" /f
3. To Add Run with High Priority to Context Menu

Code:
@ECHO OFF
REG ADD "HKCR\exefile\shell\Run with High Priority" /ve /f
REG ADD "HKCR\exefile\shell\Run with High Priority\Command" /ve /t REG_SZ /d "cmd.exe /c start \"Run with High Priority\" /High \"%%1\"" /f
4. To Remove Run with High Priority from Context Menu

Code:
@ECHO OFF
REG DELETE "HKCR\exefile\shell\Run with High Priority" /f
5. To Add Run with Above Normal Priority to Context Menu

Code:
@ECHO OFF
REG ADD "HKCR\exefile\shell\Run with Above Normal Priority" /ve /f
REG ADD "HKCR\exefile\shell\Run with Above Normal Priority\Command" /ve /t REG_SZ /d "cmd.exe /c start \"Run with Above Normal Priority\" /AboveNormal \"%%1\"" /f
6. To Remove Run with Above Normal Priority from Context Menu

Code:
@ECHO OFF
REG DELETE "HKCR\exefile\shell\Run with Above Normal Priority" /f
7. To Add Run with Normal Priority to Context Menu

Code:
@ECHO OFF
REG ADD "HKCR\exefile\shell\Run with Normal Priority" /ve /f
REG ADD "HKCR\exefile\shell\Run with Normal Priority\Command" /ve /t REG_SZ /d "cmd.exe /c start \"Run with Normal Priority\" /Normal \"%%1\"" /f
8. To Remove Run with Normal Priority from Context Menu

Code:
@ECHO OFF
REG DELETE "HKCR\exefile\shell\Run with Normal Priority" /f
9. To Add Run with Below Normal Priority to Context Menu

Code:
@ECHO OFF
REG ADD "HKCR\exefile\shell\Run with Below Normal Priority" /ve /f
REG ADD "HKCR\exefile\shell\Run with Below Normal Priority\Command" /ve /t REG_SZ /d "cmd.exe /c start \"Run with Below Normal Priority\" /BelowNormal \"%%1\"" /f
10. To Remove Run with Below Normal Priority from Context Menu

Code:
@ECHO OFF
REG DELETE "HKCR\exefile\shell\Run with Below Normal Priority" /f
11. To Add Run with Low Priority to Context Menu

Code:
@ECHO OFF
REG ADD "HKCR\exefile\shell\Run with Low Priority" /ve /f
REG ADD "HKCR\exefile\shell\Run with Low Priority\Command" /ve /t REG_SZ /d "cmd.exe /c start \"Run with Low Priority\" /Low \"%%1\"" /f
12. To Remove Run with Low Priority from Context Menu

Code:
@ECHO OFF
REG DELETE "HKCR\exefile\shell\Run with Low Priority" /f
My System SpecsSystem Spec
.


10 May 2010   #4
lehnerus2000

Windows 7 Ultimate SP1 (64 bit), Windows XP SP3, Linux Mint 17 MATE (64 bit)
 
 
Great work Dwarf!

That is great work also Dwarf!
My System SpecsSystem Spec
10 May 2010   #5
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Great work Dwarf. Thank you.
My System SpecsSystem Spec
Comment

 "Run with Priority" - Add or Remove from Context Menu




Tutorial Tools




Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 09:28 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33