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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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