Do you want to change your Windows account password using command prompt? Windows’ net user command will help you, it is easy to change your Windows account password with a single CMD command, you don’t need to go to User Account Settings and look for it.
When changing passwords, make sure you have administrator access, which means you need to use an administrator account to use the command. With administrator access, you can change your account passwords as well as the passwords of other accounts available on your Windows PC.
You should also note that this command will only allow you to change your local account password and not the Microsoft account. If you use a Microsoft account to log into your PC, there is a different procedure for changing passwords.
How to change Windows account password using command prompt
To change your Windows user account password using command prompt, here’s what you need to do, follow these simple steps.
- Step 1: Start the Command Prompt using the Windows key + R shortcut and type cmd and then press CTRL + SHIFT + ENTER. You can also go to the Start menu and search cmdright click on it and select Run as administrator.
- Step 2: A CMD window will open, now type the command net user USERNAME PASSWORD and enter. Replace USERNAME with the username whose password you want to change and PASSWORD with the new password you want to use.
You can get a list of users available on the PC, just type this command net user in the command prompt and check the list. If the username contains spaces, be sure to enclose it in quotation marks.
- PASSWORD of the net user “MobiGyaan MG”.
This involved changing the user account passwords via the command prompt. More such guides are available in our How-to Guides section.
Here are some suggested things about Windows 11 for you, take a look below.
To receive updates on the latest tech news, smartphones and gadgets, be sure to follow us on our social media profiles.
Instagram | Facebook | Twitter | Youtube