1

By default windows 10 Home has very weird system of how to choose the usernames when you create a new user in the system(in particular during intial set up).

So, when I set up my new windows 10 Home system it selected username as Foo. However, I want it to be Bar. So, according to this description I change the name of my main user account and its folder in particular. Also in resgistry I cleaned up all mentions of old Foo account and changed it to Bar(of course where it was possible). However, system variable %USERNAME% still gives me Foo when I echo it in the console(of course I rebooted after all my changes). In registry I see that system variable USERNAME is equal to SYSTEM, but I do not know from where the old user account name Foo appears when I try to echo its value. What does SYSTEM mean and how can I change the value of USERNAME variable?

P.S. the value of USERPROFILE variable shows correct value of C:\Users\Bar

maks
  • 359
  • 2
  • 7
  • 16

1 Answers1

1

One thing you can do is change the NAME of the computer to something sensible to you. This helps when creating new user accounts.

What I found in looking is that this is a long standing bug https://answers.microsoft.com/en-us/windows/forum/all/changing-user-folder-name-windows10/77a01554-1002-48f4-91c8-f438862df771

So one thing you can do is make a new account of your choice.