Tuesday, December 8, 2009

找回Vista及Server 2008的RunAs 功能

The command-line Runas utility is handy for launching programs under different accounts, but it’s not convenient if you’re a heavy Explorer user. ShellRunas provides functionality similar to that of Runas to launch programs as a different user via a convenient shell context-menu entry.

Screenshot

ShellRunas

 

Using ShellRunas


Usage: shellrunas [/reg | [/quietreg ] | /regnetonly [/quiet] | unreg | [/netonly] <program> <arguments>


























/reg                      Registers ShellRunas shell context-menu entry
/regnetonlyRegisters Shell /netonly context-menu entry
Note: a command prompt will flash when the program starts
/unregUnregisters ShellRunas shell context-menu  entry
/quietRegister or unregisters ShellRunas shell context-menu entry without result dialog
/netonlyUse if specified credentials are for remote access only
<program>Runs program with specified credentials and parameters

http://technet.microsoft.com/en-us/sysinternals/cc300361.aspx Print Friendly and PDF
Share/Bookmark

No comments:

Post a Comment