Source: http://superuser.com
Create a local user account with administrative privileges if you don't have one already.
Reboot.
Login with local account with administrative privileges.
Win+X, G (Computer Management) → System Tools → Local Users and Groups →Users, right-click user, Rename.
Win+X, A (Command Prompt (Admin))
ren C:\Users\dzinx_000 dzinx
Win+X, R (Run)
regedit
Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\
and find the SID for your user account. You can simply open each folder and check the ProfileImagePath
for the correct one.
Rename the ProfileImagePath
value to your desired name, like C:\Users\dzinx
Log in with your Microsoft account. Everything should work fine: