r/Windows11 • u/Hot_Status9665 • 12h ago
Solved Changing your C:\Users username on Windows 11
I struggled with this for a while, so I thought I'd share the solution for anyone experiencing the same issue.
When setting up Windows 11 from scratch, Windows typically creates your user profile folder (C:\Users\username) based on your Microsoft account email address, which may not be the name you want. I went through several options when I noticed the username choice and couldn't change it.
Here's what I did finally:
I had to backup my PC and reset it (this was easy because I had just set it up the previous day and most of my files were on OneDrive). So, I pretty much started setup afresh.
During the setup, when you get to the screen asking you to name your PC, click Advanced settings. You'll find an option to specify your preferred local user folder name. Enter the name you want, then continue setting up Windows with your Microsoft account as usual. This way, you can have C:\Users\YourPreferredName without creating another user account, editing the Registry, or renaming folders afterward (I had tried all these).
I wish I'd known this earlier. It would have saved me hours of troubleshooting!
PS: I only tried this with my Windows 11 version:
Windows 11 Pro
Version: 26H2
OS build: 26300.9711

