Skip to content

Instantly share code, notes, and snippets.

@greenygh0st
Created February 13, 2025 23:16
Show Gist options
  • Save greenygh0st/46eb69191bcd5a9ef9f423a59da3ef8b to your computer and use it in GitHub Desktop.
Save greenygh0st/46eb69191bcd5a9ef9f423a59da3ef8b to your computer and use it in GitHub Desktop.
If the trust relationship failed with Active Directory

If the trust relationship fails between a client machine and AD run the following command to fix it:

Reset-ComputerMachinePassword -Credential (Get-Credential) -Server "YourDomainController"

YourDomainController = the FQDN or ip address of the AD server

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment