How to change my username in Windows 10 with PowerShell or CMD?

0
59
How to change my username in Windows 10 with PowerShell or CMD?

Now computers can be used by a single person or by multiple people, thanks to the fact that Windows 10 allows you to create multiple users. Each of the users can be assigned a name when creating them and can be changed whenever the administrator or account owner wishes.

If you only have one user on your computer or if you have more than one, you can change the name as many times as you want. In the following paragraphs it will be explained to you very simply what you need to change your username, how to change the username in Windows 10 and why sometimes the username can be changed.

What do you need to change the name of the administrator account in Windows 10?

Before going on to explain how a Windows user’s username is changed, we must mention each of the things that you have to have. If you want to rename the Windows 10 administrator account on your PC, you must first have administrator permission.

By having the permission of the administrator, you can make all the changes you want to that user. If you wish, you can change its name, set a password, install programs on the computer and do many other things. So, it is already clear that what you need to change username in Windows 10 is administrator permissions.

girl using mobile and pc

In case you did not know, the Windows operating system gives you an option with which it is possible to get to know what your username is to change it for another.

How do you change the username within Windows 10?

There is a really easy way to change the username of a Windows administrator account. This is using the ‘Settings’ section. A change of this kind can be made from the Windows configuration. However, this time we will explain how to change your username using the CDM and PowerShell.

These two are code reading programs contained in the system. From these code reading programs you can also make changes to the equipment.

from the cmd

Changing the name of a Windows administrator user is very simple if done from the CDM. See what you have to do:

  1. turn on your computer
  2. Go to the virtual desktop
  3. Press the ‘Windows’ key and then the ‘R’ key
  4. In the box that will open, place the command ‘sysdm.cpl’
  5. To finish, press the ‘Change’ option, put the new name in the team name and click ‘OK’

person inserting command on keyboard

If one day you want to change the name of your computer again, you would have to repeat this short process again. It should be noted that using the CDM not only can you change the user name of a computer, but you can even uninstall programs.

This is applicable not only from the CDM of computers that have the Windows 10 operating system. On computers that have previous versions of Windows, you can still use the CDM to remove any program from the system.

Using PowerShell

With PowerShell you can also change the username, but it is much more complicated. This is all you need to do:

  1. Open the PowerShell
  2. Place the command ‘Get-LocalUser’
  3. Select the user with the command Rename- LocalUser – Name ‘Put the user’s name’ – NewName ‘Put the new name that the account will receive’
  4. To finish, press the ‘Enter’ key and the changes will be carried out

By putting each of those commands into PowerShell, you’ll need to see if the username has actually been changed. To do this, you must do the following:

  1. Open the PowerShell
  2. Place the command ‘Get-LocalUser’
  3. Press ‘Enter’
  4. View the list of usernames and check if the name has been changed

If you have any kind of problem regarding the operation of PowerShell, you will have to go to the Microsoft technical support website, the Windows developer.

powershell logo

Looking for the Netplwiz command

The Netplwiz is a command that can be used in Windows 10 searches. With this command you can directly access the Windows user accounts and from there there is a way to change the name of the users. Observe what is the process that you have to execute:

  1. Go to the taskbar
  2. Press the search icon
  3. Put there in the search bar the word ‘Netplwiz’
  4. Now, click on the first result
  5. What follows is to select the account to which you are going to change the name
  6. To finish, just enter the properties of that account, put another name for the user and save the changes

Why can’t you change the username in Windows 10?

Sometimes the computer will not let you change your username, this may be due to a problem with the permissions you have on the computer. The only way to solve this kind of problem is by carrying out one of the processes that were mentioned before, but from the administrator user.

Previous articleReturn the free to DAZN: this is how you get a month without paying
Next articleHow to know which are the ‘Drivers’ that my Windows PC is missing? – Upgrade your equipment

LEAVE A REPLY

Please enter your comment!
Please enter your name here