Issues when Windows 10 Account Username Includes Space

Sharyar Qureshi 1 Reputation point
2022-08-27T08:27:36.68+00:00

In Most version of Windows I have used, and currently using windows 10, having a space within the account username poses problem, particularly with paths and when the input doesn't accept a path with ""[...]"" (I put quotes in quotes). I do not remember how it came to be, but, when creating my account, my home folder now includes a space.

I would like to change (?) my Local account's username to remove the space (that also exists in my home folder) but the online guides and things I tried fail. I have tried changing the profile location in the registry, home folder etc., but something always breaks and my profile cannot load. I always end up having to do a System Restore.

How can I fix this without having to create a new account and move everything to it? I would like to avoid having to create a new account, since settings and customizations will have to be done anew. How can I change the username of my local account and what registry keys and other settings do I have to change to point to my new profile folder?

Thanks in advance!

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
10,595 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. S.Sengupta 14,961 Reputation points MVP
    2022-08-28T00:26:05.703+00:00

    User names cannot contain certain characters. Invalid characters include:

    " / \ [ ] : ; | = , + * ? < >

    0 comments No comments