Blog

How to reset Password with Command Prompt

How to reset Password with Command Prompt

In this tutorial, we’ll walk through the process of changing a user’s password on Windows 10 using the Command Prompt. This method is useful if you need to quickly change a password without accessing the graphical user interface.

Step 1: Open Command Prompt as Administrator

To begin, you’ll need to access Command Prompt by opening it with administrative privileges. Here’s how:
1.Press Win + R keys on your keyboard and Press Control + Shift + Enter . it will open command prompt with administrator privileges.

Note:- If you Enter without pressing control + shift it will open command prompt without administrator privileges or open which user you are logged in

                                                                            or

Press Window button and type cmd right click on command prompt cilck on Run as Administrator.

How to reset Password with Command Prompt

Press Control + Shift  and hit enter 

How to reset Password with Command Prompt

Step 2: Change the User's Password

Once you have the Command Prompt open, follow these steps to change the password:

  1. Type net user and hit enter.it will show you all user of your PC.
  2. Type net user [username] [newpassword] hit enter.                                                                                                                                                                                                    Replace username with the name of the user account for which you want to change the password, and newpassword with the desired new password. For example:
How to reset Password with Command Prompt
How to reset Password with Command Prompt

Here in example the user name is test and its password changed to test123.

Additional Notes:

  • Make sure to choose a strong password that meets your organization’s security requirements.
  • If the username or new password contains spaces or special characters, enclose them in quotation marks. For example:
How to reset Password with Command Prompt

If you don’t want to show password which you are changed then there is a another command to do the same work.

  1. Type net user [Username] * and hit enter.
  2. Type Password hit enter confirm Password hit enter.                                                                                                                                                                                                Replace username with the name of the user account for which you want to change the password.For Example
How to reset Password with Command Prompt

Conclusion:

Changing a password via Command Prompt provides a quick and efficient way to manage user accounts on Windows 10 systems. By following the steps outlined in this tutorial, you can easily update passwords as needed, enhancing the security of your system.

That’s it! You’ve successfully learned how to change a password on Windows 10 using Command Prompt. If you have any inquiries or suggestions, please don’t hesitate to drop a comment down below.

 
 
 
 
 

2 thoughts on “How to reset Password with Command Prompt”

  1. Pingback: How to format Pendrive Using Command Prompt

  2. Pingback: 1. net add user command for create/delete user in windows 10 using command prompt

Leave a Comment

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

Scroll to Top

Get Offer

Fill in the form below to get free Hosting for 3 years and Professional email id and 50% Discount on  your first project.