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
usuarioShows only that user's sessions.
nombre_sesiónShows only the session with that name.
id_sesiónShows only the session with that ID.
/server:equipoQueries a remote computer instead of the local one.
Usage examples
quserLists the sessions open on the machine.
quser anaShows only user ana's sessions.
quser /server:SRV01Queries 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.