runas
CautionRun as another user
runas /user:<domain\user> <command>
Runs a program under different credentials — the standard way to do admin tasks on user PCs.
Examples
runas /user:CORP\admin-taro cmdOpen an elevated CMD as admin user
Syntax
runas /user:<user> [/savecred] <command>
Before you run it
Avoid /savecred — it caches credentials.
The same reference, with no signal at all
Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).
Get it free on the App Store