Adding a server back onto a domain

…this is for when a server looses its trust relationship with the domain and you don’t want to remove and re-add it (due to it having SQL or something!)

Run this on the server you want to change referencing the DC you want to update the computer password on:

netdom resetpwd /s:SERVERDC1 /ud:mydomain\administrator /pd:*