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?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

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.

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.
What I believe is where the user is authenticated that will be the DC where computers secure channel is validated..
The Five Tenets of the Most Secure Backup

Data loss can hit a business in any number of ways. In reality, companies should expect to lose data at some point. The challenge is having a plan to recover from such an event.

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.

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
jskfanAuthor Commented:
tried this:    nltest /dsgetdc:<FQDN Domain Name> /force

it gives the same thing as :

echo %logonserver% or Set L
jskfanAuthor Commented:
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
Active Directory

From novice to tech pro — start learning today.