Sometimes it happens that the trust relationship between a workstation and the Active Directory fails. There are a few different reasons for this behavior but today we will just fix it with one PowerShell command.
This is the spell in question:
Test-ComputerSecureChannel -Repair -Credential (Get-Credential)