Having problem whereby when you login a workstation and the message appear “The trust relationship between this workstation and the primary domain failed” ? Usually, this is because there are broken trust between workstation and domain controller.
Easy solution is just to disjoin and rejoin back the workstation in the domain. However, we not sure either application or services will have impact future. Thus, here are the easy solution that written by
Ondrej Žilinec at http://www.cievo.sk/2012/02/21/reset-computer-accounts-in-active-directory-domain/
Using Netdom, we can reset back the computer account and reestablish the trust. Below is the step how to reset computer account trust:
1) Logon the workstation thru local account
2) Open cmd
3) Run command netdom resetpwd /server:<domain_controller> /userD:<domain_admin> /PasswordD:<password_domain_admin>