How to establish trust relationship when logging in with the old password and network disabled

domain-controllerpasswordtrust-relationship

I have two computers in the same domain that I use, recently I changed the domain password on one of them.

When I tried to login with the same account on the other machine I get:

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

I knew that I can log with that account and the old password if I just disable the network connection. So I logged in with the network disabled and the old password and it work.
If I try to refresh the trust by locking and unlocking this time with the network enabled I get the same:

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

If I disable again the network I can log in with the old password. If I enable afterwords the network connection I am able to see the domain dns, etc.

How to establish trust relationship from this situation without having access to domain control server?

Best Answer

If you have no possible network access to the DC you are out of luck. If your network still has access do the below.

Open Powershell as an administrator

Reconnect the network cable

Run Test-ComputerSecureChannel -Credential Domain\Username -Repair at the powershell command prompt.

Additional Note: The Domain\Username needs to have enough AD Permissions to reset the computer account password.

Related Topic