Fix
You’ll need the credentials for a local administrator account on the machine before starting.- Boot the machine into Safe Mode.
- Log in with the local administrator account.
- Open Computer Management and re-enable the built-in Administrator account if it’s currently disabled.
- Reset the local Administrator account’s password.
- Reboot out of Safe Mode back into normal Windows, to the login screen.
- Log in as the local Administrator account you just reset.
- Remove the machine from the corporate domain (make it a workgroup machine temporarily).
- Reboot again and log back in as the local Administrator account.
- Open an elevated Command Prompt and run:
gpupdate /force /boot
- Reboot again, log in as local Administrator once more, then rejoin the machine to the domain.
- Reboot a final time and log in using a normal Active Directory account.
A Less Disruptive Alternative, If This Is a Trust Relationship Issue
The full domain leave-and-rejoin above works, but if the underlying cause is specifically a broken machine trust relationship (rather than a corrupted profile or shell), the PowerShell cmdletReset-ComputerMachinePassword (or the older netdom resetpwd) can fix it with far less disruption — it simply resyncs the computer account password with Active Directory from an elevated local admin session, without ever leaving the domain. Run it from Safe Mode with Networking if the machine can’t get far enough to reach a normal desktop. One important caveat: this only addresses trust-relationship/secure-channel errors specifically — if the real cause is a corrupted user profile or a broken shell (explorer.exe) rather than a trust issue, it won’t help, and the full steps above (or a profile-repair approach) are still what’s needed.
Resources
Gear We Recommend
A few general tech accessories worth having alongside this.
Browse our General Tech Accessories picks on AmazonAs an Amazon Associate, TechyGeeksHome earns from qualifying purchases.
Discover more from TechyGeeksHome
Subscribe to get the latest posts sent to your email.