determine the DC I am authenticating to

I would like to know how to determine the DC I am authenticating to.

any idea?

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I think you can type set and see a list of system variables.
I'm not logged into a domain at the moment, So I don't see the variable at the moment, but I seem to remember this working

open a dos prompt, type set hit enter and look down the list
once you see the variable name, you can also say set variablename to get just that one line of output.
jskfanAuthor Commented:
which variable?  I typed   Set Compspec. and it gave me the path to cmd.exe.

could you specify which variable ?
Erik BjersPrincipal Systems AdministratorCommented:
go to the command prompt and run the following line


This will tell you the server you are loged into

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Expert Spotlight: Joe Anderson (DatabaseMX)

We’ve posted a new Expert Spotlight!  Joe Anderson (DatabaseMX) has been on Experts Exchange since 2006. Learn more about this database architect, guitar aficionado, and Microsoft MVP.

Erik BjersPrincipal Systems AdministratorCommented:
P.S. to open a command prompt go to start -> run -> type cmd and hit enter
ebjers has it - it was called logon server

if you had just typed set, it would have been listed, along with it's value
jskfanAuthor Commented:

Erik BjersPrincipal Systems AdministratorCommented:
Glad it worked, thanks for the points

BTW you can also get the information from a variable by typing

set veriablename

i.e.   set logonserver

just type "set" at the command prompt and press enter

for just the logon server type "set l"

Thanks for the split - I know I didn't get you 100% there, but hopefully got the discussion rolling!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.