diff --git a/Workflows/Windows/Active Directory/Restore Domain Trust.md b/Workflows/Windows/Active Directory/Restore Domain Trust.md new file mode 100644 index 0000000..4b98f07 --- /dev/null +++ b/Workflows/Windows/Active Directory/Restore Domain Trust.md @@ -0,0 +1,8 @@ +## 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. + +```powershell +Test-ComputerSecureChannel -Repair -Credential (Get-Credential) +``` + +If it outputs `True`, go ahead and log out then try to login again with the domain credentials. \ No newline at end of file