How do I recreate a lost computer account in a domain controller?
Posted on 1997-11-07
We lost a hard drive on one of our NT boxes in our domain. We were able to restore it from a backup to a new drive, but I think we screwed up the computer account on the Primary Domain Controller (PDC).
The problem I think is that in order to restore the backup, we had to reinstall NT first. During setup, we added the computer to the PDC and checked the "create computer account" option.
This worked fine, but after we restored the backup no domain users could logon to the machine and if we tried to get to the machine from the PDC, we got a "trust" error message.
I think where we screwed up was that when we installed NT we overwrote the original security identifier for the failed machine that was stored on the PDC so that when we restored the backup, the oriiginal security info was restored but it no longer matches what is on the PDC.
Does anyone know how to fix this? If I go into Server Manager and then select the computer that failed and "remove" it from the domain and then "add" it to the domain, I always get the error "The trust relationship between this workstation and the primary domain failed."