Friday, September 22, 2006 3:50 PM
Brian Desmond
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.