NanoTech-kw · Tech Guide Library

WHOAMI CMD (Who am I (current user))

Windows · CMD

Show the current user, domain, and groups. Syntax: whoami [/all]

Step-by-step

  1. Open Command Prompt (press Win+R, type cmd, and press Enter)
  2. Syntax: whoami [/all]
  3. Brief: Show the current user, domain, and groups.
  4. Example: whoami
  5. Tip: whoami /priv lists all security privileges of the current token.

Reference: learn.microsoft.com

Open in the NanoTech-kw library →