Sometimes computers fall off the domain. Either you deleted a computer object (oops!) or you restored a VM snapshot in which you forgot to disable computer object password updates. Most domain rejoin methods require a machine reboot, but not this command:
netdom resetpwd /server:<domain_server> /userD:<user> /passwordD:*
Simply log off and then you can log on again with your domain account.
Additionally, you can test the status of domain trust with this PowerShell commandlet:
via MCTExpert Blog