Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

restore deleted user account

Posted on 2009-06-30
4
Medium Priority
?
402 Views
Last Modified: 2012-10-24
I am running windows server 2003.  I had an account "matt" that was a local user.  I then installed active directory to make the machine a domain controller.  I then decided to remove the roll of domain controller from the machine.  Once it restarted, the local account "matt" is deleted.  The contents of the profile is still there, but can't login.  How do I restore the user account?
0
Comment
Question by:mattjp88
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 74

Accepted Solution

by:
Glen Knight earned 2000 total points
ID: 24750084
I believe when you DCPromo a server the local SAM account is removed and recreated with only the ADDRM Administrator account in it.

Therefore if you were to DCPromo down the server the only account that would be available would be an Administrator account.

The profile ( I am assuming you are talking about the one in C:\Documents and  Settings) would not have been removed as part of the DCPromo.

You will need to re-create this account if you require it as a local user after the DCPromo
0
 
LVL 6

Author Comment

by:mattjp88
ID: 24750180
I recreated the user "matt", but it made a new user profile at c:/docs and settings/matt.machine/ .  Will renaming the old profile directory to the new one cause problems?
0
 
LVL 74

Expert Comment

by:Glen Knight
ID: 24750201
Yes because it contains the user part of the registry, if it's just the desktop/shortcuts/favourites etc your after then you can copy them from the old profile to the new one.  Just make sure you don't copy NTUSER.dat as this will cause you a few issues.

Also try to avoid the application settings as this section may also have mappings to the old profile.
0
 
LVL 6

Author Comment

by:mattjp88
ID: 24941010
I ended up finding a solution somewhere that involved changing the path of a user's home directory in the registry.  It worked out well because the old user account was "mattuser", the new one was also "mattuser".  So when I changed the home directory of the new "mattuser" from "mattuser.machine" to just "mattuser", everything worked nicely.  I would assume that if the usernames had been different, terrible things would have happened.

Thanks for your help.

-Matt
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Configuring Remote Assistance for use with SCCM
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question