Quick Tip: Change the Windows User Password via Command Line

Ads by Google

Windows-tip Are you an administrator on the Windows operating system with multiple user accounts? Have you forgotten the password to one of those accounts and you are locked out? Then, provided you are the administrator, you can reset the password from the command line.

To open the Windows command line, just go to your start menu then choose “run” (or press your Windows key and then press R). Then in the box that pops up, type cmd and press enter.

In the black box that comes up, type net user then enter. This will give you a list of all your Windows accounts on that computer.

To change the password for one of these accounts is very simple. Say the Windows account name is asks and you want to change the password to mypa$$word then you just need to type the following :

    net user asks mypa$$word

Windows Command Prompt - Change Password

After pressing enter, you should then get a message saying “the command completed successfully”. That means the password has now been changed and you can now log into that account.

Join live MakeUseOf Groups on Grouvi App Join live Groups on Grouvi
Windows Tips
Windows Tips
678 Members
Windows_10
Windows_10
538 Members
Windows Troubleshooting
Windows Troubleshooting
462 Members
Best Windows Software
Best Windows Software
399 Members
Computer Hardware Talk
Computer Hardware Talk
281 Members
Affiliate Disclamer

This article may contain affiliate links, which pays us a small compensation if you do decide to make a purchase based on our recommendation. Our judgement is in no way biased, and our recommendations are always based on the merits of the items.

For more details, please read our disclosure.
New comment

Please login to avoid entering captcha

Log In