Production environment on Windows 2008 R2 Server we have received “The trust relationship between this workstation and the primary domain failed windows 2008” Error
to resolve the issue tried by login on Domain Controller and RESET Account for the Computer from Active directory users and computer snap-in , but didn’t worked for me .
Searched on net net and came to know i need to remove and re-join teh domain which i was not willing to do as it needs reboot and in production we can’t take such reboot.
so executed below steps to resolve the issue .
netdom resetpwd /Server:DomainControllerName /UserD:domainname\User /PasswordD:password
- Server: provide domain controller Name
- UserD:domain\user– is the user with domain admin rights ( domainname\user )
- PasswordD:password – is the domain user’s password
After executing above command the output shown was success, to cross check if all is correct , executed command NLTEST as below
where domain.com is my domain name
then tried to log in by Domain credentials and login done successfully without reboot of server .