A frequent question is how do I know what domain controller logged me in? To find this out, open a command prompt and type "set logonserver".
echo %logonserver% has the same functionality. Incidentally, this is an environment variable so you could use it from a script if you wanted to.
Looking for more useful Active Directory tips and tricks? Check out my book, Active Directory: Designing, Deploying, and Running Active Directory.
Comments, Trackbacks, & Pingbacks
#1 re: How to Determine What Domain Controller Authenticated the User
Thursday, March 08 2007 12:43 PM by Chuck Liveoak#2 re: How to Determine What Domain Controller Authenticated the User
Thursday, July 03 2008 2:10 PM by GLVery helpful! Thanks!
#3 re: How to Determine What Domain Controller Authenticated the User
Monday, December 15 2008 9:01 AM by freestlzthe command set l is the same but easier to remember. It's not a number 1 it's an L after set.
#4 re: How to Determine What Domain Controller Authenticated the User
Wednesday, January 21 2009 9:16 AM by ALIMif u give me alot of information about networking
and server 2003 and2008 and about domain server
thanks
#5 re: How to Determine What Domain Controller Authenticated the User
Thursday, June 11 2009 12:45 PM by Kevinat a command prompt, type echo %logonserver%
#6 re: How to Determine What Domain Controller Authenticated the User
Sunday, February 21 2010 5:52 AM by BaijuThanks it is very good
#7 re: How to Determine What Domain Controller Authenticated the User
Thursday, April 01 2010 12:46 PM by BobI have been looking for this all morning. Thanks!
#8 re: How to Determine What Domain Controller Authenticated the User
Wednesday, April 28 2010 7:27 AM by ChrisHow about for a remote user?
#9 re: How to Determine What Domain Controller Authenticated the User
Sunday, May 02 2010 7:59 AM by Charles GSet l
is also another one
#10 re: How to Determine What Domain Controller Authenticated the User
Sunday, May 02 2010 7:59 AM by Charles GSet l
is also another one
#11 re: How to Determine What Domain Controller Authenticated the User
Friday, July 02 2010 3:38 AM by manoj yadavi am manoj networking iam domain working please help me



I've been looking for a simpler way of finding this out. Thanks!