How can I tell which Domain controller I'm authenticated to?
--
Music by Eric Matyas
https://www.soundimage.org
Track title: Quiet Intelligence
--
Chapters
00:00 Question
00:22 Accepted answer (Score 96)
00:42 Answer 2 (Score 48)
01:30 Answer 3 (Score 3)
02:05 Answer 4 (Score 2)
02:39 Thank you
--
Full question
https://superuser.com/questions/333733/h...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#windows7 #activedirectory #windowsdomain #activedirectoryexplorer
#avk47
ACCEPTED ANSWER
Score 97
You can find this through the following command:
echo %LOGONSERVER%
And you don't have to be admin or poweruser to use it. Have a look at the output of this command:
set
ANSWER 2
Score 3
set l
will respond with the variables for both localappdata
and for logonserver
. However, logonserver
is the only variable you are interested in, and the one which will tell you the name of the domain controller you authenticated against.
To only get the logonserver information, type set log
(which is simply an abbreviation of set logonserver). The name of the domain controller you authenticated against will be returned.
ANSWER 3
Score 2
This only answers your question if you have Outlook:
I found an interesting feature in Outlook. If you hold Ctrl and right click the icon in the task bar then click connection status it shows you the exchange server your connected to as well as what domain controller you are connected to. I actually found that one answering another question about Exchange connections, great way to recycle answers...
ANSWER 4
Score 1
set L
lists all environment variables that begin with the letter L