- Runs shell command, or executables/scripts as another user of windows.
- x: logon username.
- y: logon password.
- z: allow skip (skip/noskip)
- Specifies if execution is blocking.
- Valid values: skip/noskip or "1" for allow skip and "0" for no skip.
- cmd: windows cmd to be executed.
- This can be a path to another executable, script, or anything you want to run.
- Pre-pending "@" to suppress shell output.
- RUNAS x y z cmd
- ex. RUNAS anotherUser anotherUserPW 1 cmd
- Opens cmd as anotherUser