Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

2 Answers 2

up vote 1 down vote accepted

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.
share|improve this answer
    
Accepted answer and +1 and +1 credit to Om Nom Nom as well for GUI. I'm hoping I can use this answer for the following: started with admin user/profile BOB with folder C:\Users\BOB. Had a strange profile won't load error when trying to login one day. So had to create new admin profile/user ROB with folder C:\Users\ROB and copy BOB's data over. Renamed ROB in Windows user management to BOB but folder path remained same i.e. C:\Users\ROB. So I'm hoping I can use your answer to get it back to C:\Users\BOB. –  therobyouknow Apr 12 '10 at 14:55
    
Hope it helps!! –  Ivo Flipse Apr 12 '10 at 17:13

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)

share|improve this answer
    
+1 That's my answer, only a lot easier! –  Ivo Flipse Apr 8 '10 at 9:33
    
True, I wanted to post this as a comment to your post, but I didn't have the required reputation for that. –  Om Nom Nom Apr 8 '10 at 15:23
    
+1 for the GUI :) –  therobyouknow Apr 12 '10 at 14:48

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.