BIGtheme.net http://bigtheme.net/ecommerce/opencart OpenCart Templates
Home / HOW TO / How to Change the Windows User Password via Command Line

How to Change the Windows User Password via Command Line

Changing your password is simple in Windows. While you can jump through a few menus to change the password for your own account (or someone else’s if you’re an administrator), if ever you can’t do it that way, you can always use the Command Prompt instead.

It might scare new users, but the Command Prompt is great for quickly doing common tasks. Next time you want to change a password on your PC, try this method.

This is How to Change the Password from the command line

1.  First, open an administrator Command Prompt (assuming you have administrator privileges). To do this, type cmd  into the Start Menu. Right-click on the Command Prompt entry and choose Run as administrator.

2.  Type the following command and press Enter to list all the users on your system:

               net user

3.  Take note of the account name you want to change the password for, then use this command. Replace USERNAME and NEWPASS with the actual username and new password for the account. Further, if the username is more than one word, you’ll need to place it inside quotes:

 

net user USERNAME NEWPASS

net user "USER NAME" NEWPASS

4.  After you press Enter to run this command, you’ll see a message that it completed successfully. Now you can use the new password to log into this account.

For extra security, you can use a slightly different command to prevent the new password from appearing on-screen. Type net user USERNAME * and Windows will ask you to type a new password twice. However, it doesn’t appear as you type, making sure anybody nearby cannot see it.

If you see an Access denied message, make sure that you started the Command Prompt as an Administrator. Standard users can’t change the password for other users.

And if you’ve lost the administrator password, follow our tips for resetting your forgotten Windows password.

Also Read: Windows10 is Finally popular than Windows7

About Stephen Okome

Stephen Okome is a unique fellow with a huge interest in technology. He is a programmer, a h@cker and a web developer.

Check Also

Airtel 150% Data Bonus: Get 1.8GB For Just N500, 3.75GB For N1000 or 500MB for N200

Many of us enjoyed MTN 100% data bonus for complete 6 months and we still ...

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: