NanoTech-kw · Tech Guide Library

RUNAS CMD (Run As)

Windows · CMD

Run a program with different credentials, commonly as Administrator. Syntax: runas /user:[domain\]user [command]

Step-by-step

  1. Open Command Prompt (press Win+R, type cmd, and press Enter)
  2. Syntax: runas /user:[domain\]user [command]
  3. Brief: Run a program with different credentials, commonly as Administrator.
  4. Example: runas /user:Administrator cmd
  5. Tip: Enter the target account's password when prompted.

Reference: learn.microsoft.com

Open in the NanoTech-kw library →