"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

   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
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
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 MenuContext_Menu.jpg
Here's How:1. To Add "Run with priority" to Context MenuA) 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






 

Attachments

Last edited:
Fantastic Brink!

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

Right place this time. :o
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
n/a
OS
W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
CPU
AMD Phenom II x6 1100T, 3.3 GHz
Motherboard
ASUS M4A88T-M/USB3 (AM3)
Memory
12GB DDR3 1333 G-Skill (4GB x 2), G-Skill (2GB x 2)
Graphics Card(s)
NVIDIA GeForce GTX 660
Sound Card
Realtek?
Monitor(s) Displays
Samsung S23B350
Screen Resolution
1920x1080
Hard Drives
WD Green 2TB (SATA), WD Green 3TB (SATA), WD Blue 4TB (SATA), WD Blue 6TB (SATA)
PSU
Cooler Master
Case
Antec GX300 Tower
Cooling
3x Antec TRICOOL 120mm Fans
Mouse
Wired Optical
Internet Speed
DSL
Antivirus
Avast
Browser
Pale Moon (64 bit)
Other Info
2018-12-27 Upgraded HDDs
2015-12-10 Upgraded case, graphics card, storage
2015-08-15 Upgraded motherboard & RAM
2015-07-15 Upgraded LM17.1 to LM17.2
LOL, thank you Lehnerus. I'm happy that you like them. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
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
 
Last edited by a moderator:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Dwarf Dwf/11/2012 r09/2013
OS
Windows 8.1 Pro RTM x64
CPU
Intel Core-i5-3570K 4-core @ 3.4GHz (Ivy Bridge) (OC 4.4GHz)
Motherboard
ASRock Z77 Extreme4-M
Memory
4 x 4GB DDR3-1600 Corsair Vengeance CMZ8GX3M2A1600C9B (16GB)
Graphics Card(s)
MSI GeForce GTX770 Gaming OC 2GB
Sound Card
Realtek High Definition on board solution (ALC 898)
Monitor(s) Displays
ViewSonic VA1912w Widescreen (VGA)
Screen Resolution
1440x900
Hard Drives
OCZ Agility 3 SSD 120GB SATA III x2 (RAID 0)
Samsung HD501LJ 500GB SATA II x2
Hitachi HDS721010CLA332 1TB SATA II
Iomega 1.5TB Ext USB 2.0
WD 2.0TB Ext USB 3.0
PSU
XFX Pro Series 850W Semi-Modular
Case
Gigabyte IF233
Cooling
1 x 120mm Front Inlet 1 x 120mm Rear Exhaust
Keyboard
Microsoft Comfort Curve Keyboard 3000 (USB)
Mouse
Microsoft Comfort Mouse 3000 for Business (USB)
Internet Speed
NetGear DG834Gv3 ADSL Modem/Router (Ethernet) ~4.0 Mb/s (O2)
Antivirus
Avast! 8.0.1497
Browser
IE 11
Other Info
Optical Drive: HL-DT-ST BD-RE BH10LS30 SATA Bluray
Lexmark S305 Printer/Scanner/Copier (USB)
WEI Score: 8.1/8.1/8.5/8.5/8.25
Asus Eee PC 1011PX Netbook (Windows 7 x86 Starter)
Great work Dwarf!

That is great work also Dwarf! :D
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
n/a
OS
W7 Ultimate SP1, LM19.2 MATE, W10 Home 1703, W10 Pro 1703 VM, #All 64 bit
CPU
AMD Phenom II x6 1100T, 3.3 GHz
Motherboard
ASUS M4A88T-M/USB3 (AM3)
Memory
12GB DDR3 1333 G-Skill (4GB x 2), G-Skill (2GB x 2)
Graphics Card(s)
NVIDIA GeForce GTX 660
Sound Card
Realtek?
Monitor(s) Displays
Samsung S23B350
Screen Resolution
1920x1080
Hard Drives
WD Green 2TB (SATA), WD Green 3TB (SATA), WD Blue 4TB (SATA), WD Blue 6TB (SATA)
PSU
Cooler Master
Case
Antec GX300 Tower
Cooling
3x Antec TRICOOL 120mm Fans
Mouse
Wired Optical
Internet Speed
DSL
Antivirus
Avast
Browser
Pale Moon (64 bit)
Other Info
2018-12-27 Upgraded HDDs
2015-12-10 Upgraded case, graphics card, storage
2015-08-15 Upgraded motherboard & RAM
2015-07-15 Upgraded LM17.1 to LM17.2
Great work Dwarf. Thank you. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Back
Top