Computer account passwords can get out of sync betwixt DCs and cause weird access things like workstations being able to connect to a share by IP, but not by computer name. Saying dumb things like “Target account name is incorrect”. This is a reminder for myself how to fix it.

First stop KDC service on the server, set to disabled and reboot (makes another server be the KDC)

Then in an elevated command prompt:

netdom resetpwd /s:server /ud:domain\admin_name /pd:admin_password

/s:server is the other server where you want the password for this server to be reset
/ud: and /pd: are a domain admin account

Then set KDC service back to automatic and reboot