folder - How can I force Windows 7 to update the user profile path?

  • therobyouknow

    I renamed a user profile to a new name. This worked but when I look into the folder path, the old name is being used. Why? And how can I make the folder pathname the same as the new name?

  • Answers
  • Ivo Flipse

    This might work for you:

    It let's you relocate your user profile. So you simply relocate it to a folder that has the name you want it to have and it will replace the old name.

    Microsoft supplies a tool mklink which can create a symbolic link under Windows 7 just as the command ln under unix/linux. Below is an example about how to put user data on in a non-system folder using mklink in Windows 7.

    • Enable administrator account and set a password for it. You can refer How to enable or disable administrator account in windows 7
    • Logoff and login with administrator account
    • Relocate your user data to other non-system partion, for example from C:\users\J to D:\users\J
    • Use mklink to create a symbolic link from C:\users\J to D:\users\J

      mklink /D C:\Users\J D:\users\J

    • Re-login use your own account,you will find nothing changed, but in fact your physical user data is on drive D.

    • Done. The next time you re-install your OS, just use the same user name, remove C:\users\J then run the command of step 3 again then your user data is back.
  • 8088

    Just fyi, there is a GUI to make the creation of symbolic links easier - symlinker

    alt text

    With this utility you can use the symlink application Microsoft Windows has well hidden inside the cmd.exe app.

    The goal is just make it easier to create symbolic links, hard links, or directory junctions, using a pretty simple interface, so no more bogus command line to do it...

    This application needs .Net Framework 3.5 to run (SP1 recommended)

  • Related Question

    What does a status of "Backup" mean for Windows 7 local user profiles?
  • Howiecamp


    Upon logging on to Windows 7 RTM I get a message that my profile can't be loaded and a temporary user profile is created. I logged off and back on as Administrator. The user profiles dialog shows my user profile with a Type of "Local" and a Status of "Backup" rather than "Local" which it should be. How can I change this to make my user profile accessible?

    The long story:

    My PC has a single hard drive partitioned into a C: and a D:. I'd moved my user profile directory (c:\Users) to d:\Users, removed c:\Users and then used mklink.exe to create a directory symbolic link c:\Users --> d:\Users. Worked like a charm since I did it. Today, I make a System Restore Point for drives C: and D:. Next, I dismounted D: and used the Disk Management tool to remove the "D:" drive letter from the D volume. (My plan was to reboot and then redirect the symbolic link.) Upon reboot, I got the user profile error described above. Finally, I restored the System Restore Points that I'd created for both drives and then rebooted again. Same issue.

  • Related Answers
  • Matt

    I did a file/directory comparison of the user profile to an existing known good profile and found that ntuser.dat wasn't in the broken one. It's not clear to me how the user hive was deleted as part of the steps above.