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

Long story short. A new machine was added to our domain with the same machine name as a pre-existing machine.

Rather than receiving an error from the domain when this was being done, it simply replaced the older machine. As a result, the user is no longer able to login to the domain on the old machine.

How can I rejoin that machine to the domain without losing that user's data/configuration?

The quick solution seems to be unjoin the domain using the local admin user on that machine and then rejoining it. However, I believe this will create a new user when the user logs back in meaning they'll lose everything they have setup such as desktop icons and programs installed only for that user.

How can I get around this problem?

share|improve this question
up vote 4 down vote accepted

Remove client from domain, rename client, rejoin domain. The user account and configuration should be there unless there's something else going on.

share|improve this answer
Thanks, I will see if it is that simple. When I remove the machine from the domain it will ask for domain credentials to do so. Will there be an issue with leaving the domain since there is no current trust relationship? – Windows Ninja Dec 12 '11 at 18:44
You can give it the credentials of your domain account (assuming you can add and remove from the domain with that account). The user account stuff will still be there since the configs etc are based on the user's domain account and not the machine name (unless they logged on locally). – Mitch Dec 12 '11 at 18:47
The users' account information is actually mapped by the user account in the domain's SID. (you can see the profile mappings in HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\{SID-OF-USER}) So, removing/re-joining the domain won't make you lose anything. – TheCompWiz Dec 12 '11 at 18:47
Thanks for the help guys. Will award the answer once I've run through it! – Windows Ninja Dec 12 '11 at 19:00

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.