Site icon WindowsLoop

How to Change User Password Using Command Prompt

This article shows how to change the user account password in Windows 10 and 11 using the net user command in Command Prompt.

The Windows operating system makes it easy to quickly and easily change the user account password. All you have to do is open the Settings app, go to the “Your Account” page, and follow the on-screen instructions. In fact, I’ve already written a detailed guide on how to do it.

However, from time to time, you might have to use the Command Prompt to change the user password in Windows. For example, you might be facing problems with the regular Settings app.

The good thing is that you can use the net user command to quickly and easily change the password of any user in Windows. All it takes is running a single command in the Command Prompt, and you are good to go.

So, without further ado, let me show you how to change the user account password using Command Prompt in Windows.

The steps below work the same in Windows 10 and 11.

Table of contents:

  1. Requirements
  2. Change user account password using Command Prompt

Requirement

As you might expect, you need admin rights to change the password using Command Prompt. Without administrator rights, you cannot modify the password.

Change user password using Command Prompt

We will use the “net user” command to change the user account password via Command Prompt.

  1. Right-click the Start menu.
  2. Choose the “Terminal (Admin)” option.
  3. Click the dropdown icon on the title bar.
  4. Choose the “Command Prompt” option.
  5. Run the below command. Replace “Username” and “NewPassword” with actual details.
    net user Username NewPassword
  6. Close the terminal window.
  7. With that, the user account password is changed.

Steps with more details:

First thing, open Command Prompt as admin. To do that, right-click the Start menu and choose “Terminal (Admin).” On Windows 10, search for “Command Prompt,” right-click on Command Prompt, and select “Run as administrator.”

In the terminal window, click the dropdown icon on the title bar and choose “Command Prompt.”

Next, run the below command while replacing “Username” and “NewPassword” with the actual username and password you want to assign, respectively.

net user Username NewPassword

As soon as you execute the command, it will change the user account password.

That is all. It is that simple to change the user account password using Command Prompt.

I hope this simple and easy Windows how-to guide helped you.

If you are stuck or need some help, send an email, and I will try to help as much as possible.

Exit mobile version