Answer the question
In order to leave comments, you need to log in
Rename admin folder?
I changed the username of Windows 10 Pro, because the main language was Russian, I wanted to set it to English, as a result, I stopped seeing the user's folder whose name is written in Cyrillic. Now half of the software has crashed and the other part does not work, since the old folder remains with the same name, let's say: C:\Users\MyUserFolder and should be C:\Users\NewNick .
Yes, I know that you can create another user locally, make him an admin and delete the first account, but then the path will be: C:\Users\NewNick which violates the general structure, and the puts are everywhere where it was registered, where it worked, C:\ Users\MyUserFolder will also stop working, this is if you replace it with C:\Users\MyUserFolder .
Answer the question
In order to leave comments, you need to log in
Complete crap with crooked hands.
Changing the username does not mean changing the user directory - the directory is bound not to the username, but to the SID, and the SID does not change when the name is changed.
The binding of a profile to a SID is located in the registry: HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList.
You can explore this thread, but I don’t recommend changing anything there, you have obvious problems with understanding how Windows works, you can ruin something.
If you want a profile to be created using a new username, then delete the section with the user's SID in the specified registry section and reboot. When Windows does not find a subsection with the user's SID at boot, it will assume that this is a new user and create its profile again, using the new username. You will only have to drag information from the old profile to the new one.
Another option is to change the profile path: create a new user, log in under it (so that your main profile is not busy), rename the profile directory as you like, change the path to the user profile in the registry (along the above path) to a new directory. Login with your user. The new user can be deleted. The same can be done from a bootable flash drive, but there are more gestures.
You can quickly see where the user profile is located with the console command:
echo %USERPROFILE%
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question