Do Computers authenticate against Domain controllers

I know that typing echo %logonserver% will show the DC I am authenticating with. but what about computers, I believe they have their own way of authenticating too. If so how do I find out to which domain controller a computer has authenticated with?

Who is Participating?
JaihuntConnect With a Mentor Commented:
You can check the secure channel and which domain controller the computer account connected by nltest command.

nltest /dsgetdc:<FQDN Domain Name> /force

nltest /server:<Cluster server name> /sc_query:<FQDN Domain Name>

For a computer account the machine account password is important and it has to reset automatically by contacting every 30 days by contacting DC. for that secure channel is Important.
jskfanAuthor Commented:
the links above most of them talk about the same thing.

echo %logonserver%

well does this command used to see to which DC a user is authenticating to or to see the DC a computer is authenticating to ?

_ I am not sure at the first place if a computer authenticate to the domain. I know that a computer resets its password automatically.
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

Sarang TinguriaConnect With a Mentor Sr EngineerCommented:
What I believe is where the user is authenticated that will be the DC where computers secure channel is validated..
jskfanAuthor Commented:
tried this:    nltest /dsgetdc:<FQDN Domain Name> /force

it gives the same thing as :

echo %logonserver% or Set L
jskfanAuthor Commented:
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.