Which Domain Controller authenticated the logon request?

When investigating problems in your Windows network you might sometimes want to know which Domain Controller authenticated a logon request for the machine you are troubleshooting. Look no further!

Open a command prompt and type: SET L (no need for uppercase, it is just to clarify) The result may vary depending on OS and if you log on localy or to a domain, but you should definately get something like this: LOGONSERVER=\\'machine name' There we are, depending on what you need the information for it might be a good idea to resolve this machine name to see if the machine you are working on get the correct IP address.