How to Change Password with Command Prompt on Windows 11 or 10?

For security reasons, it is always recommended to keep changing the password. If you have not changed the password of your Windows 11/10 user account, it is high time to do so. In this gearupwindows article, we will guide you on changing the local user account password. That means this post will not be helpful if you are using a Microsoft account to login into your PC. You will need to reset your email password online or through the Windows 11/10 Lock screen for a Microsoft account.

How to Change Password with Command Prompt on Windows 11 or 10?

To change your account password using Command Prompt on Windows 11 or 10, do the following steps:-

Step 1. First, open Command Prompt with elevated rights.

To do so, press Windows + R keys on the keyboard to launch the Run dialog box. In the box, type cmd and then hit Ctrl + Shift + Enter from the keyboard.

Step 2. On the prompt, type the following command to list down all the available accounts on your computer and press Enter on the keyboard:-

net user

Step 3. Now, note down the username for which you want to change the password. Then, type the following command and hit Enter key on the keyboard:-

net user USERNAME *

Note: Please replace USERNAME with the account name that you want to update in the above command. For instance, we want to update the “Test” account password. So my command will be “net user Test *.”

Step 4. After that, type a new password beside “Type a password for the user:” and then hit Enter on the keyboard.

Step 5. Again, type the same password next to “Retype the password to confirm:” and hit Enter key on the keyboard.

Once you complete the above steps, sign out of the account. To sign back into your account, you’ll need to enter the new password that you have set.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: