How to Rename User Profile Folder Name in Windows
When user of the Windows Operating System changes there user account name the user profile folder name remains same as previous user account name. There is a way to rename the user profile folder name to any folder name user desires.
First you should make sure you have Windows Setup DVD or Repair Disk. Please create a system restore point before following below steps.
1. Open the Command Prompt by clicking Start Menu --> All Programs --> Accessories, right-click on Command Prompt, and open it as an administrator. In Windows 8, 8.1 and Windows 10 simply hold down the + X keys and select the option “Command Prompt (Admin)” from the menu.
2. Following command will create a system restore point for Windows Vista and newer versions of Windows OS.
3. You can enable build-in Administrator account to rename your user profile folder name. Type following command to enable build-in Administrator account.
4. Boot Windows OS into enabled Administrator account and open the C:\Users folder and rename your user profile folder name.
5. Open Run dialog box by pressing keys. Open the registry editor by typing regedit.exe into Run dialog box and click OK button.
6. From registry editor navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList registry key and click each subkey to find the key associated with user profile folder that you want to rename, the ProfileImagePath value data will have the user profile path and name, change the name to match the same folder name of your user profile folder you have renamed.
7. Reboot your computer to make changes.
8. After you have finish with Administrator account disable it by typing following command.
First you should make sure you have Windows Setup DVD or Repair Disk. Please create a system restore point before following below steps.
1. Open the Command Prompt by clicking Start Menu --> All Programs --> Accessories, right-click on Command Prompt, and open it as an administrator. In Windows 8, 8.1 and Windows 10 simply hold down the + X keys and select the option “Command Prompt (Admin)” from the menu.
2. Following command will create a system restore point for Windows Vista and newer versions of Windows OS.
Code:
Wmic.exe /Namespace:\\root\default Path SystemRestore Call CreateRestorePoint "My Restore Point", 100, 12
3. You can enable build-in Administrator account to rename your user profile folder name. Type following command to enable build-in Administrator account.
Code:
Net user administrator /active:yes
4. Boot Windows OS into enabled Administrator account and open the C:\Users folder and rename your user profile folder name.
5. Open Run dialog box by pressing keys. Open the registry editor by typing regedit.exe into Run dialog box and click OK button.
6. From registry editor navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList registry key and click each subkey to find the key associated with user profile folder that you want to rename, the ProfileImagePath value data will have the user profile path and name, change the name to match the same folder name of your user profile folder you have renamed.
7. Reboot your computer to make changes.
8. After you have finish with Administrator account disable it by typing following command.
Code:
Net user administrator /active:No