One of my readers facing the problem is that many of the PC’s are having Trust relationship issues but he doesn’t have a list of PC’s which are having this issue. The users are able to login to the domain account in these PC’s and Group policies also seem to work in many of these PC’s
Before list the workstation with Trust relationship issues on your Domain, read How to troubleshoot workstation Trust relationship issues on Domain, on my previous article, checking a single computer is easy one, just use the net command and loop command can be used for list of computers
Also Read: AD Slow Authentication and prompting for credentials again and again
How to find computer account issue
You can check this with net command to check the trust relationship, run this from local Domain controller with Domain Admin permission
net use \\computername net view \\computername
Computer must me connect to network to check this, you will get the Access is denied error or any other error
Also Read: Active Directory Replication failed with “Target principal name is incorrect”
Comman To check this for list of Computers or all Domain joined systems
Looping can be used to check the bulk computers, like below command
For /f "tokens=1-3 delims=;" %a in (list.txt) do net use \\"%a" >>c:\temp\result.txt
Review the result file to find the affected computers in the newtwork
Also Read: Active directory Troubleshooting (Part1 – Diagnostics Logging)