Go Back   TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Sponsored Links



List of users logon to AD

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 19-06-2009
Member
 
Join Date: Jun 2009
Posts: 2
List of users logon to AD

Can I generate a list or number of users logon to AD ?
Just looking for the total number of users.
thanks
Reply With Quote
  #2  
Old 19-06-2009
Richard Mueller [MVP]
 
Posts: n/a
Re: List of users logon to AD


"spmx43" <spmx43.3u17jc@DoNotSpam.com> wrote in message
news:spmx43.3u17jc@DoNotSpam.com...
>
> Can I generate a list or number of users logon to AD ?
> Just looking for the total number of users.
> thanks
>
>
> --
> spmx43
> ------------------------------------------------------------------------
> spmx43's Profile: http://forums.techarena.in/members/107142.htm
> View this thread: List of users logon to AD
>
> http://forums.techarena.in
>


Active Directory does not keep track of who is logged in or where. Neither
do the Domain Controllers you authenticate to. It is possible to determine
the last logon date/time for all users, but that requires querying every DC
in the domain. Nothing tracks when users logoff or which computer they are
using. I cannot think of any command line tools that would help.

I have used logon and logoff scripts configured in Group Policy to append
user names and times to a shared log file during logon and logoff. It would
then be possible to query the shared log file for the number of users that
are still logged on. However, this count would be fooled by situations where
the client crashed or the user powered off without logging off. If this
interests you, I have example logon and logoff scripts linked here:

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

Another option might be LimitLogon. See this link:

http://technet.microsoft.com/en-us/m...spotlight.aspx

I don't have experience with it, but I think you can use it to track current
logons.

--
Richard Mueller
MVP Directory Services
Hilltop Lab - http://www.rlmueller.net
--


Reply With Quote
  #3  
Old 19-06-2009
Member
 
Join Date: Jun 2009
Posts: 2
Re: List of users logon to AD

Thanks for the info,
My boss thinks this is and easy task...

Trying to get him to purchace some tool for us.
Thanks again
Reply With Quote
  #4  
Old 20-06-2009
Meinolf Weber [MVP-DS]
 
Posts: n/a
Re: List of users logon to AD

Hello spmx43,

There is no builtin option to have control about. You can use logon/logoff
scripting for that.

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


> Can I generate a list or number of users logon to AD ?
> Just looking for the total number of users.
> thanks
> http://forums.techarena.in
>



Reply With Quote
  #5  
Old 20-06-2009
Marcin
 
Posts: n/a
Re: List of users logon to AD

As Richard and Meinolf have stated, if you want to determine all currently
logged on users, you would have to resort to some soft of workaround that
keeps track of both logon and logoff (note that applies strictly to
interactive logons). If you want to find out what users have logged on
between specific point in time in the past and the current time, you can
examine LastLogon attribute of each user object (or potentially a
combination of LastLogon and LastLogonTimestamp - as per
http://support.microsoft.com/kb/939899) - just keep in mind that this
requires querying this value on every domain controller in the domain.
Alternatively, you could also use for this purpose dsquery (with inactive
switch) or oldcmp utility from joeware.net

hth
Marcin

"spmx43" <spmx43.3u17jc@DoNotSpam.com> wrote in message
news:spmx43.3u17jc@DoNotSpam.com...
>
> Can I generate a list or number of users logon to AD ?
> Just looking for the total number of users.
> thanks
>
>
> --
> spmx43
> ------------------------------------------------------------------------
> spmx43's Profile: http://forums.techarena.in/members/107142.htm
> View this thread: List of users logon to AD
>
> http://forums.techarena.in
>



Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "List of users logon to AD"
Thread Thread Starter Forum Replies Last Post
Allow local DC logon to users Pedro M. Leite Active Directory 4 05-05-2009 08:00 PM
Remote Web Workplace Will not Allow Users to Logon Cassandra Lindquist Small Business Server 21 18-04-2009 04:11 AM
Restrict users to logon on the particular computer Adnan Window 2000 Help 6 15-12-2008 06:31 PM
users' last-logon-timestamp John Active Directory 10 06-06-2008 10:02 PM
Logon Script failing, on some users ieden Active Directory 2 29-05-2008 12:26 AM


All times are GMT +5.5. The time now is 09:27 PM.