How to Determine Which Domain Controller you logged in

If you're new here, you may want to subscribe to Windows Reference RSS feed Thanks for visiting!

If you want to know How to Determine Which Domain Controller you logged in

open a command prompt and type the following command

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.

Sample Output

logon.PNG

  • Share/Bookmark

Random Posts


Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically each day to your feed reader.

Trackbacks & Pingbacks

No trackbacks/pingbacks yet.

Comments

excellent… thanks for tht

Leave a comment

Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

(required)

(required)