How to modify the folder of C users in win10
Direct modification is not allowed, and it is displayed in gray
Generally speaking, the user name folder has the same name as the login account,Of course, this method is also applicable to XDM that doesn’t want to have the same name. Go to the second step, modify the registry to the name you want, and then do it!!
Then the first step: modify the login account name
Win key search control panel user account change account name change input
Step 2: modify the registry
Win + R enter regedit to confirm
Computer_ LOCAL_ MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList
Enter the above path to find
ProfileImagePath, maybe the following several folders contain it, just find the value of
C: Your old login namethat will do
My in the last folder, click Modify as
C: Your new login name
Step 3: restart or log off
Select your new account login, and then you will be prompted to log off, otherwise you will lose data or something, you don’t care about it, and don’t care.
win + EEnter file explorer, enter
C:\Users\Next, you can see a temp directory generated and the folder with your old login name. Then you can right-click the old directory to rename it to a new login name. Your registry has been changed, so you can log off or restart it directly
Finally, enter the C disk directory and see that the name and modification are successful. If the temp is still there, delete it, and the registry is the same
ProfileImagePathThe value is
C:\Users\TEMPCan delete the directory, generally he will automatically delete.
Finally, it’s done!!!
Just like it before you go!!!!! xdm·····