Paylinks for BLOCKS
Knowledgebase
Rejoining a Domain where the Trust Relationship has failed
Posted by John Farrell on 03 March 2021 11:18 AM

When a client PC loses its Trust Relationship with an Active Directory Domain the "traditional" method to repair the relationship with Windows 7 and earlier was to use the Advanced System Settings control panel Computer Name tab to remove the client from the domain entirely then re-add it. This required at least one reboot and was time-consuming in addition.

PowerShell on Windows 10 now offers an alternative:

  1. log in as local admin
  2. open elevated PowerShell window (use [winkey] + [X] shortcut)
  3. enter the following command
    Test-ComputerSecureChannel -Credential (Get-Credential) -Repair
  4. you will be prompted for a user/pass; use credentials with authority to join PCs to the domain
  5. wait until the process completes
    • optional; test with:
      Test-ComputerSecureChannel -Verbose
    • this will tell you which DC is being contacted and confirm if it works or not
  6. sign out - domain users should now be able to sign in without error
(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
CAPTCHA Verification 
 
Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions).

ERROR: This domain name (powertoolreview.co.uk), does not match the domain name in the license key file.

For assistance with your license, please contact the Kayako support team: https://support.kayako.com