1

I've got a new laptop and did the initial setup using my Microsoft account (i.e. using my email and microsoft.com password). Therefore I've ran into the debacle that my local profile directory is using the first 5 characters from my last name, which is NOT what I want.

Now, I have read up on this (lots of posts on how to rename an account) and found that the best way is to create another admin account, then rename the local account and use the registry editor to change the profile path of the SID for the old account.

However, I am 100% sure that I was never asked what my local profile directory name should be on the laptop and now I am wondering: what the best way to control this from the very beginning? So the question in short is:

What is the best practice for using a microsoft account in Windows 10, but with a specific local profile directory name?

I am wondering for example:

  • Is there somewhere in microsoft.com a place where I can go and set a "preferable account id" or something that is used when I create an account on a new computer? So then if I go and set this in my web account, THEN do the setup process on the new laptop, it will use whatever I like as the profile directory name?

  • Is there some option somewhere you can click on during the Windows first boot setup process to do this? Something I missed when I selected to sign in with my microsoft account, where I could have provided the local profile directory name of my choice?

  • Is it best to just sign in using a local user account (to control the profile directory name) and THEN link that to a microsoft account?

This is a new laptop, so I don't mind starting over, just wondering what the best way to do this is...

3
  • Windows 10 Pro or Windows 10 Home? Commented Nov 14, 2021 at 16:39
  • I have never used the local profile directory on any Windows machine I have ever used. Just ignore it.
    – Chenmunka
    Commented Nov 14, 2021 at 16:39
  • @user1686 I would home that the edition of Windows does not matter for this question. If there is a difference I would be interested in learning both.
    – Alexandros
    Commented Nov 14, 2021 at 16:46

1 Answer 1

3

You should do it the other way around than yours:

  • The first user you create should be a local account with your right name
  • You then attach the user to your Microsoft account.

For a local account, Windows uses the full account name as the profile folder name

If, as is your case, you have started with a Microsoft account, it's not too late : Create a new local account whose user name is the same as the name you want for your profile folder, then attach it to your Microsoft account.

To create the new local user account:

  • Sign in using an administrative account
  • Go to Settings > Accounts > Family & Other Users
  • Click "Add someone else to this PC"
  • On the "How will this person sign in?" page, click "I don't have this person's sign-in information"
  • On the "Create account" page, click "Add a user without a Microsoft account"
  • Enter a local user name that is the wanted profile folder name (you probably don't want to include blanks in the name)
  • Add a password, choose the three security questions, and finish creating the account.

To attach to the Microsoft account:

  • Sign back in using the new local account
  • Go to Settings > Accounts > Your Info
  • Choose "Sign in with a Microsoft account instead" and continue
  • After you finish, your user profile folder will still have the full name used when you set up the local account.

There are other methods that involve registry changes and renaming the folder, but they are more chancy. You may see them in the post How to change Windows User Account name throughout the system?

4
  • Thanks. I actually already mentioned the other method in my question. I have already successfully carried that out. I was just wondering whether there is a more direct way. Are you sure the most direct way is to create a local account during the install, and then link it to the online account after install is over? If that is the case I will accept this answer.
    – Alexandros
    Commented Nov 14, 2021 at 22:33
  • One can never be sure, but I don't know of any other method besides the two in my answer. The method where a local account is created first is recommended, since it avoids registry manipulations (where any error can cause future complications).
    – harrymc
    Commented Nov 15, 2021 at 8:54
  • So, having been through the registry manipulation recently, I agree it is a very cumbersome process. Hence this post. That last option in my bullet list (your first recommendation) does seem like the simplest approach currently. Let's see if anybody else chips in. If nobody suggests a better alternative, then I guess this is the one...
    – Alexandros
    Commented Nov 15, 2021 at 12:57
  • After setting up Windows with a local account I cannot access/share folders using my Microsoft account, the MS account doesn't appear in the permission entities list. Commented Dec 24, 2023 at 4:22

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .