The trust relationship between this workstation and the primary domain failed" error

To resolve this issue, put again the server to the domain


To do this, follow these steps:

  1. Use a local administrator account to log on to the computer.
  2. Go to server manager click the local server then the domain
  3. Click Change settings next to the Server name.
  4. Under the Member of heading, select Domain, and then type the domain name. BEI-IT only  
  5. Click OK, and then type the credentials of the user who has permissions in the domain.
  6. When you are prompted to restart the computer, click OK.
  7. Restart the Server.

    Reference: https://support.microsoft.com/en-us/help/2771040/-the-trust-relationship-between-this-workstation-and-the-primary-domai
    Reference: http://implbits.com/active-directory/2012/04/13/dont-rejoin-to-fix.html




    in Powershell

    $credential = Get-Credential

    Reset-ComputerMachinePassword -Server 172.31.7.189 -Credential $credential                    (172.31.7.189 is the active directory Private IP)





Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.