Change User Folder Name on New Machine

Laurie Stearn 131 Reputation points
2026-08-22T13:28:48.42+00:00

Folder name is User.

On W11, tried the creating a Microsoft User approach, fails with "Microsoft Account creation has been blocked". When creating another user from "Other Users" there is in red, upon typing your name, "Try another user name."

A few workarounds have been attempted without success.

Although the mapping in OneDrive is fine, there can be a mix-up when importing settings for other programs that are configured to use myusername.

This is a kind of thing for the sadly deprecated Mr. Fixit collection, will he ever make a return?

Thanks.

Windows for home | Windows 11 | Accounts, profiles, and login
0 comments No comments

Answer accepted by question author
EmilyS726 264.9K Reputation points Independent Advisor
2026-08-22T14:21:37.4866667+00:00

Because this username is being referenced in a lot of places including registry, to maintain your user profile integrity, it is best that you create a new user instead, and then migrate your Microsoft account (if you have it linked) and data over.

Here are the steps:

  1. Type netplwiz in the search on the taskbar and hit enter. When launched, click on "Add". On the next window, click on the bottom where it says to create an account without Microsoft email. This will allow you to define your own username. Make sure it doesn't contain space or special character. Set it up as a local user.
  2. When the above user is created, back to the main netplwiz page, double click on this new user, go to the Group Membership tab, make it administrator. Save the change.
  3. Go to Windows Settings > Accounts > Your Info. Click on "Sign in as a local user instead". Follow the steps to finish the rest. This will release the association of your Microsoft email to this Windows log in.
  4. Restart the computer. Sign into the new user you created in Step 1.
  5. Go to Windows Settings > Accounts > Your Info. Click on "Sign in with your Microsoft account". You can then use the same email address you released on Step 3. This will tie your Microsoft email address now to this new Windows log in.
  6. If you have data at the old username folder, go to C:\users\old username folder, find them and copy them into C:\users\new username folder.
  7. Type sysdm.cpl in the search on the taskbar and hit enter, go to Advanced tab, click on the "Settings" button at the User Profile section. Then delete the old user profile.
  8. Launch netplwiz again, delete the old user from there.

Was this answer helpful?

1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.