Re-Establish Domain Relationship trust using PowerShell
When a Windows 10 machine loses its trust relationship with the domain, you can re-establish it without rejoining the domain using PowerShell.
- Log on to Windows 10 using the local Administrator account.
- Open a PowerShell terminal as admin.
- Run the following and press Enter:
$credential = Get-Credential - Enter your domain account (which has admin rights) and password, then click OK.
- Run the following and press Enter:
Reset-ComputerMachinePassword -Credential $credential - Close PowerShell.
- Restart the machine.
- Log on to Windows 10 using your domain user account.