Switch User and log in as .\administrator
Open PowerShell as administrator.
Run below command and enter domain admin credential account when prompted
$credential = Get-Credential
Reset-ComputerMachinePassword -Server ClosestDomainControllerNameHere
If above doesn’t work simply rejoin domain.