When your computer and the domain controller stop looking at each other eye-to-eye, it might be due to a password misalignment or they are no longer in a committed relationship. But don't worry, we have the perfect reconciliation plan!
The computer's secure channel with the domain controller has broken, often due to mismatched passwords.
Try to repair the trust relationship first
Test-ComputerSecureChannel -Repair -Credential (Get-Credential)
If that fails, rejoin the domain
Check whether the computer account exists in AD
The domain controller doesn't recognize the workstation because its account is missing or corrupted.
Open ADUC and verify the computer account exists
This can be usually due to incorrect DNS settings.
Test-NetConnection -ComputerName <DomainController> -Port 389
net start Netlogon