Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Unlike Windows XP, it's pretty easy to change a user's sub-directories in Windows 7 like Music and Documents. Go to their properties' location tab and move it elsewhere.

I am looking for similar solution to moving the user's entire directory. Which resides here:

C:\Users\Username

There was a hiccup in the domain controller (dc), so I had to unplug my machine from the dc and plug it back in. Now I have a new user folder. It's located here:

C:\Users\Username.DOMAIN

I want to rename C:\Users\Username.DOMAIN to C:\Users\Username. However, I understand the files under C:\Users\Username do not belong to me (anymore), therefore, I'll have to take ownership of them first. Which I did. Then I tried the following registry change:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-21-UNIQUE-PROFILE-ID

Modified the ProfileImagePath's data to C:\Users\Username. Then I kept my fingers crossed. Of course, it didn't work.

After restarting the machine and attempting to login using domain credentials failed. It tried to log me in, then it logged me out. So, I had to revert my registry changes. Googling didn't help much. Any ideas on what I can try without screwing it up horribly?

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

Renaming them is a bad idea. There are just too many unknowns to get your profile back that way.

One of the best tools to look at User State Migration Tool from Microsoft Technet. It isn't an easy tool to use though.

share|improve this answer
    
You're right. There are just too many unknowns. I was about to do some work around and the result wasn't what I was expecting. For now, I will just copy over the data that I need and start over. –  Syedur Feb 12 '11 at 22:05
add comment

I agree that you shouldn't be renaming things...

I would suggest using the User Profile Wizard instead.

share|improve this answer
add comment

Your Answer

 
discard

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.