quser

Windows CMD · Users and permissions · reference only

What it does

Shows the user sessions open on a computer: who is connected, from where and since when.

Syntax

quser [usuario | sesión | id] [/server:equipo]

Options and parameters

  • usuario

    Shows only that user's sessions.

  • nombre_sesión

    Shows only the session with that name.

  • id_sesión

    Shows only the session with that ID.

  • /server:equipo

    Queries a remote computer instead of the local one.

Usage examples

  • quser

    Lists the sessions open on the machine.

  • quser ana

    Shows only user ana's sessions.

  • quser /server:SRV01

    Queries who is connected to the SRV01 server.

  • quser | find "Active"

    Filters the active sessions on an English system; in Spanish the word is Activo.

Notes and common mistakes

  • The STATE column tells active sessions from disconnected ones.
  • It is not available in Windows Home editions.

Related commands