Change User Folder

0

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?

sazpaz

Posted 2012-11-21T18:52:10.060

Reputation: 187

Answers

1

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.

user157378

Posted 2012-11-21T18:52:10.060

Reputation:

ProfileImagePath is the key. – Thraka – 2012-11-21T19:20:05.917

When restarted it created a new /Users/TEMP folder and is using it as the user folder. Any idea whats going on? – sazpaz – 2012-11-23T09:51:55.643

You need to change owner and permissions of that old profile folder. – None – 2012-11-23T13:52:22.133

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 – 2012-11-23T21:26:14.223

Does your user account belong to local administrators group? When I was doing that in the past with 30+ computers (Windows XP/Vista/7) all of the users were in local administrators group... Try that... – None – 2012-11-24T15:14:19.360