How to Reset Windows 7 Password Using Command Prompt

author_icon Ronnie Barnes time_icon Last updated: Oct 15, 2019 03:08 pm tips_icon Windows 7

Have you forgotten a user account's password on your Windows 7 PC? It is a common problem that occurs with many types of accounts; people forget the password that they set, and they don't know how to reset it. Although it may seem complicated, Command Prompt is a very useful tool for a variety of tasks, one of which is resetting the password of a user account. This article will show four different methods of resetting the password for a user on Windows 7 using Command Prompt, and then tell you which the best method is to reset your password.

reset windows 7 password using command prompt

Part 1: 3 Methods to Reset Windows 7 Password using Command Prompt

Command Prompt can be used in different situations. Here are 3 methods to use Command Prompt to reset Windows 7 password.

Method 1: Use Command Prompt with Another Administrator Account

Admin accounts give you almost complete control over your PC. They allow you to install any software, make changes to system settings and create/remove user accounts. In Windows 7, you can reset a user account's password using another Administrator account on the device. If you have another admin account setup on your Windows 7 PC and you have access to this account, then by using Command Prompt, you will be able to reset the password for the desired account. To do this, you will need to login to aother admin account that you have access to. Once you have done this, you will need to follow these steps.

  • Search for "CMD" or "Command Prompt" in the Window's start menu.

  • Right-click this option and click on "Run as Administrator".

  • Click on YES on the dialog box that appears.

  • You will see a black screen with white writing appear. To reset the password of a user account, you will first need to type "net user" and then press the Enter key on your keyboard. (Type net user without the quotation marks)

  • A list of all the user accounts on your PC will appear.

  • To reset the password, type "net user ACCOUNTNAME NEWPASSWORD", for example, net user default abc123.

  • Your new password will be the chosen password.

You can now log out of your current user and log into the account with the changed password.

reset Windows password using command prompt

Method 2: Use Command Prompt in Windows 7 Safe Mode

If you do not have another Windows 7 administrator account that you can use to reset a password, you can still use Command Prompt but this time in safe mode to reset the password of your account. Safe mode will only boot system applications and will restrict you to these, so this is useful for resetting a Windows 7 password. However, this method may not works on some computers.

  • Shutdown your PC and then turn on your Windows 7 PC.

  • As the PC is booting up, repeatedly press F8.

  • You will see a list of options. Use the arrow keys to navigate to the options that says: "Safe Mode with Command Prompt" and press Enter.

  • Usually, the Administrator account is disabled by default so you should be able to boot into command prompt with admin. However, you may need to select the option for this.

  • Use the same net user commands which were shown in method 2 to reset the password.

 use Command Prompt in safe mode

Method 3: Use Command Prompt with Windows 7 Installation Disk or Flash Drive

Here is another method to reset Windows 7 password with Command Prompt. For this method, you will need a Windows 7 installation disk. If this did not come with your PC, then you will need to purchase this. You can either create your own installation disk by using a USB drive and then turning it into an install disk or alternatively, you can purchase one from online. For full instructions on how to create your own install disk, you will need to check online. If you have a reset disk, then complete these instructions.

  • Change the boot order in your PC's BIOS so that CD/DVD drives boot first. For more details on how to do this, check the specific instructions for your device online because it varies for different PCs.

  • Insert the Windows 7 install drive and restart your PC. You should see a Windows 7 installation screen.

  • Click Next on the screen and choose "Repair your computer".

  • choose repair your computer
  • Wait until your Windows 7 has been found and note down the location of the disk.

  • From the System recovery options, choose Command Prompt.

  • Copy the following command and then press enter

copy d:\windows\system32\utilman.exe d:\

If your Windows 7 install location was different, then change the letter "d" with the correct one, for example, "c".

  • Then type the next command as follows:

copy d:\windows\system32\cmd.exe d:\windows\system32\utilman.exe

Again, you may need to change the letter d with the other letter for your install location.

  • Type Y and then press Enter once the process has completed.

  • Reboot the PC and click the Ease of Access button at the bottom left of the screen.

  • Choose Command Prompt if it doesn't come up and then reset your password using the same net user commands as the ones in Method 1 and Method 2.

Part 2: Best Way to Reset Windows 7 Password

The recommended method to reset your password on a Windows device is by using the Passper WinSenior Windows password reset tool. Not only does it work with Windows 7, but it is also supported by other operating systems, such as Windows 8.1 and Windows 10. It is extremely easy to use and can reset a password quickly. With the highest success rates, WinSenior is the best way for you to reset a forgotten Windows 7 Password. Some other features of WinSenior are:

  • Remove Windows Password

  • Delete a Windows user account

  • Create a new Windows user account

  • Create Windows password reset disk

  • 100% success rate when resetting a password

As this tool is extremely easy to use, it can be used by anyone. This is because you do not need any expert knowledge on how Windows works in order to reset a password when using Passper WinSenior as it completes a majority of the steps for you automatically. Check the guide below.

Free DownloadFor Win 10/8/7/XP/Vista

Step 1. Launch Passper WinSenior on another computer that you have access to and choose boot media. It could be anyone out of CD/DVD or USB.

choose usb or cd

Step 2. You'll first need to insert the CD/DVD/USB reset disk into the locked computer and follow the instructions to boot your computer from the CD/DVD/USB. Passper WinSenior offers detailed guide. You can follow the instruction easily.

confirm to brun disc

Step 3. Once your computer boots from the CD/DVD/USB, you can see the interface of the Passper WinSenior. select the Windows OS and press "Next" to choose "Reset Windows Password" to reset your password.

choose a task

Step 4.Next, select the user account that you want to reset password for and type in the new password. You will receive a notification that the password has been reset successfully. Click on "Reboot Computer" and eject the CD/DVD/USB flash drive and then click "Reboot Now" to complete the process. Use the new password when the computer powers on.

successfully reset password

Part 3: Comparison of the Above 4 Methods

Methods Success rate Complexity Recovery time Need installation disk or not
Use Command Prompt with Another Administrator Account 100% Complicated Medium Doesn't need
Use Command Prompt in Windows 7 Safe Mode 50% Complicated Medium Doesn't need
Use Command Prompt with Windows 7 Install Disk 90% Complicated Long Need
Passper WinSenior 100% Easy Short Doesn't need


This article has explored various methods in which you can reset Windows 7 password using command prompt and a reliable software program named Passper WinSenior which is an excellent tool that is effective for resetting your Windows 7 password with 100% success rate. We do hope this article is helpful to you.


By Ronnie Barnes to Windows 7

Posted on May 14, 2019 ( Updated: Oct 15, 2019 )

Ronnie Barnes, a blogger with more than 5-year experience in writing tips about password recovery for Windows and office files.