My user redirected to System32\config\systemprofile, how to solve it?

My problem is: I have an user on my laptop named alfa. That is the administrator profile.

Well, about a few days ago I "lost" everything. Somehow windows redirected user prefences to

System32\config\systemprofile

. But my user data is here:

c:\users\alfa

How can I redirect it to the default, where my user data is. I have already redirected the documents, desktop, etc... But there may something like appdata and you know I want to get my background back and my old startmenu, etc.

How can i do it?


Solution 1:

http://itknowledgeexchange.techtarget.com/itanswers/changing-profile-from-windows-registry/

Log into the system with local administrative rights, open RegEdit, and go to:

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

You will see SID on the left pane and when you select each SID, you will see the profile path for each user that has logged into the system.

Find the profile with the string value ProfileImagePath containing path to

System32\config\systemprofile

and change it back to

c:\users\alfa

Be sure not to change the system account (should be the first key on the list).

Solution 2:

In my case, besides 3 system profiles in HKLM\software\microsoft\Windows NT\CurrentVersion\ProfileList\.

I found two user profiles with identical names, but one of them with ".bak" in the end. i.e. S-1-5-21-12345-54321-1000 and S-1-5-21-12345-54321-1000.bak.

What I did:

  1. Identify which "ProfileImagePath" was the right one: the first one was "C:\Users\TEMP" (TEMP is the name of temporary created user which was deleted some time ago) and the second one was the right one
  2. I renamed the first one (without .bak) in "S-1-5-21-12345-54321-1000.old", and deleted ".bak" from the name of the second one
  3. I rebooted and it worked