The trust relationship between this workstation and the primary domain failed.

If you encounter an error on a domain joined Windows computer when trying to login with domain user account:

The trust relationship between this workstation and the primary domain failed.

This might fix the situation:

  1. Logon in Windows computer with local administrator account
  2. Open Powershell as admin and execute command:

Reset-ComputerMachinePassword -Credential <sAMAccountName>

examples:

Reset-ComputerMachinePassword -Credential jsmith
Reset-ComputerMachinePassword -Credential mydomain\jsmith
Reset-ComputerMachinePassword -Credential jsmith@mydomain.com

Note:
jsmith account must have “Reset Computer Account” rights in Active Directory, typically this user must be a member of “Account Operators” or “Domain Admins” or “Enterprise Admins” group.

  1. Enter the credentials, restart the computer and you should be able to log back in with your regular user account

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *