Author Topic: Trust relationship between this workstation and the primary domain failed  (Read 448 times)

0 Members and 1 Guest are viewing this topic.


  • Administrator
  • Full Member
  • *****
  • Posts: 214
  • Karma: +0/-0
    • View Profile
    • cBrandon
You might have to unplug the network cable to login then put it back to preform.

netdom.exe resetpwd /s:<server> /ud:<user> /pd:*

<server> = a domain controller in the joined domain

<user> = DOMAIN\User format with rights to change the computer password

/pd: password you want to use.

Example:   netdom resetpwd  /s:Quartz /ud: administrator /pd: blusky123!

Step 1: Getting in
If you know the local admin password - great! just click Switch User and log in as .\administrator and your password ".\" replaces the computer name in case you dont know it.Unplug the network cable, disable wireless, then reboot the system. After reboot log in with you domain credentials and you should be able to get back in.

Step 2: Reestablishing Trust

Open PowerShell as administrator. Run this command sequence:
$credential = Get-Credential (enter domain admin account when prompted)

Reset-ComputerMachinePassword -Server ClosestDomainControllerNameHere

Example:    Reset-ComputerMachinePassword -Server Quartz

and you are all set:)

Show domain controller          echo %LOGONSERVER%
lists all domain controllers             nltest /dclist:

« Last Edit: December 03, 2018, 09:37:32 AM by branx86 »