Domain-joined PC says trust relationship failed

Practical troubleshooting paths for MSP technicians dealing with real-world support failures.

Field Summary

A domain trust failure means the workstation and domain no longer agree on the machine account secure channel. Before deleting and rejoining the computer, check network, DNS, time sync, domain controller discovery, and whether secure-channel repair can recover it without disrupting the user profile.

Common Symptoms

  • User sees “The trust relationship between this workstation and the primary domain failed.”
  • Cached login may work, but domain resources fail.
  • Other domain users cannot log into the same PC.
  • Issue appeared after restore, rename, long offline period, duplicate name, or VM rollback.
  • Computer object exists in AD but authentication fails.

Fast Triage

  1. Confirm the workstation can reach a domain network or VPN path.
  2. Check date/time/time zone against domain time.
  3. Confirm DNS points to domain DNS, not public resolvers.
  4. Check AD for disabled, duplicate, or misplaced computer objects.
  5. Do not delete/rejoin until secure-channel repair is attempted where appropriate.

Likely Causes

  • Machine account password mismatch.
  • Stale image/snapshot rollback.
  • Duplicate computer name or wrong AD object.
  • DNS/DC discovery failure.
  • Time skew breaks Kerberos.
  • Long-offline laptop missed machine-account password changes.

Useful Commands

nltest /dsgetdc:domain.local
w32tm /query /status
Test-ComputerSecureChannel
Test-ComputerSecureChannel -Repair -Credential DOMAIN\AdminUser
gpupdate /force
gpresult /h C:\Temp\gpresult.html

Tier 1 Fix Path

  1. Use cached/local admin only to get into the machine for repair.
  2. Verify DNS and time before domain operations.
  3. Try secure-channel test/repair if admin credentials and network path are available.
  4. Document profile and BitLocker state before rejoin.

Tier 2 / Admin Investigation

  1. Check AD Users and Computers for computer object state, OU, and duplicates.
  2. Use nltest to confirm DC discovery.
  3. Run Test-ComputerSecureChannel and repair if appropriate.
  4. Check DC logs only if multiple machines fail.
  5. Validate GPO and mapped resources after repair.

Advanced Remediation

Domain rejoin is justified when secure-channel repair fails or the computer object is wrong. For servers, shared workstations, or line-of-business machines, escalate before rejoin because profile, service, and permission impact can be larger than the login error.

Verification

  • Domain user logs in online.
  • Test-ComputerSecureChannel returns true.
  • gpupdate completes and expected GPOs apply.
  • Mapped drives/domain resources work.
  • Computer object is in the expected OU.

Ticket Notes to Capture

  • Computer name, user, network path, DNS/time checks, AD object state, secure-channel result, repair/rejoin action, profile impact, verification.

Escalate When

  • Multiple PCs fail trust at once.
  • Domain controller, DNS, replication, or time service health is suspect.
  • A server or shared production workstation is affected.
  • Rejoin would disrupt local profiles or application bindings.

Prevention

Avoid stale domain-joined images, track duplicate computer names, and document a trust-repair procedure before techs jump to delete/rejoin.