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

24 Feb 2016   #10
jonnyhotchkiss

Windows 7 Ultimate 64bit
 
 
check running status? (eg is notepad running as admin)

Quote   Quote: Originally Posted by slundy99 View Post
I realize this post is quite old, but wanted to 'fix' the erroneous assumption that this only works for certain types. It's not actually 'executing' the file you're trying to 'open'. It's executing the program used to view/use/edit the file as an admin. So yes it can work for ANY file type. I was looking to see if someone had made a program that can do this instead of having to manually go through and add the necessary reg entries, and stumbled on this post. Just wanted to clear that up.
like brink said?

for everyone like me that just wanted to know how, the reg removes the offending runas subkeys
from the related filetypes...

; For .bat file extention
[-HKEY_CLASSES_ROOT\batfile\shell\runas]


; For .cmd file extention
[-HKEY_CLASSES_ROOT\cmdfile\shell\runas]


; For .cpl file extention
[-HKEY_CLASSES_ROOT\cplfile\shell\runas]


; For .exe file extention
[-HKEY_CLASSES_ROOT\exefile\shell\runas]


; For .msc file extention
[-HKEY_CLASSES_ROOT\mscfile\shell\RunAs]

I used to have some option to always run as admin, not sure if currently implemented.. can we test this, maybe by a flag in taskman, or a cmd, to see the active privileges? (if yes, HOW?!)

On a sidenote, does anyone know if a custom stringLabel can be added for shellextension context-menu entries?

I've analysed the shex for NVIDIA (I'd like to change the "Run with gfx" option to "Run with GFX")
I've looked at the dll and it's exported methods, and searched {a copy of} nvui.dll for the string "run ", but nothing is found.


grrr


My System SpecsSystem Spec
.
Comment

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




Tutorial Tools Search this Tutorial
Search this Tutorial:

Advanced Search




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 07:13.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App