Files
docs/services/authentication/active-directory/restore-domain-trust.md
2026-01-28 20:41:51 -07:00

445 B

tags
tags
Active Directory
Authentication

Purpose

If you have a device that lost trust in the domain for some reason, and won't let you login using domain credentials, run the following command as a local administrator on the device to repair trust.

Test-ComputerSecureChannel -Repair -Credential (Get-Credential)

If it outputs True, go ahead and log out then try to login again with the domain credentials.