I have a user named: 用户alex, and I want to change the 用户 to a English word, how can I do that in Windows 10?
C:\Users\用户alex>xxx install xxx
I want to change the 用户alex name to English words.
I have a user named: 用户alex, and I want to change the 用户 to a English word, how can I do that in Windows 10?
C:\Users\用户alex>xxx install xxx
I want to change the 用户alex name to English words.
Warnings:
Especially you use the command prompt heavily, maybe you can work around the current problem (of a challenging name) by referencing %USERPROFILE% instead of using C:\Users\(complicated...)
Okay, with that overview/warning out of the way, here are some steps:
Make an empty directory with the desired name
Graphical Approach: Run a UAC-elevated copy of RegEdit. (That is, right-click on a RegEdit icon or a Command Prompt icon, and if there is a "Run As Administrator" option, choose that. If you ran a command prompt, run RegEdit.)
Go to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
Look through each sub-key for the one that has a REG_EXPAND_SZ value called ProfileImagePath that has the old location.
Right click on it, and say modify.
Command Line Approach:
Or, use the command line approach:
REG QUERY "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" /s
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S(SIDdetails)" /v ProfileImagePath /t REG_EXPAND_SZ /d "C:\Users\NewValue" /f
(Customize the "(SIDdetails)" and "NewValue" parts of that last line.)
Next steps:
Very simple answer. Create a new user and delete the old. This worked for me, I bought the computer from someone else, and there were no data or programs to keep. I created a new user with admin rights and deleted the old user with admin rights afterwards. The path was changed, and the login username as well, of course.