I have suddenly being hound by the “trust relationship between workstation and domain failed” error lately.
While there are two option to fix.
Option 1: Remove the client workstation from the domain and rejoin it again. NB: This is not recommended approach by Microsoft.
Option 2 : Using powershell method
Check secure channel
nltest /sc_query: domain anme
Logon as a local administrator on the workstation and use the below powershell command.
$credential = Get-Credential
Reset-ComputerMachinePassword -Server ClosestDomainControllerNameHere -Credential $credential
Then restart the computer and logon with a domain based account or username.
Regards