Gianmarco79 Posted March 6, 2007 Share Posted March 6, 2007 Hi,Does anybody knows how I could add the following command to my contextual menu when I right click :runas /user:someuserI would like to specifiy a particular user for the runas command and just having to type in the password but not having deal with the usual Runas GUI...Thanks Link to comment Share on other sites More sharing options...
Gianmarco79 Posted March 6, 2007 Author Share Posted March 6, 2007 Ok well I found by myself finally...but for those who would be interested here is what I used :Windows Registry Editor Version 5.00[HKEY_CLASSES_ROOT\*\Shell][HKEY_CLASSES_ROOT\*\Shell\RunAsUser]@="Run As Youruser"[HKEY_CLASSES_ROOT\*\Shell\RunAsUser\Command]@="C:\\WINDOWS\\system32\\runas.exe /user:youruser \"%1\"" Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now