Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

My Windows Server 2008 RC 2 hard drive just died. Server was acting as domain controller and DNS for my company (it's small, less than 10 PCs).

I reinstalled WinServer 2008 on a new hard drive, named the server the same name, created the same users with the same passwords, etc.. When a user tries to log in on their computer with their domain account it says:

The security database on the server does not have a computer account 
for this workstation trust relationship

Is there any way I can modify something on the server to allow me to fix this? I don't want to recreate the accounts in every PC and have them rejoin the domain. This is a small server, domain is mostly used to share files and folders between PCs.

share|improve this question
Was this the only domain controller? – Hennes Nov 7 '13 at 18:09
Unfortunately, you screwed the pooch. What you have now is a brand new AD domain. You'll need to join all of the clients to the new domain and create user accounts for all of your users. – joeqwerty Nov 7 '13 at 18:16
up vote 4 down vote accepted

You're going to have to recreate the accounts and rejoin the PC's to the domain. What you did was effectively start over. You should have restored a backup of the DC properly:

If you still have a backup of the old server, it would be wise to look at restoring it properly, especially if it was also a file server. But it's up to you...with a small shop you could look at just recreating things and rejoining computers.

share|improve this answer
Say I have a PC with two accounts, PCNAME\LocalUser and DOMAINNAME\DomainUser. In c:\Users there's two folders, LocalUser and DomainUser. If I rejoin the domain with the same DomainUser name, will it use the same folder or will this create a new c:\Users\DOMAIN.DomainUser ? – Mariano Nov 7 '13 at 18:16
No, it won't use the same user profile. – joeqwerty Nov 7 '13 at 18:17
Ok, so my best bet is to remove all the stuff from Documents, Downloads, Pictures, etc.. from the domain account folders, delete the user in the local machine, then rejoin the domain, then move the documents back, so I only have one folder for local user and one for domain user. – Mariano Nov 7 '13 at 18:20
No...use Profwiz after the fact to change the SIDs and use the same local PC profiles as before ( – TheCleaner Nov 7 '13 at 18:24

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.