For any Windows admin, this error is a familiar sight.
The typical fix, and Microsoft’s recommended resolution, is to log in with a local admin account, join the system to a workgroup, and then rejoin it to the domain.
However, I ran into this blog post a while back which details some cool alternative methods and saved the link in case it should come in handy some day, which it has on several occasions.
Basically, he lists two distinct methods for resetting the computer password:
netdom.exe resetpwd /s:<server> /ud:<user> /pd:*
<server> = a domain controller in the joined domain
< user> = DOMAIN\User format with rights to change the computer password
“Where you get netdom.exe depends on what version of Windows you’re running.”
“On Windows Vista and Windows 7 you can get it from the Remote Server Administration Tools (RSAT).”
You can read some additional notes about this method in the blog post. (link here)
Reset-ComputerMachinePassword [-Credential <PSCredential>] [-Server <String>]
“You can use the Get-Credential cmdlet for a secure way to generate a PSCredential, which can be stored in a variable and used in a script. You will want to generate a credential for an Active Directory user with sufficient rights to change the computer’s password. The Server parameter is the domain controller to use when setting the machine account password.”
Here’s a TechNet article on the Reset-ComputerMachinePassword command for additional reference.