Often, computer owners, for various reasons, need to change the username. Either a mistake was made during the installation of the system, or the installer did not enter what the customer wanted - the reasons are not so important. But, unfortunately, not everyone knows how to do this at all. Some do not quite right. For example, in the Windows family of operating systems, many launch the "change user name" item. It is located in the control panel. But this does not guarantee that the username will be changed. In this case, often there are problems with authorization, as well as of a different nature. But first things first.

Now we will figure out why, and how to do it right. People responsible for the convenience of using modern operating systems have long been using two names for identification. In all systems, as a rule, there is a real username (also called physical), as well as a name for display in the system. The real one is used for official tasks (authorization in the domain, login to other workstations, etc.), and the second is for display to end users.
It will be inconvenient for any computer to use the name Chapaev Vasily in its components and services . It will be easier for him to display chapaev_v. The username, as you understand, is taken for illustrative purposes. So, at the moment when you change the name through the setting in the control panel, only its display changes. Thus, the change only occurs in the display name. Microsoft, for some reason, calls it a "full name." When you have to configure authorization from another computer over the network, you will not get the desired result by specifying this name.
So how do you change the username? It is often written on the Internet that this is done using the Users and Groups snap-in, in case it is available. However, very often many do not succeed for the reason that the system does not allow changes in this field.
There is a much easier way, and the desired result is always achieved when using it. In the Windows 7 or XP operating system, we launch the command line console . This is done like this: press the "Start" button, then in the search line, enter CMD and press enter. The console is running. Now you need to type the following command in it: control.exe userpasswords2.
A window will open in front of you, in which we tick off the item “require username and password”, then select the necessary users and launch the “properties”. Here you need to enter a new name and confirm with the OK button. After that, the computer will need to restart and log in already under your updated account.
Thanks to this straightforward method, many users have successfully replaced their name, while they never had any problems (loss of information, difficulty logging in, etc.). At least no one has ever spoken about or written about this anywhere. There may be ways that differ from the above, but I am not aware of this. And the main thing is always the result.