I finally got tired of my laptop deadnaming me, and decided to fix it. Here's what worked for me.
- Back up all drives.
- Back up the registry.
- Create a system restore point.
- Take a picture of your taskbar, start menu, Quick Access pinned items, and VSCode taskbar right click pinned items (if you use VSCode), since you might have to clear these.
- Restart your computer, and log into a different admin acount.
- I used the hidden Administrator account, which can be activated with this command:
net user administrator /active:yes
- I used the hidden Administrator account, which can be activated with this command:
- Use
netplwiz
to rename the user: https://superuser.com/a/1011089 - Follow these steps to rename the home folder and update the registry: https://winhelponline.com/blog/rename-user-profile-folder-windows