Windows 7 Forums


Windows 7: Run as Administrator - Add or Remove from Context Menu in Windows 7


Run as Administrator - Add or Remove from Context Menu in Windows 7

How to Add or Remove "Run as Administrator" from Context Menu in Windows 7
Published 02 Dec 2011
Published by

Featured Tutorial

User Profiles - Create and Move During Windows 7 Installation
User Profiles - Create and Move During Windows 7 Installation

How to Create User Accounts on another Partition or Disk During Windows 7 Installation

Troubleshooting Windows 7 Failure to Boot
Troubleshooting Windows 7 Failure to Boot



Microsoft Account - Sign up for and Create
Microsoft Account - Sign up for and Create

How to Sign up for and Create a Microsoft Account

Peppermint3 - Create Live CD/DVD/USB To Use For Emergency Backup
Peppermint3 - Create Live CD/DVD/USB To Use For Emergency Backup

How to Perform an Emergency Data Backup When Windows 7 Will Not Boot

Clean Up Factory Bloatware
Clean Up Factory Bloatware



Emergency Kit - save your files from a dead OS
Emergency Kit - save your files from a dead OS

How to Create and Use a Linux Mint Mate USB Flash Drive to Recover your Files
How to Add or Remove "Run as Administrator" from Context Menu in Windows 7

information   Information
This will show you how to either remove or restore Run as administrator from the context menu of the default BAT, CMD, CPL, EXE, and MSC application files for all users in Windows 7.

You must be logged in as an administrator to be able to do the steps in this tutorial.


EXAMPLE: "Run as administrator" in Context Menu of Application Files
Run as Administrator - Add or Remove from Context Menu in Windows 7-example.jpg


Here's How:
1. To Restore "Run as administrator" to the Context Menu
NOTE: This is the default setting.
A) Click on the Download button below to download the file below.
Restore_Run_as_administrator.reg
download
B) Go to step 3.
2. To Remove "Run as administrator" from the Context Menu
A) Click on the Download button below to download the file below.
Remove_Run_as_administrator.reg
download
3. Click on Save, and save the .reg file to the desktop.

4. Right click on the downloaded .reg file and click on Merge.

Tip   Tip
If you do not see a Merge option when you right click on the REG file, then you will need to check in Default Programs to set the reg file extension to have it's Current Default program set as Registry Editor (C:\Windows\regedit.exe). Afterwards, try merging the REG file again.


5. Click on Run, Yes, Yes, and OK when prompted.

6. When done, you can delete the downloaded .reg file if you like.
That's it,
Shawn








Need more help? Try searching our extensive help and support site.
Loading
4 Weeks Ago   #1
execcese

Windows 7 Ultimate x32
 
 

Shaun this tut is great. I am not a beginner but I do not know how to determine the hex number after "@=hex(2)" in the file Restore_Run_as_administrator.reg
I would like to add the extensions JPG, DOC, DOCX, RAR & ZIP, how do I determine the hex numbers for these?
I noticed these lines were different for EXE, is this the only case or are there others that are similar

My System SpecsSystem Spec

4 Weeks Ago   #2
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

Hello execcese, and welcome to Seven Forums.

Unfortunately, adding "Run as administrator" to those file types' context menu would be pointless since they are not application type files and would not work.
My System SpecsSystem Spec
4 Weeks Ago   #3
execcese

Windows 7 Ultimate x32
 
 

Thanks for your reply Brink. Sorry I just did not have that knowledge. I'll just have to "Switch User" (Windows 7) to Administrator
For those who have not got the option here is how I do it in Windows 7.
Built-in Administrator Account - Enable or Disable
Now, just select Administrator to log in as Administrator.

Last edited by Brink; 4 Weeks Ago at 09:24 AM.. Reason: added tutorial link for more info
My System SpecsSystem Spec
.


4 Weeks Ago   #4
execcese

Windows 7 Ultimate x32
 
 

With regards to my previous reply you may have to use the file Properties then Security tab to enable permissions for the Administrator.
With regards to my original query. When I double click on a JPG file it opens in Irfan View because that is what I have set "Open with" to in Properties. Are you saying adding "Run as administrator" to the context menu cannot be done or it will not work?
My System SpecsSystem Spec
4 Weeks Ago   #5
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

execcese,

"Run as administrator" can only be used on executable application files. A JPG is an image file and not an application type file.

For what you want, you could use OPTION FIVE in the tutorial below to set the .exe file of Irfan View to always Run this program as an administrator. This way when you open the JPG file, it will open with an elevated (run as administrator) Irfan View.
Run as Administrator
My System SpecsSystem Spec
3 Weeks Ago   #6
execcese

Windows 7 Ultimate x32
 
 

Many thanks Brink for this useful information.
My System SpecsSystem Spec
3 Weeks Ago   #7
Brink

64-bit Windows 7 Ultimate SP1 & Windows 8 Enterprise
Texas
 
 

You're most welcome execcese.
My System SpecsSystem Spec
Comment

 Run as Administrator - Add or Remove from Context Menu in Windows 7 problems?



Tutorial Tools



Similar help and support threads for: Run as Administrator - Add or Remove from Context Menu in Windows 7
Windows 7 Tutorial Category
New Context Menu - Remove & Restore Default Menu Items Tutorials
Pin to Start Menu - Add or Remove from Context Menu in Windows 7 Tutorials
Pin to Taskbar - Add or Remove from Context Menu in Windows 7 Tutorials
Solved Unable to remove MagicISO context menu from right click menu in Win 7 Customization
Run as administrator - Add to MSI File Context Menu Tutorials


All times are GMT -5. The time now is 06:03 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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
  

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