Two ways to change win10 username
the first method
Right-click this computer=>Manage=>Find local users and groups.
Enter the'Users' folder=>Select the user that needs to be changed=>Right-click to rename.
After the change, restart the computer and the configuration will take effect. Username changed successfully
The second method
win+R (run)=>cmd
input command control userpasswords2,
a "user account" dialog box will appear=>select the changed user=>properties=>enter the new user name (restart the computer) and
restart the computer, the configuration will take effect, the user Name changed successfully