Command to find logged-on users on Windows Vista
Computers May 5th, 2009If you are using one of the public/lab machines and want to find out information about the users logged on to that machine, just open the command prompt (Start->Run, type “cmd”) and type
query user
For each user, it returns information like username, sessionname, id, state, idle time and logon time. If the state is “active”, that means the user is currently logged on. If the sessionname is something like “rdp-tcp#0″, that means the user is connected to the machine over a remote desktop session.
Related posts:
Recent Comments