General discussion


Show which computer a user is logged in2

By lowrys ·
Does anybody know of a script or any tools that will display which computer(s) a user has logged into?

We have Windows XP and Win2000 Advanced Server here in a domain environment with Active Directory.

I appreciate anybodys help on this one!!!

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by infoguy In reply to Show which computer a use ...

Try loggedon2 from Assarbad at

It will show everybody logged on to your domain and which pc they are logged on from.

Collapse -

by sgt_shultz In reply to Show which computer a use ...

could you make a custom log or trigger emails on login of this user from the security event log on the domain controller?
i bet this is a report that is built into ad...

Collapse -

by dmiles In reply to Show which computer a use ...

Download PsLoggedOn. I quote:

PsLoggedOn is an applet that displays both the locally logged on users and users logged on via resources for either the
local computer, or a remote one. If you specify a user name instead of a computer,
PsLoggedOn searches the computers in the network neighborhood and tells you if the user is currently logged on.

PsLoggedOn's definition of a locally logged on user is one that has their profile loaded into the Registry,
so PsLoggedOn determines who is logged on by scanning the keys under the HKEY_USERS key.
For each key that has a name that is a user SID (security Identifier),
PsLoggedOn looks up the corresponding user name and displays it. To determine who is logged onto a computer via resource shares,
PsLoggedOn uses the NetSessionEnum API. Note that PsLoggedOn will show you as logged on via resource share to remote computers
that you query because a logon is required for PsLoggedOn to access the Registry of a remote system.

Just copy PsLoggedOn onto your executable path, and type psloggedon.
this address has the download

Collapse -

Here's your answer. Sorry, it's not complicated :)

by derek In reply to Show which computer a use ...

From any windows xp or above computer joined to the active directory domain, type the following from a command prompt. And yes, you need the quotes or it won't work.

net view | find "username"

Related Discussions

Related Forums