NanoTech-kw · Tech Guide Library

QUERY CMD (Query Sessions)

Windows · CMD

Show users logged on to the machine (RDP session info). Syntax: query user

Step-by-step

  1. Open Command Prompt (press Win+R, type cmd, and press Enter)
  2. Syntax: query user
  3. Brief: Show users logged on to the machine (RDP session info).
  4. Example: query user
  5. Tip: Works on local machine; query user /server:name checks a remote PC.

Reference: learn.microsoft.com

Open in the NanoTech-kw library →