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

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).


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

This happened to me after an update. Found 2 problems which resolved it when fixed.

The first problem was related to Vortexo's answer. The value was slightly different.

Second problem was under Environment Variables. Processor Architecture was set to amd but my processor is intel. processor architecture enumeration

To view environment variables press 'windows key' + 'pause" to bring up system information, then go to advanced system settings, then on advanced tab, environment variables is at the bottom.

Fixed it for me, hope it helps someone else.

Tags:

Windows 7