find users connected to domain

G

Guest

Hello every body,
I want to know how can one find the number of
users connected to domain at present.Is there any command or location where
can I find?
If any body knows please mail me to (e-mail address removed)

Thanx
A.M.Basha
 
H

Herb Martin

Basha said:
Hello every body,
I want to know how can one find the number of
users connected to domain at present.Is there any command or location
where
can I find?

This question is asked fairly frequently and there are some add-on
tools to approximate this but any such solutions have to be pretty
much a hack since in a real sense "users aren't connected to the domain".

DCs authenticate users for connections or logon to or at specific
machines.

Those credentials are valid for some period of time (12-24 hours usually)
and don't imply the user is or is not connected from the DCs point of view.
If any body knows please mail me to (e-mail address removed)

You pretty much have to monitor your requests if you want to reliably
retrieve the answers.

Most people won't do private mailing without an important reason.
 
G

Guest

Hello herb thanx for reply
My intension is to know how many users logon to domain so that I can find
the number of users working
 
H

Herb Martin

Basha said:
Hello herb thanx for reply
My intension is to know how many users logon to domain so that I can find
the number of users working

How would you (really) know if they are STILL logged on?

You can enabled Account Logon Auditing, collect the logs from (all of)
the DCs with something, and then filter for Logon/Logoff events.

There are tools you can buy to do this too but they are all hacks.

No one really logs onto the "network" or the "AD" itself.

And they might be logged on but not working -- not even AT the
machine.
 
R

Richard Mueller [MVP]

Basha said:
Hello herb thanx for reply
My intension is to know how many users logon to domain so that I can find
the number of users working

The only solution I can think of is to use a logon script that logs to a
shared location. This will not tell you how many are still logged on any
time, but will indicate how many logged on, say during a day. I have an
example VBScript logon script that logs username, computer name, and
date/time to a text file linked here:

http://www.rlmueller.net/Logon5.htm

I used a similar logon script for years. I used the information to determine
how many people logged on at various locations per day (and per shift), how
many people used each computer, which computers were seldom used, etc. I
imported the log file into a spreadsheet. The logon script appends a line to
the log file during each logon. The text file must be in a shared location
and all users need write access.
 
H

Herb Martin

Richard Mueller said:
The only solution I can think of is to use a logon script that logs to a
shared location. This will not tell you how many are still logged on any
time, but will indicate how many logged on, say during a day. I have an
example VBScript logon script that logs username, computer name, and
date/time to a text file linked here:

http://www.rlmueller.net/Logon5.htm

I used a similar logon script for years. I used the information to
determine how many people logged on at various locations per day (and per
shift), how many people used each computer, which computers were seldom
used, etc. I imported the log file into a spreadsheet. The logon script
appends a line to the log file during each logon. The text file must be in
a shared location and all users need write access.

Richard is right.

The "purchased" software has to use one (some) of these methods and
just puts a pretty face on it for more money.

They have to do this since the information you really want doesn't really
exist
anywhere as you expect.
 
P

Paul Bergson [MVP-DS]

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top