AD

Repair Active Directory computer account secure channel Trust relationship error

We can repair the in three ways

1. Domain-re-joining the Windows computer 

2. Using Test-ComputerSecureChannel command using repairing switch.

3. Reset-ComputerMachinePassword command:

4. netdom resetpwd /s:server /ud:domain\User /pd:* to reset a machine password 

Finally you can verify the secure channel
nltest.exe /sc_verify:pugazh.co.in

How to re-join the machine without reboot

$LocalAdminCred = Get-Credential
Remove-Computer -WorkgroupName TEMP -UnjoinDomainCredential $LocalAdminCred
$DomainCred = Get-Credential
Add-Computer -Credential $DomainCred -DomainName pugazh.co.in

Leave a Reply

Your email address will not be published. Required fields are marked *