How to Change the Windows Server Password via Command using Net User? Print

  • 0

You can easily change the windows user password using GUI. Please refer to how to change windows user password using GUI? However, if you want to change the password faster using the command prompt. You can use the net user command to change the password using the command. Here, we have mentioned the steps for the same. 

  1. Go to start and open the command prompt with Run as Administrator. 

  2. You can list all of your users using the net user command. Verify that the same user account which password you want to change there.

    net user
  3. Run the below command and replace your username and password with your actual username and password that you want to set.

    net user USERNAME NEWPASS
  4. If your username is more than one work, you will need to add the inside quotes, as shown.

    net user "USER NAME" NEWPASS
  5. If you would like to change the password and doesn't want people near you to view it and want to keep privacy, you can use the below command for it. Once you enter the password, it will ask you to enter the password twice. Password you enter the command prompt will not show to anyone. 

    net user USERNAME *

This is how you can change the password of your user account using net user. 


Was this answer helpful?

« Back
Sign up for a newsletter

chat