Win10 how to modify C:\Users\ username folder

Direct modification cannot be modified and is displayed in gray

Generally speaking, the username folder is the same as the login account, of course this method is also suitable for XDM who do not want the same name, go to step 2, change the registry to the name you want, and then do it!! **

So step 1: Change 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 \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileListCopy the code

Go to the above path to find ProfileImagePath, which may be contained in the following folders, just find your old login name with a value of C:\Users\ you

Mine in the last folder, click change to C:\Users\ your new login name

Step 3: Restart or log out

Select your new account to log in, and then it will prompt you to log out, otherwise you will lose data and so on, you do not care about it, also do not click.

Win + E then go to file Explorer, go to C: Users\ to see a TEMP directory generated, and you will see your old login name folder, then you can right-click the old name directory to rename it to the new login name, your registry has been changed, so just log out or restart

Finally enter the name of c disk directory to see and modify success, still in the TEMP, delete, the registry, too, will ProfileImagePath value of c: \ Users \ TEMP directory can be deleted, generally he will be automatically deleted.

Finally done!!

Point a praise to walk again bai !!!!! XDM…