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. 

Posted Friday, September 22 2006 3:50 PM by Brian Desmond | 7 Comments
Filed under: Tagged as: ,

Comments, Trackbacks, & Pingbacks

#1 re: How to Determine What Domain Controller Authenticated the User

Thursday, March 08 2007 12:43 PM by Chuck Liveoak

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

#2 re: How to Determine What Domain Controller Authenticated the User

Thursday, July 03 2008 2:10 PM by GL

Very helpful!  Thanks!

#3 re: How to Determine What Domain Controller Authenticated the User

Monday, December 15 2008 9:01 AM by freestlz

the 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 ALIM

if 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 Kevin

at a command prompt, type echo %logonserver%

#6 re: How to Determine What Domain Controller Authenticated the User

September 23, 2006 11:42 AM by Jason Haley

#7 re: How to Determine What Domain Controller Authenticated the User

September 23, 2006 11:49 AM by Jason Haley

Leave a comment