CMD password Change| How Can I Do It

How to achieve CMD password change? In this post, you will know how to change a password with CMD and other approaches to change the computer password.

Posted by @Irene December 17, 2024 Updated By @Irene May 12, 2023

Overview of CMD password change

No matter whether you are a computer geek or not, you must have heard about CMD, namely Command Prompt, a practical system built-in utility. For many computer problems, it can play a favorable role in solving those issues, of course, including password change when you forget or lose it.

To achieve a CMD password change successfully, we should get a rough idea of its requirements first.

You need administrative privileges to use the net user command, which allows you to change the passwords for both your account and other accounts. CMD password change can work only for local accounts. Ensure the inputted commands are completely correct. Otherwise, it will fail to perform.

Now, things come to how to change a password with CMD. Keep your curiosity. Let’s read this post together to find the answer and gain deeper knowledge about password change.

How to change a password with CMD

Here we are going to introduce how to change admin password with CMD using another admin account and in Safe Mode Command Prompt. You can pick up the one which complies with your requirements.

Achieve CMD password change via another admin account

Foresighted enough if you create another admin account before, you make achieving CMD password change simple and easy. All you need is to log into your system with that and make corresponding changes by following this step-by-step guide.

Step 1. Log in the system with another admin account. Type “cmd” in the search box and choose “Run as administrator” to launch it.

Step 2. When the Command Prompt window shows up, input the command line of “net user” and press “Enter” key. You can see all the user accounts here. Remember the target account that you need to change its password.

Step 3. Type “net user username new_password” (Please replace the account and password in actual operation) and hit “Enter” key.

Notice: If your account name is ABC, and the new password you set is 112233, you should input "net user ABC 112233"

Step 4. After the command shows completed successfully, you can change the password and log in with the new one.

Achieve CMD password change in Safe Mode Command Prompt

The second method to achieve CMD password change is using Safe Mode to open Command Prompt. Except for the opening path, the remaining part is very close to the method above. You can refer to the example we provide and try it on your own.

Step 1. In the log in screen, press “Shift” key and click “Restart” option.

Step 2. Then choose “Troubleshoot” button in the window.

Step 3. Select “Advance options” option to continue the process.

Step 4. Click “Startup Settings”.

Step 5. Click “Restart” to change Windows boot options.

Step 6. When entering boot option list, hit Number 6 or F6 button to choose “6) Enable Safe Mode with Command Prompt

Step 7. Next, it will require you to select an account for signing in. Then the administrative Command Prompt window will directly pop-up. Then type “net user” and hit “Enter” key. Similar to the above method, continue to input “net user username password” and press “Enter”. The password will be reset without data loss.

Bonus tips: How to change computer password without logging into Windows

Despite the traditional steps of Command Prompt, in fact, there are an increasing number of alternatives gradually replacing that to fix how to change admin password. Today, we pick up 2 effective and popular approaches to rapidly change your password.

Change a password with a bootable USB

According to many help-seekers’ feedback, compared with CMD password change, using AOMEI Partition Assistant Professional to reset or remove passwords works like a charm. Why do they say that? Not just because it can get around the lengthy commands or a prepared Microsoft account, but most importantly, it can guide you to create a bootable USB even if you prepared nothing beforehand.

Moreover, its broad compatibility also offers robust support in creating reset USB among different Windows PC. It allows you to reset or remove the Windows 10 admin password along with your password on any Windows 11/8.1/8/7/Vista/XP (32 or 64-bit) computer for both administrator and local accounts.

Free Download Win 11/10/8.1/8/7/XP
Secure Download

Step 1. Insert a prepared USB into a running computer and launch the installed AOMEI Partition Assistant. On the top navigation bar, click the “Tools” button and then choose “Reset Windows Password”.

Step 2. The window will notice you create a WinPE bootable media. Read it and then click “Next” to move on.

Step 3. Choose “USB Boot Device” to create bootable USB Device and select “Proceed”.

Step 4. The USB flash drive requires to be formatted, and all the data in it will be erased. Please make a backup of your important data in advance.

Step 5. Boot the PC from this bootable USB. And choose the Windows system with clicking “Next”.

Notice: You need to enter BIOS to change boot order under the menu, and then you can boot from the Windows PE USB flash drive, CD, or DVD

Step 6. Choose the target account, and select the choice you hope to operate. You can see two choices here: Remove Account Password and Reset Account Password

Notice: • You can select “Remove Account Password” and click “Next” to have the operation to remove the password. • You can select “Reset Account Password” if you would like to reset it. After clicking, you can input the new password and confirm it to reset. And then select “Yes” to start the operation.

Finally, select “Reboot Computer” when all the processes finish and log in.

▷ Change Windows password online

For Microsoft account users, Microsoft allows users to access the resources of any computer with a verified account or a specific Microsoft account. That means the users can reset the password by following the steps below.

Step 1. Visit the Microsoft password reset page on any working computer.

Step 2. Input the setting Email address or phone number and select “Next”.

Step 3. You will be required to verify your identity via Email by default. Then select “Next”.

Note: You can use the phone number option for verification if email verification is not available. But it should be pre-configured. If you have not prepared any verification alternative or there is no place for typing the code, you cannot change the password in this way.

Step 4. Please notice the verification code sent from Microsoft, and input it into the blank after confirmation. Choose “Next” and move on.

Step 5. Once verified successfully, you can type the new password and then log in with the new one.

Verdict

Today, we briefly discuss CMD password change in two ways and share tips on how to change computer password without logging into Windows. But by comparison, we can find that using AOMEI Partition Assistant can be the most convenient way.

Apart from the Resetting Password feature, this tool can also fix disk via repair USB, recover deleted files, clone the hard drive for backup, convert disks to MBR/GPT without OS, etc. By the way, the Server Edition can play it's part for Windows Server 2025/2022/2019/2016/2012(R2)/2008(R2)/2003 users.