Question: how to change user profile name in regedit?
Answer: Run the Regedit.
Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList.
Find the key called "ProfileList". Below you'll see few S-1-5-xxxxx etc. profiles. ... 
If needed, restart Windows Explorer to apply changes or sign out.