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

Sponsored Links



What clients are authenticated against a Domain Controller?

Active Directory


Reply
 
Thread Tools Search this Thread
  #1  
Old 18-05-2009
Member
 
Join Date: May 2009
Posts: 1
What clients are authenticated against a Domain Controller?

Hello,

I know that I can use 'set logonserver' on a client PC to determine which Domain Controller it is authenticated against.

Is there a way to see what/howmany clients are authenticated against a particular DC.

Thanks

Speeds

Reply With Quote
  #2  
Old 18-05-2009
Meinolf Weber [MVP-DS]
 
Posts: n/a
Re: What clients are authenticated against a Domain Controller?

Hello SpeedsIE,

If you mean to see on the domain controller how many user are logged on using
that special DC, no. You can of course search the event viewer for the logon
events.

What you can do is to use a script like this one from Richard Mueller:
http://www.rlmueller.net/Logon5.htm

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


> Hello,
>
> I know that I can use 'set logonserver' on a client PC to determine
> which Domain Controller it is authenticated against.
>
> Is there a way to see what/howmany clients are authenticated against a
> particular DC.
>
> Thanks
>
> Speeds
>
> http://forums.techarena.in
>



Reply With Quote
  #3  
Old 18-05-2009
Florian Frommherz [MVP]
 
Posts: n/a
Re: What clients are authenticated against a Domain Controller?

Howdie!

SpeedsIE schrieb:
> Hello,
>
> I know that I can use 'set logonserver' on a client PC to determine
> which Domain Controller it is authenticated against.
>
> Is there a way to see what/howmany clients are authenticated against a
> particular DC.


You can't tell. Logonserver isn't 100% accurate, too, as it stores the
last logonserver. You can check that with unplugging the machine,
rebooting it and logging on with cached credentials. It should show the
last DC you logged on at.

That info isn't stored in AD anywhere -- what is it, you're interested in?

Cheers,
Florian
--
Microsoft MVP - Group Policy
eMail: prename [at] frickelsoft [dot] net.
blog: http://www.frickelsoft.net/blog.
Maillist (german): http://frickelsoft.net/cms/index.php?page=mailingliste
Reply With Quote
  #4  
Old 18-05-2009
Jorge Silva
 
Posts: n/a
Re: What clients are authenticated against a Domain Controller?

Hi
Please answer inline:
> I know that I can use 'set logonserver' on a client PC to determine
> which Domain Controller it is authenticated against.


- You can do that, but search for logon scripts and you may want to log to a
text file when the client logs on. Check at ScriptCenter web site they have
many script samples for domain and desktop management. Additionally to
Meinolf sugestion, you may also have a look at LimitLogin even if you don't
want to limit logins.

> Is there a way to see what/howmany clients are authenticated against a
> particular DC.


There's no direct way to get that info, and the clients do NOT maintain a
constant and dynamic connection to a DC. The client is authenticated to a
given DC, receives the ticket and that's it.

--
I hope that the information above helps you.
Have a Nice day.

Jorge Silva
MVP Directory Services
"SpeedsIE" <SpeedsIE.3sdvfc@DoNotSpam.com> wrote in message
news:SpeedsIE.3sdvfc@DoNotSpam.com...
>
> Hello,
>
> I know that I can use 'set logonserver' on a client PC to determine
> which Domain Controller it is authenticated against.
>
> Is there a way to see what/howmany clients are authenticated against a
> particular DC.
>
> Thanks
>
> Speeds
>
>
> --
> SpeedsIE
> ------------------------------------------------------------------------
> SpeedsIE's Profile: http://forums.techarena.in/members/99286.htm
> View this thread: What clients are authenticated against a Domain Controller?
>
> http://forums.techarena.in
>


Reply With Quote
  #5  
Old 18-05-2009
Richard Mueller [MVP]
 
Posts: n/a
Re: What clients are authenticated against a Domain Controller?

SpeedsID

>
> I know that I can use 'set logonserver' on a client PC to determine
> which Domain Controller it is authenticated against.
>
> Is there a way to see what/howmany clients are authenticated against a
> particular DC.
>


To add to the other replies, the only thing you can do is query for sessions
on a server (such as a DC). This does not mean the corresponding user
authenticated to the DC, only that they have a session (maybe they opened a
file). Also, sessions can seem to come and go as sessions time out, but this
is the best you can do (other than logging information during logon). For
example:
==========
' Bind to LanmanServer on a server (such as a DC).
Set objServer = GetObject("WinNT://MyServer/LanmanServer")
' Enumerate sessions.
For Each objSession In objServer.Sessions
Wscript.Echo "Name: " & objSession.Name
Wscript.Echo "User: " & objSession.User
Wscript.Echo "Computer: " & objSession.Computer
Next
========
When a user authenticates to a DC, presumably they have a session for
awhile, but this can timeout shortly thereafter if they have no further
activity on the DC.

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


Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Windows Server > Active Directory
Tags: ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "What clients are authenticated against a Domain Controller?"
Thread Thread Starter Forum Replies Last Post
An active directory Domain Controller for the domain could not becontacted in windows vista Business CheyeNnne Active Directory 7 28-12-2010 10:05 PM
Samba as Domain controller for Windows XP Clients UbuntU-ME Operating Systems 3 28-07-2009 06:25 PM
When you run Dcpromo.exe on Windows 2008 to create a replica domain controller, you receive a message "The operation failed because: A domain controller could not be contacted ... "Access is denied." John Wu Active Directory 4 15-05-2009 11:48 AM
"The time at the Primary Domain Controller is different than the time at the Backup Domain Controller or member server by too large an amount." NavinS Active Directory 2 08-12-2008 07:03 PM
How to promote additional domain controller to domain controller SocialAbility Window 2000 Help 2 11-04-2007 09:19 PM


All times are GMT +5.5. The time now is 12:47 AM.