How to Determine What Domain Controller Authenticated the User
A frequent question on the newsgroups 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. This is an environment variable so you could use it from a script if you wanted to.
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



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