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: 18221
Size:  36.5 KB

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

Run as Administrator - Add or Remove from Context Menu in Windows 7-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 8.1 Enterprise
 
 

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" (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.
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 8.1 Enterprise
 
 

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 8.1 Enterprise
 
 

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




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:00 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