Here is an easy fix to solve the broken relationship between your workstation and the Domain Controller.
Error message at logon : The trust relationship between this workstation and the primary domain failed
- Logon locally with the Administrator account : “.\Administrator“
- Run Powershell as Administrator
- Run the following to prompt you to enter your Domain Admin user account credential
$credential = Get-Credential
- Finally, run the following to reset your AD Computer Password
Reset-ComputerMachinePassword -Server <DomainControllerName> -Credential $credential
You should now be able to log you in as a Domain User.