Q&A Monday: Determine what Domain Controller authenticated a user


We have many domain controllers in our environment and while working through troubleshooting, I was wondering if there was a way to find out which domain controller logged the user into the network while sitting at the users PC.  The problem ended up not being related, but the question stuck with me, is there a way to tell which domain controller logged a user in?

Carol Peterson
South Mountain, ON


Carol, there is a very simple way of doing this, all you need to do is open a command prompt and type:

set logonserver


echo %logonserver%

This will show you what server logged the current user in.


If you have any questions that you want Jim to answer, from business servers to home computers, drop him a line at me@jimguckin.com, and he’ll try to answer your question. Check back every Monday for a new Question and Answer session, and during the rest of the week for his other technical insights.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.