Skip to content

Instantly share code, notes, and snippets.

@object-Object
object-Object / pain_and_suffering.md
Created February 24, 2024 23:49
How to rename your user and home folder on Windows 11

I finally got tired of my laptop deadnaming me, and decided to fix it. Here's what worked for me.

  1. Back up all drives.
  2. Back up the registry.
  3. Create a system restore point.
  4. 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.
  5. 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
  6. Use netplwiz to rename the user: https://superuser.com/a/1011089
  7. Follow these steps to rename the home folder and update the registry: https://winhelponline.com/blog/rename-user-profile-folder-windows