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 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 and Windows 8
Published by Brink
02 Dec 2011
Published by

How to Add or Remove "Run as Administrator" from Context Menu in Windows 7 and Windows 8

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 and Windows 8.

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
Name:  Example.jpg
Views: 29617
Size:  36.5 KB

-windows8.jpg

-windows_8.1_update.jpg

Here's How:
1. Do step 2 or 3 below for what you would like to do.

2. To Restore "Run as administrator" to the 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 4 below.
Restore_Run_as_administrator.reg
download
2. To Remove "Run as administrator" from the Context Menu
A) Click/tap on the Download button below to download the file below, and go to step 4 below.
Remove_Run_as_administrator.reg
download
4. Save the .reg file to your desktop.

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

6. If prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve merging.

7. When finished, you can delete the .reg file if you like.
That's it,
Shawn





22 Apr 2013   #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
22 Apr 2013   #2
Brink
Microsoft MVP

64-bit Windows 10
 
 

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
24 Apr 2013   #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" (Win7) to Administrator
For those who have not got the option here is how I do it in Win7.
Built-in Administrator Account - Enable or Disable
Now, just select Administrator to log in as Administrator.
My System SpecsSystem Spec
.


24 Apr 2013   #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
24 Apr 2013   #5
Brink
Microsoft MVP

64-bit Windows 10
 
 

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
27 Apr 2013   #6
execcese

Windows 7 Ultimate x32
 
 

Many thanks Brink for this useful information.
My System SpecsSystem Spec
27 Apr 2013   #7
Brink
Microsoft MVP

64-bit Windows 10
 
 

You're most welcome execcese.
My System SpecsSystem Spec
30 Jun 2014   #8
DYAN LOPEZ

32 bit windows 7
 
 

hey thnks .. the file "restore run as adm .." is excellent ..!!
My System SpecsSystem Spec
Comment

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




Tutorial Tools





Similar help and support threads
Windows 7 Tutorial Category
New Context Menu - Remove & Restore Default Menu Items
How to Remove and Restore the Default "New" Context Menu Items in Windows 7 and Windows 8 This will show you how to either remove or restore the default New context menu items in Windows 7 and Windows 8. These include the NEW - Folder, Shortcut, Bitmap image, Contact, Journal Document, Rich...
Tutorials
remove element desktop context menu windows 7
how to delete element from the desktop context menu windows 7 :cry: :cry: :mad: :cry: :cry: here http://img209.imageshack.us/img209/2706/khaliltitan.png but I want the normal menu
Customization
Pin to Start Menu - Add or Remove from Context Menu in Windows 7
How to Add or Remove "Pin to Start Menu" from Context Menu in Windows 7 This will show you how to add or remove Pin to Start Menu from the context menu of all users in Windows 7. You must be logged in as an administrator to be able to do the steps in this tutorial. If this doesn't...
Tutorials
Pin to Taskbar - Add or Remove from Context Menu in Windows 7
How to Add or Remove "Pin to Taskbar" from Context Menu in Windows 7 and Windows 8 This tutorial will show you how to add or remove Pin to Taskbar item from the context menu of all users in Windows 7 and Windows 8. You must be logged in as an administrator to be able to do the steps in this...
Tutorials
Unable to remove MagicISO context menu from right click menu in Win 7
Hey it's been a while since I've last been here, I really enjoy this Win 7 community hope everyone is doing well. Anyway let me cut to the chase, basically I want to be able to remove the MagicISO context menu from the right click context menu in Windows 7. See pics to understand what I'm...
Customization
Run as administrator - Add to MSI File Context Menu
How to Add "Run as administrator" to Context Menu of MSI Files in Windows This will show you how to add Run as administrator to the context menu of all MSI files for all users in Vista, Windows 7 and Windows 8. You must be logged in as an administrator to be able to do this tutorial. ...
Tutorials

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 10:42.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App