Windows

How to change Windows 10 Password Using Command Prompt

How to change Windows 10 Password Using Command Prompt, If you think your computer’s login password has been compromised, you will find below the steps to change the Windows 10 password using the command prompt and settings.

Change Windows 10 password

Depending on how your computer was initially set up or due to your own preferences, you may log in to your computer with a local or Microsoft account.

If you are using a local account, you can use the command prompt and settings to change the computer’s login password.

If you log into your computer with a Microsoft account, you can refer to this guide: How to change the password of a Microsoft user account in Windows 10.

Use the command prompt (CMD) to change the Windows password

If you prefer to use the command prompt, you can follow the steps below to change the login password on your computer.

Click on the Start button and type Command Prompt in the search bar. Right-click on Command Prompt in the search results and click on the Run as Administrator option. In Command Prompt window, type net user Username NewPassword and press the Enter key.

change Windows 10 Password Using Command Prompt

Note: In above Command, replace Username with your actual User Name and NewPass with the New Password that you want to use.

After successfully executing this command, you will be able to log in to your computer with the new password.

Tip: If you don’t know the name of the user account, type net user in the command prompt window and press Enter. This will list the names of all user accounts on your computer.

Another way to change Windows password using command prompt

Open Command Prompt, type net user Username * > press Enter key > Type New Password and Retype the New Password to confirm.

Change Windows 10 Password Using Command Prompt 1 How to change Windows 10 Password Using Command Prompt

Note: In above command, replace Username with your actual User Name (Family in this case).

Once you re-enter the new password and press Enter, the login password on your computer will be changed and replaced with the new password.

The only problem with the above command is that when you enter and re-enter the new password, you will not see anything.

Use settings to change the Windows login password

The easiest way to change your login password in Windows 10 is to go to settings.

Go to Settings > Accounts > select Sign-in Options in the left pane. In the right pane, scroll down and select the Password option and click on the Change button. On Change your Password Screen, enter your Current Password and click on the Next button.

Change Windows 10 Password Using Command Prompt 2 How to change Windows 10 Password Using Command Prompt

On the next screen, enter your New Password, Reenter Password and click on the Next button. Finally, click on the Finish button.

Change Windows 10 Password Using Command Prompt 3 How to change Windows 10 Password Using Command Prompt

Now, you can login to your computer using the New Password.

More: Windows 10 search has a problem, please refer to the article on how to fix the search error in Windows 10.

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

No votes so far! Be the first to rate this post.

Sharing is caring!

Leave a Reply

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