Under certain conditions a domain computer or server may loose its trust relationship with the domain. If that happens domain accounts cannot log in to the machine. Use Powershell to resolve this problem. Use tab completion to save time.
- Log in to the computer using a local administrator account.
- Launch an elevated Powershell window (run as administrator).
- Store credentials of domain admin account: $cred=Get-Credential
- Reset-ComputerMachinePassword -Server <FQDN of DC> -Credential $cred
5. Reboot the machine.