最後更新: 2018-07-10
Usage
runas /user:username "C:\full\path\of\Program.exe"
i.e.
runas /user:administrator cmd.exe
Control Panel with elevated privileges
Run Control Panel with elevated privileges
Control Panel: C:\Windows\System32\control.exe
Elevated privileges: runas /user:administrator "Control.exe"
常用功能
- appwiz.cpl # 新增移除
其他 cpl
- ls dir %WINDIR%/system32/*.cpl
Save Password
/profile # specifies that the user's profile should be loaded. (This is the default.)
runas /profile /savecred /user:.\admin "%windir%\system32\dfrgui.exe"