none
How to rename a default user directory after changing computer name?

    Pregunta

  • I just renamed my PC and would like to rename the default user folder to match the name.  Is there an easy way to do so?  There is no option to rename the folder.  Please advise.  This is causing conflicts with my printing/scanning ability through our network.

    Thanks.


    • Editado mellefs viernes, 07 de octubre de 2011 1:56
    jueves, 06 de octubre de 2011 18:58

Respuestas

  • Hi,

     

    You can change your user name, but it is hard to change the user profile folder name. If you want to change it indeed, I suggest you could create a new user profile to match your computer name.

     

    Alex Zhao


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    martes, 11 de octubre de 2011 7:10
    Moderador

Todas las respuestas

  • Hi,

     

    You can change your user name, but it is hard to change the user profile folder name. If you want to change it indeed, I suggest you could create a new user profile to match your computer name.

     

    Alex Zhao


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
    martes, 11 de octubre de 2011 7:10
    Moderador
  • Which folder specifically are you referring to when you say "default user folder"?

    Can you explain how/why the folder name is causing issues for printing and scanning?

    miércoles, 12 de octubre de 2011 20:37
  • Hi I have the same problem. I just bought a floor model Lenovo and The Geek who set it up (Best Buy) spelled the name wrong - the PC, the user account, and the c:\user\xxx  folder are all spelled wrong. the users folder is also locked and the folder and all files are set to read only. One thing at a time. I changed the PC name and the user account name (part of it, anyway) How to change the user folder name so the paths are correct? There is no option under properties for renaming this folder. Thanks guys -  the Geek doesn't know and said he'd have to charge me to find out (this is an effective way to get rid of customers). Also this is the 2nd rebuild (first time they actually did not do a rebuild, just washed the laptop off) and they  won't do reload the OS again.  
    domingo, 16 de octubre de 2011 1:54
  • What you are seeing is the default behavior. Regardless of the name change,
    it's almost impossible to change all of the thousands of registry entries,
    folders, and other pointers that are associated with a users account name.

    The only solution is to create a new user account, copy all of the folder
    and settings to the new user account, and then deleate the original account.
     
    Cordialement, Met vriendelijke groeten, Gokan Ozcifci - SharePoint Infrastructure Consultant ( wants to be microsoft community contributor )
    domingo, 16 de octubre de 2011 11:55
  • Rename User Folder in Windows 7 Step-by-step:

    • First of all change your user account name by accessing the Control panel. Click Start Menu then Control Panel.
    • On the Control Panel Windows click on user account name link
    • Type in your new user account on the box bellow your profile picture and then click on the “Change Name” Button
    • The next step would be to change your folder profile. First of all you need to create a new account with administrator rights to execute the next steps. This new account is  only needed to change the folder profile name. You may remove this account after you use it to change the folder profile name. To create a new account click Manage Another Account > Create a new Account

    Type in the new account. Make sure you assign  “Administrator” right  for this new account. 

    • Log off your computer and then log in with the newly-created account
    • Open Windows Explorer and then navigate to C:\users
    • Right click on the folder you want to rename and change it to the same name as your new  user profile with which you log in to your Windows 7
    • At this point you have successfully renamed your Windows 7 user folder but to avoid possible error you need to perform a registry edit. Go to registry editor by typing “Registry” (without quote) in Start Menu. Navigate to the following registry value:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList .
    • Righ click on the profile list and navigate to  “Find” Menu
    • Type in your old user in the search box and then hit ‘Find Next”.  Navigate to the “ProfileImagePath” located on the right pane of the registry editor and click twice on it
    • Edit  the registry value to rename it to your new user profile.

    • Done 
    • Propuesto como respuesta danomania1 lunes, 18 de junio de 2012 18:55
    martes, 28 de febrero de 2012 3:54
  • Rename User Folder in Windows 7 Step-by-step:

    • First of all change your user account name by accessing the Control panel. Click Start Menu then Control Panel.
    • On the Control Panel Windows click on user account name link
    • Type in your new user account on the box bellow your profile picture and then click on the “Change Name” Button
    • The next step would be to change your folder profile. First of all you need to create a new account with administrator rights to execute the next steps. This new account is  only needed to change the folder profile name. You may remove this account after you use it to change the folder profile name. To create a new account click Manage Another Account > Create a new Account

    Type in the new account. Make sure you assign  “Administrator” right  for this new account. 

    • Log off your computer and then log in with the newly-created account
    • Open Windows Explorer and then navigate to C:\users
    • Right click on the folder you want to rename and change it to the same name as your new  user profile with which you log in to your Windows 7
    • At this point you have successfully renamed your Windows 7 user folder but to avoid possible error you need to perform a registry edit. Go to registry editor by typing “Registry” (without quote) in Start Menu. Navigate to the following registry value:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList .
    • Righ click on the profile list and navigate to  “Find” Menu
    • Type in your old user in the search box and then hit ‘Find Next”.  Navigate to the “ProfileImagePath” located on the right pane of the registry editor and click twice on it
    • Edit  the registry value to rename it to your new user profile.

    • Done 
    • Propuesto como respuesta BSab jueves, 21 de junio de 2012 0:14
    • Votado como útil BSab jueves, 21 de junio de 2012 0:19
    • Propuesto como respuesta Digital Diver miércoles, 20 de agosto de 2014 17:50
    • Votado como útil Digital Diver miércoles, 20 de agosto de 2014 17:51
    • Propuesto como respuesta Digital Diver miércoles, 20 de agosto de 2014 17:51
    martes, 28 de febrero de 2012 3:55
  • Rename User Folder in Windows 7 Step-by-step:

    • First of all change your user account name by accessing the Control panel. Click Start Menu then Control Panel.
    • On the Control Panel Windows click on user account name link
    • Type in your new user account on the box bellow your profile picture and then click on the “Change Name” Button
    • The next step would be to change your folder profile. First of all you need to create a new account with administrator rights to execute the next steps. This new account is  only needed to change the folder profile name. You may remove this account after you use it to change the folder profile name. To create a new account click Manage Another Account > Create a new Account

    Type in the new account. Make sure you assign  “Administrator” right  for this new account. 

    • Log off your computer and then log in with the newly-created account
    • Open Windows Explorer and then navigate to C:\users
    • Right click on the folder you want to rename and change it to the same name as your new  user profile with which you log in to your Windows 7
    • At this point you have successfully renamed your Windows 7 user folder but to avoid possible error you need to perform a registry edit. Go to registry editor by typing “Registry” (without quote) in Start Menu. Navigate to the following registry value:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList .
    • Righ click on the profile list and navigate to  “Find” Menu
    • Type in your old user in the search box and then hit ‘Find Next”.  Navigate to the “ProfileImagePath” located on the right pane of the registry editor and click twice on it
    • Edit  the registry value to rename it to your new user profile.

    • Done 

    No matter who I log in as, I can not edit the name of my original account folder. It says that the file/folder is in use by another program. I even tried an elevated command prompt window and that just says Access Denied.

    Edit: It's the Windows Media Player Network Sharing service that is locking it, I'll just stop that service temporarily.


    Core i7 920 @ 2.66GHZ | ASUS P6T Mother Board | 6 gig DDR3 1600 RAM | 2x 500g SATA2 HDD | Integrated sound | Gainward Geforce GTX 560Ti "Phantom 2" 2048MB PCI-E (latest drivers) | Windows 7 Home Premium x64 | Thermaltake 750watt Toughpower Power Supply | Thermaltake Armor+ MX case.


    miércoles, 30 de mayo de 2012 20:51
  • Rename User Folder in Windows 7 Step-by-step:

    • First of all change your user account name by accessing the Control panel. Click Start Menu then Control Panel.
    • On the Control Panel Windows click on user account name link
    • Type in your new user account on the box bellow your profile picture and then click on the “Change Name” Button
    • The next step would be to change your folder profile. First of all you need to create a new account with administrator rights to execute the next steps. This new account is  only needed to change the folder profile name. You may remove this account after you use it to change the folder profile name. To create a new account click Manage Another Account > Create a new Account

    Type in the new account. Make sure you assign  “Administrator” right  for this new account. 

    • Log off your computer and then log in with the newly-created account
    • Open Windows Explorer and then navigate to C:\users
    • Right click on the folder you want to rename and change it to the same name as your new  user profile with which you log in to your Windows 7
    • At this point you have successfully renamed your Windows 7 user folder but to avoid possible error you need to perform a registry edit. Go to registry editor by typing “Registry” (without quote) in Start Menu. Navigate to the following registry value:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList .
    • Righ click on the profile list and navigate to  “Find” Menu
    • Type in your old user in the search box and then hit ‘Find Next”.  Navigate to the “ProfileImagePath” located on the right pane of the registry editor and click twice on it
    • Edit  the registry value to rename it to your new user profile.

    • Done 

    I just wanted to confirm that this method worked perfectly for me.  Thanks so much for the help.

    I also wanted to add that based on Franpa_999's experience it seems like it would be a good idea to reboot into safe mode to do the actual renaming part.  That way there shouldn't be any services or programs using the folder while you're trying to rename it.

    jueves, 21 de junio de 2012 0:18
  • It ws just that one particular service that was causing the problem, I had no need to reboot in to safe mode :)

    Core i7 920 @ 2.66GHZ | ASUS P6T Mother Board | 6 gig DDR3 1600 RAM | 2x 500g SATA2 HDD | Integrated sound | Gainward Geforce GTX 560Ti "Phantom 2" 2048MB PCI-E (latest drivers) | Windows 7 Home Premium x64 | Thermaltake 750watt Toughpower Power Supply | Thermaltake Armor+ MX case.

    jueves, 21 de junio de 2012 11:10
  • I turned this into a WIKI article, with the precise steps mentioned here - I gave credit to this thread and the people here. Thanks, these processed worked wonderfully for me! In this iteration, I was able to boil it down to 9 steps, first booting into 'safe mode.' Check it out here:

    Wiki to Rename Windows 7 User Profile Folder

    Jeff


    tnjman

    lunes, 23 de septiembre de 2013 13:50
  • I second this as a viable answer and that it worked perfectly. I will add though that I was applying this fix in a VM environment (which shouldn't really make a difference...perhaps less clutter?).
    miércoles, 20 de agosto de 2014 17:55
  • Although this process worked for me, I am unsure if it caused this issue or if something else caused it at a later date (Note the username of the processes is broken/gibberish):  photo Untitled_zpsa17e0e18.png

    Core i7 920 @ 2.66GHZ | ASUS P6T Mother Board | 6 gig DDR3 1600 RAM | 2x 500g SATA2 HDD | Integrated sound | Gainward Geforce GTX 560Ti "Phantom 2" 2048MB PCI-E (latest drivers) | Windows 7 Home Premium x64 | Thermaltake 750watt Toughpower Power Supply | Thermaltake Armor+ MX case.


    jueves, 21 de agosto de 2014 10:07
  • I think you should do this -

    • Change your user account name from Control panel.
    • At the Control Panel you need to click on user account name.
    • Click on the Change Name option
    • Then  change folder profile and make sure create a new account with administrator
    • This new account is only needed to change the folder profile name.
    • To create a new account click Manage Another Account > Create a new Account
    • Log off your computer and then log in with the newly-created account
    • Now Open Windows Explorer then navigate to C:\users
    • Right click on the folder you want to rename and change it to the same name as your new  user profile with which you log in to your Windows 7
    • At this point you have successfully renamed your Windows 7 user folder but to avoid possible error you need to perform a registry edit. Go to registry editor by typing “Registry” (without quote) in Start Menu. Navigate to the following registry value:
    • Righ click on the profile list and navigate to  “Find” Menu
    • Type in your old user in the search box and then hit ‘Find Next”.  Navigate to the “Profile Image Path” located on the right pane of the registry editor and click twice on it
    • Edit  the registry value to rename it to your new user profile
    sábado, 23 de agosto de 2014 12:36
  • Rename User Folder in Windows 7 Step-by-step:

    • First of all change your user account name by accessing the Control panel. Click Start Menu then Control Panel.
    • On the Control Panel Windows click on user account name link
    • Type in your new user account on the box bellow your profile picture and then click on the “Change Name” Button
    • The next step would be to change your folder profile. First of all you need to create a new account with administrator rights to execute the next steps. This new account is  only needed to change the folder profile name. You may remove this account after you use it to change the folder profile name. To create a new account click Manage Another Account > Create a new Account

    Type in the new account. Make sure you assign  “Administrator” right  for this new account. 

    • Log off your computer and then log in with the newly-created account
    • Open Windows Explorer and then navigate to C:\users
    • Right click on the folder you want to rename and change it to the same name as your new  user profile with which you log in to your Windows 7
    • At this point you have successfully renamed your Windows 7 user folder but to avoid possible error you need to perform a registry edit. Go to registry editor by typing “Registry” (without quote) in Start Menu. Navigate to the following registry value:
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList .
    • Righ click on the profile list and navigate to  “Find” Menu
    • Type in your old user in the search box and then hit ‘Find Next”.  Navigate to the “ProfileImagePath” located on the right pane of the registry editor and click twice on it
    • Edit  the registry value to rename it to your new user profile.

    • Done 

    Thanks so much for this info. It is really helpful and it worked for me on my Windows 7 Starter.....but the only issue is that "Registry" (without quote) in start Menu should have been press Window Key + R and in the box, type regedit that is what will bring you to the Registry Editor. Thanks once again.
    • Propuesto como respuesta bustabaf domingo, 31 de mayo de 2015 14:34
    domingo, 31 de mayo de 2015 14:34
  • Alternatively type "Regedit" without quotes in to the Start Menu's Search option.

    Core i7 920 @ 2.66GHZ | ASUS P6T Mother Board | 6GB DDR3 1600 RAM | Auzentech Forte Soundcard | Gainward Geforce GTX 560Ti "Phantom 2" 2GB (latest drivers) | Windows 7 Home Premium x64 | Corsair Ax760 Power Supply | Thermaltake Armor+ MX case

    domingo, 31 de mayo de 2015 15:21
  • To make it easier for anyone having trouble or being locked out with Access Denied or that another program is using the folder, start the computer in safe mode
    jueves, 24 de diciembre de 2015 17:32
  • Jeff,

    Followed the Wiki to hear...  

    Won't let me change the User Name, no matter what I do it switches it back.  I saw someone else also said the same thing.

    Could an update rendered this process unusable?   Or did I miss something.

    jueves, 25 de febrero de 2016 22:39
  • *2nd Response:

    Found I was able to change the name Under the Prior window after double clicking on the user, this then populated the screen with the new name in window where you had directed us to change name originally in the Wiki Article.

    Did additional sweep of the Registry for any reminants of the old name and changed where I could except for a few that related to installers for applications.  (since they are installed already, all seems fine)

    Thank you very much.

    jueves, 25 de febrero de 2016 23:53
  • Many thanks.
    I had to do the Safe Mode to get it all to work.

    Excellent !!!!!!

    sábado, 15 de octubre de 2016 12:24
  • Worked for most applications. Dropbox crashed after logging on back in my username.

    viernes, 09 de diciembre de 2016 13:37
  • Perfect, thanks
    domingo, 18 de junio de 2017 2:45
  • Used it on Windows Server 2016 domain controller to change Administrator default folder that was created by computer name prior to be promoted to DC and change the computer name from generic to FS1.

    It was C:\user\Administrator.ClientXTXWindows2016 changed to C:\users\Administrator.DOMAIN

    Thank you..


    Thank You, O.E Change2009

    sábado, 09 de diciembre de 2017 20:59
  • Problem solved. Thank you very much! :)
    viernes, 19 de enero de 2018 5:22
  • Worked perfectly! Thank you! 
    domingo, 04 de marzo de 2018 21:37
  • excellent! It's works as charming!
    miércoles, 06 de junio de 2018 16:46
  • Thank you, it worked. But I think that there are additional changes that need to be done to the registry, as I see the old name occurring multiple times when I do a "find". The problem is I do not know which entries pertain to my computer name and which ones pertain to the old user name which I mistakenly created with the same name as the computer name; hence the reason for renaming my user account.

    Here is how I first discovered that the old user account is still being referenced elsewhere. When I create a new task in the Task Scheduler (Windows 10 Home Edition), it shows the owner of the task with the name of the old user account. When I click on the "Change user of group..." button, the process cannot find the new user name when I type it in and click on the "Check names" button. The process can only find the old name.

    Further evidence that the old user id is still being referenced can be seen when you right-click on a folder, select "properties" and click on the "security" tab. From there you can see the old name in the "group or user names" pane.

    Although not a big deal, it would be nice if the system can be entirely cleaned up from the old user name that no longer exists.

    Let me know if you can identify the appropriate registry entries that need to be modified.

    viernes, 14 de septiembre de 2018 17:18