Super User is a question and answer site for computer enthusiasts and power users. 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

So I had a backup and when restored it to my computer the User folder didn't actually change to use the backed-up folder, so now I have an owner folder (which is pretty much empty) and a my_username folder below C:\Users. How can I make my account use the my_username folder as the user folder?

EDIT: I've tried creating a new account and then changing the name of my old folder to the name of the new account, but somehow Windows still knows it's not the 'real' user folder and creates a TEMP folder. In which registry is this configured?

share|improve this question

Open regedit and navigate to:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList

Click one of the profiles under ProfileList hierarchy, and look at the right side - there's ProfileImagePath key.

Find the profile that uses your current folder and change the ProfileImagePath value to the one you need to use.

Reboot or re-login

Here's more detailed description. Look at the 11-th step.

share|improve this answer
ProfileImagePath is the key. – Thraka Nov 21 '12 at 19:20
@Thraka Thanks. I've updated answer – user157378 Nov 21 '12 at 19:22
When restarted it created a new /Users/TEMP folder and is using it as the user folder. Any idea whats going on? – sazpaz Nov 23 '12 at 9:51
You need to change owner and permissions of that old profile folder. – user157378 Nov 23 '12 at 13:52
Did that and when re-logged, Windows just replaced that folder with an empty User folder. Thankfuly I still have everything backed. Any more ideas how to fix this? – sazpaz Nov 23 '12 at 21:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .