Command Prompt or CMD is a very old command-line utility in Windows that allows you to do a lot of system actions without the need for a graphical interface. It is generally used by developers, but novice users can easily learn to execute simple tasks with this versatile utility. This article shows you how to reset a Windows 7 administrator password when you know it and when you don’t. It also offers a solid alternative tool in case you’re not very comfortable using CMD.

Part 1. When the Password is Known

If you already know the admin password for your Windows 7 computer, you can use a simple command-line utility called “net user” to instantly reset it. To do this, you’ll need admin privileges, which means you can use the same one as the one you’re changing the password for. The detailed steps are described for new users’ convenience:

reset administrator password  with cmd


Step 1: In your admin login, launch elevated Command Prompt. You can do this using the search box and typing in cmd. When the option appears, right-click and select Run As Administrator. Confirm with a Yes in the UAC when prompted.

Step 2: In the command line, type the following and hit Enter:

net user username newpass

Note: Replace username with the admin username and newpass with a new password for that account.

The password has now been changed. When you log out and log back in, use the new password to access the account.

Part 2. When the Password is Unknown or Forgotten

Since you’re using elevated Command Prompt to change an admin password, it is essential that you have access to the account. If not, you won’t be able to launch elevated CMD. To bypass this, you can use the default admin account on your Windows 10 PC to run it in Safe Mode, and then use the “net user” method to reset local administrator password on Windows 7.

Step 1: To run Safe Mode, restart your PC and hit F8 to enter Advanced Boot Options. You may have to strike the key more than once to make sure you get to that menu window.

Step 2: Here, you’ll see Safe Mode with Command Prompt as one of the options. You’ll be taken to the main login screen, but this time you’ll see the default admin account as a login option. By default, it won’t have a password set, so you can just click it and the system will open CMD in Safe Mode.

Step 3: From here, you can follow Step 2 from the previous section to reset the main admin account password.

These are two relatively easy methods, but in cases where the password is not known and the default admin account is disabled or locked with a password, you’ll need a different method.

Part 3.The Best Alternative – PassFolk SaveWin Free

Fortunately, there’s a fantastic password reset tool called PassFolk SaverWin that works really well with Windows 7 as well as Windows 8, 8.1 and Windows 10, it also can be able to reset local administrator password on Windows 7 without command prompt. And it’s 100% free to use! The way it works is to allow you to create a password reset disk on a different computer, which you can subsequently use to reset any user or admin account on the locked PC. It also works with Server and Microsoft account passwords, so it’s a very handy tool to have.

Step 1. The process is very simple. Just download it to a different computer where you have admin access.

Step 2. Insert a USB drive or DVD/CD, burn the ISO file (which is automatically downloaded by the software), then boot your locked Windows 7 computer with this reset disk or drive. The password will be instantly reset to blank.

You will then be able to access the locked admin account and change the password to a new one. The reset drive or disk can be used any number of times to unlock that PC, so you never have to worry about a forgotten password ever again no matter how long or complex.

Part 4. AnotherAlternative – Opcrack

If you failed to reset administrator password on Windows 7 with command prompt, then try Opcrack. This is one of the old school password recovery tools, still ruling the internet platform with dignity and positive feedbacks. The tool although can reset password containing only 4 characters but it is yet popular. The tool recovers the password with rainbow tool. In case your password length is more than of 4 characters, then you have to spend some bucks to purchase the full rainbow table for the free table comes with limited capacity. Thus, if your password is short and direct, then most certainly this method is for you. Go ahead and read to know how it works in real:

reset admin password with opcrack

Step 1. Download the ISO image files of the program to any functional computer so that you can burn the disk images to any flash drive to turn it bootable.

Step 2. Now connect the bootable drive to your locked HP laptop and wait until it loads the files on booting from it.

Step 3. After a while the files are fully loaded, you will see a clear screen with certain options to continue with. Choose “OphCrack Graphic Mode Automatic” to favor the process of password recovery.

Step 4. Now comes the real waiting part. The recovery process may take from few minutes to few hours depending upon the complexity of your password combination.

Till then attend to some other work and come back after 2 to 3 hours to see the cracked password displayed on screen.


  • It does not work with Windows 10/ 8.
  • It does not support UEFI based BIOS mode.
  • It is very outdated and cannot crack complicated character combination.

All the methods are suitable, but just according to your needs and situations. So if you end up with futile outcomes with the first two methods when try to reset local admin password on Windows 7, try to adopt PassFolk SaveWin or Opcrack as the main frame of choice. It will not only give you a guaranteed output, but you can also use it forever with many computers.


Please enter your comment!
Please enter your name here