From 400ff2e9bb90f139dd801e2e2073befba0e1e940 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Fri, 16 Jan 2026 05:01:11 -0700 Subject: [PATCH] Add Workflows/Windows/Active Directory/Restore Domain Trust.md --- .../Windows/Active Directory/Restore Domain Trust.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Workflows/Windows/Active Directory/Restore Domain Trust.md 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