Jump to content

Recommended Posts

Posted

Hi,

Does anybody knows how I could add the following command to my contextual menu when I right click :

runas /user:someuser

I 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


Posted

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\""

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...