ShellRunas使用
shellRunas微软官网链接
适用于windows平台(win xp, win 7, win 10 均可使用)
是一个方便使用者使用不同的账户运行应用程序的一个小工具(当然如果你需要频繁的切换用户的话就会比较麻烦)
Usage:
1 | shellrunas /reg [/quiet] |
Parameter | Description |
---|---|
/reg | Registers ShellRunas shell context-menu entry |
/regnetonly | Registers Shell /netonly context-menu entry Note: a command prompt will flash when the program starts |
/unreg | Unregisters ShellRunas shell context-menu entry |
/quiet | Register or unregisters ShellRunas shell context-menu entry without result dialog |
/netonly | Use if specified credentials are for remote access only |
<program> | Runs program with specified credentials and parameters |
举个栗子:
运行如下命令
1 | ShellRunas.exe \reg |
然后就能看到提示 shellRunas 的右键菜单成功注册了
然后再在应用程序上右击就能看到以不同用户运行的选项了
输入用户名和密码即可