Tips & Tricks

Change the Windows User Password via Command Prompt


Want to change your Windows User Password by just a simple way? Without any hassle? There’s a simple way by which you can do it, i.e., using CMD(Command Prompt). You might be nervous about how to use command prompt for this, but clearly just follow these steps. And you’ll see that this is the simplest way to do this.

How to change Windows User Password via Command Prompt:

  1. Firstly, run the command prompt as an administrator. To do this, search for cmd from your start menu, right click on it and select Run as Administrator.


2. Type the following command and hit Enter.

     net user

It will show you up list of all the users of your system.


3. Now, check for the account name you want to change the password for, then use this command.


Replace USERNAME and NEW_PASSWORD with the actual username and new password for the account.


Note: If the username is more than one word, you’ll need to place it inside quotes.



4. After this, press Enter. And done! You will see a message saying that its done successfully. Now you can use the new password to log into this account.

Change the Windows User Password via Command Prompt


Note: In case, for additional security, you can utilize a different command to keep the new secret key from showing up on-screen. Type net user USERNAME * and Windows will request to type the new password twice. In any case, it doesn’t show up as you write, ensuring anyone adjacent can’t see it.

In the event that you see an Access denied message, ensure that you began the Command Prompt as an Administrator. Standard users can’t change the password for other users.


Did you enjoy this article?
Signup today and receive free updates straight in your inbox. We will never share or sell your email address.
I agree to have my personal information transfered to MailChimp ( more information )


Prachi Sharma

In love with coding. A technophile and a web developer.