ERROR: The trust relationship between this workstation and the primary domain failed

How to Resolve - ERROR: The trust relationship between this workstation and the primary domain failed

Utilize the Microsoft Tool NETDOM
a command-line tool built into Windows Server 2008 and Windows Server 2008 R2 with Active Directory Domain Services (AD DS) server role installed.

NETDOM can also be obtained by installing Active Directory Domain Services Tools which is part of the Remote Server Administration Tools (RSAT)

Start
right-click Command Prompt
click Run as administrator
Netdom reset

-------------------------------------------------------------------------------------------------------------

"Netdom reset" resets the secure connection between a workstation and a domain controller

For more information on Netdom and other options with this tool see: Microsoft Technet Article on NETDOM