Repeat that until you don't find any references to the old path. A click on the key F3 searches for the next reference. Replace all references containing the old path ( C:\Users\jerem) with the new path ( C:\Users\Jeremy). Then click on Edit > Search (or Find.), type in the old path (in the example it would have been C:\Users\jerem) and search for keys, values and data. UPDATE: Thanks to user for informing me about an issue with my solution! I thought that the system would be a bit more intelligent in updating the references in the registry, but it is not! Therefore you should start the Registry Editor again (as in step 2) and make a backup by clicking File > Export. Note: alternatively, you can boot into a second operating system (if you have one installed) or use a Live CD operating system to change the folder name. However, you can now change the name of the folder using the Windows Explorer (following the example above, you would now rename the folder jerem to Jeremy). This will fail (because of the changed path) and you will automatically be logged in with a temporary user account (which will take a bit of time). Start Windows 10 again and try to login.Close the other remaining opened windows also by clicking OK.I suppose that you can not leave the full name field empty. You can also change the full name here, if you wish (but in my case the correct name has already been entered). (Following the original question, you would now change the user name to ' Jeremy'). Change the user name in the new window.Select the user (for whom you want to change the path) from the list and click on Properties. Make sure that the checkbox ' Users have to enter username and password' is checked.Click on the Windows Button (at the bottom left) again and type netplwiz and click on Execute command.(Following the original question, you would now change the value to ' C:\Users\Jeremy'). If you have found it, double-click on it and change the path.(Example from the question: search for the value ' C:\Users\jerem'). Search for the folder that contains the path (that you want to change) in the registry key named ProfileImagePath. There you can find a few subfolders (starting with 'S-1-5-'). Go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.Make a backup of the prior registry by clicking File > Export.Confirm the UAC dialog by clicking Yes.Click on the Windows Button (at the bottom left), type regedit and click on Execute command.Open the Control Center, type in System Restore and click on Create System Restore Point. Just to be safe, create a restore point.I had the same problem and I have solved it as follows (using information that I found on a few other websites): Some applications create env vars with the user profile path fully expanded, so it's advisable to check for these and reboot if any needed fixing. Otherwise, when you try to rename the folder, Windows may report that it is being used by another program. You may find you have to restart instead of just logging out and logging back in. And in step 3, we click on the sub-keys until we find the one with ProfileImagePath C:\Users\John Smith, and change it to C:\Users\JohnSmith. So in step 2, we use File Explorer to navigate to C:\Users and rename the John Smith subfolder JohnSmith. To find out which one to change, click on each sub-key and examine the values, to find the sub-key with the right ProfileImagePath:įor example, let's say we want to get rid of the space in a user profile folder name. The ProfileList registry key contains a number of sub-keys. The procedure quoted above was provided by Microsoft ( here) in relation to a perceived issue with Windows 7, and continues to work in Windows 10. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\\ Go to the registry and modify the registry value ProfileImagePath to the new path name.Go to the C:\users\ folder and rename the subfolder with the original user name to the new user name.You may need to create a new Administrative account at first. Log in by using another administrative account.And the only registry change required is to edit a single string value (the one that tells Windows the path of the user profile folder): There is no need to create a new user account, so all the settings associated with the existing user profile are preserved. Microsoft has actually documented a very simple and clean way to rename a user profile folder.ĮDIT Feb 2022: If you plan to use winget to manage your Windows installations at any point, note that Microsoft now warns against using this procedure under Windows 10 or later as it can stop winget working.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |