Which Users logged on the Domain

  • Thread starter Thread starter Kashif Mughal
  • Start date Start date
K

Kashif Mughal

Dear All,

how can we check that at anytime ( from DC computer),
which domain users are connected to domain. I want to
check it in real time.

Kindly reply soon,

Best Regards,

Kashif.
 
Kashif Mughal said:
Dear All,

how can we check that at anytime ( from DC computer),
which domain users are connected to domain. I want to
check it in real time.

You can do a "Net session" to find out who currently has a
session on a particular computer or server. Then you whould need
to query and merge quite a few computers' results. And, of course,
sessions may be dropped and re-established automatically.

One trick you can do from a logon script is set up the server comment
using a Net config server /SRVCOMMENT:"%USERNAME% %LOGONSERVER%"'
command. Then you can look at network neighborhood to see who is
logged on and which box authenticated them.

Authenticated users would need to be set up with permission to write
to the srvcomment registry key for all workstations.

Clear out the server comment with the logoff script and also the
shutdown and/or startup script -- in case the user turns off the
computer without logging off.

It isn't real time. But the latency should not be too bad.

--
Matt Hickman
...(my watch) was suppose to be shockproof, waterproof,
magnetism-proof, and immune to un-American influences.
Robert A. Heinlein (1907 - 1988)
_Have Space Suit Will Travel_ c. 1958
 
Back
Top