RUNAS CMD (Run As)
Run a program with different credentials, commonly as Administrator. Syntax: runas /user:[domain\]user [command]
Step-by-step
- Open Command Prompt (press Win+R, type cmd, and press Enter)
- Syntax: runas /user:[domain\]user [command]
- Brief: Run a program with different credentials, commonly as Administrator.
- Example: runas /user:Administrator cmd
- Tip: Enter the target account's password when prompted.
Reference: learn.microsoft.com