This article was co-authored by wikiHow staff writer, Nicole Levine, MFA. Nicole Levine is a Technology Writer and Editor for wikiHow. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions.
This article has been viewed 125,970 times.
Learn more...
If you lost the password to your regular Windows 7 user account, you can use the password recovery drive you created to access your account in minutes. If you didnāt create a password recovery drive, donāt lose hopeāget your hands on a Windows installation or system repair disc, or create a bootable NTPassword disc on another computer.
Steps
-
Insert a system repair disc into the DVD drive. Booting from a Windows 7 system repair disc will enable you to create temporary backdoor access to reset your password.
- If you donāt have a System Repair disc, you can create one on another Windows 7 computer.
-
Reboot your computer. When prompted, press any key on the keyboard to finish booting.
- If the computer boots back to the login screen instead, youāll need to change the boot order in the BIOS before continuing with this method.
Advertisement -
Select āWindows 7ā under āOperating System.ā When selected, the text will turn blue.
-
Make note of the drive letter under āLocation.ā
- For example, if you see (D:) Local Disk, the drive letter you should remember is āD:ā
-
Click Next.
-
Click the āCommand Promptā link. A black screen with white text will appear.
-
Type the drive letter at the command prompt.
- For example, if your drive letter was D:, type D:
-
Press āµ Enter.
-
Create a backdoor to an elevated command prompt. Type the following commands, in order:[1]
- Type cd windows\system32 and press āµ Enter.
- Type ren utilman.exe utilhold.exe and press āµ Enter.
- Type copy cmd.exe utilman.exe and press āµ Enter.
- Type exit and press āµ Enter.
-
Eject the system repair disc.
-
Reboot the computer. The computer will boot back up to the login screen.
-
Click the āEase of Accessā icon. Itās at the left corner of the screen and is blue with a white compass. This will open the command prompt instead of the Ease of Access center, but donāt be alarmed!
-
Type net user username newpassword. Replace āusernameā with the username of the account you need to access, and ānewpasswordā with a password youāll remember.
-
Press āµ Enter.
-
Close the command prompt.
-
Log into Windows. You are now back into the computer with your regular account.
-
Open the command prompt as an administrator. Hereās how:
- Click the Start menu.
- Type cmd into the search box.
- Right-click āCommand Promptā in the search results and select āRun as administrator.ā
- If prompted, confirm that you really want to run the program as an administrator.
- The command prompt will appear.
-
Remove the backdoor. Enter the following commands to remove the backdoor you created earlier:
- Type the drive letter you made note of earlier. For example, D:.
- Press āµ Enter.
- Type cd \windows\system32\ and press āµ Enter.
- Type copy utilhold.exe utilman.exe and press āµ Enter.
-
Put a Windows 7 installation DVD into the DVD drive. You can access an Administrator account by booting from DVD and making a few changes in the registry.[2]
- It doesnāt have to be the same DVD you used to install Windows, so you can borrow one if necessary.
-
Reboot your computer. It should boot to a screen that asks you to choose a language.
- If the computer boots back to the login screen instead, youāll need to change the boot order in the BIOS before continuing with this method.
-
Select your language and click Next.
-
Click Repair your computer.
-
Select your Widows installation.
- Click the Windows 7 installation in the list. Unless you have other operating systems installed, it should be the only option.
- Click Next.
-
Click the āCommand Promptā link. Itās the last option at the bottom of the System Recovery Options screen. The command prompt will appearāitās a black window with white text.
-
Type regedit and press āµ Enter. The registry editor will appear.
-
Click HKEY_LOCAL_MACHINE. Itās on the left side of the screen.
-
Click the āFileā menu.
-
Select āLoad Hive.ā
-
Type %windir%\system32\config\sam. Youāll be typing this into the āFile nameā field. Be sure to type it as shown.
-
Click Open. Now youāll see a screen asking you to enter a name for a ānew hive.ā
-
Type temporary. You can type anything, but this is a safe bet for the meantime.
-
Click OK. Now youāll return to the main registry editor.
-
Navigate to the user registry key. Here are the steps to access āHKEY_LOCAL_MACHINE > temporary > SAM > Domains > Account > Users > 000001F4ā:
- Click the + next to HKEY_LOCAL_MACHINE in the left pane.
- Click the + next to temporary.
- Click the + next to SAM.
- Click the + next to Domains.
- Click the + next to Account.
- Click the + next to Users.
- Click the + next to 000001F4. You should see an entry for F in the right panel.
-
Double-click F in the right panel. A new window will appear containing many hexadecimal numbers.
-
Find the line that starts with 0038. You will see 11 directly to the right of 0038.
-
Change 11 to 10.
- Drag the mouse across the 11 so that only that number is highlighted (no spaces on either side)
- Type 10.
-
Click OK. The hard part is over!
-
Eject the Windows DVD.
-
Restart the computer.
-
Click the Administrator account. This will give you full administrative access to Windows.
- Now you can reset the password for your regular admin account.
-
Access another computer. If you have access to another computer with internet access, you can download a utility called NTPassword that will help you reset your Windows 7 password. Youāll need to either burn a bootable copy of this utility or use it to create a bootable USB flash drive.
-
Navigate to NTPassword.
-
Select a version of NTPassword. Click one of the following buttons to download the NTPassword files:
- Click Download USB Version if you want to create a bootable USB flash drive. The drive you use should have nothing else on it.
- Click Download Disc Version to save the file (cd140201.iso) image to your computer. Once downloaded, youāll be able to burn a bootable CD of this image.
-
Create a bootable USB flash drive. If you choose Download USB Version:
- Unzip the downloaded file (usb140201.zip) to your USB flash drive. The files should be directly on the drive, not inside another directory.
- Click the Start menu and type cmd into the search box.
- Right-click āCommand Promptā in the search results and select āRun as Administrator.ā
- Type cd x: (replace āx:ā with the actual drive letter of your USB drive) and press āµ Enter.
- Type X:syslinux.exe -ma X: (replace both X: with the actual drive letter) and press āµ Enter.
- Remove the flash drive from the second computer.
-
Create a bootable CD. If you choose Download Disc Version:
- Insert a recordable CD-R or DVD-R.
- Right-click the downloaded file (cd140201.iso) and select āBurn to disc.ā
- Follow the prompts to create the disc.
- Eject the disc from the second computer once the burn is complete.
-
Insert the USB drive or CD into the problem computer.
-
Reboot the computer. The computer should boot to a black screen with white text that begins with āWindows Reset Passwordā.[3]
- If the computer boots back to the login screen instead, youāll need to change the boot order in the BIOS before continuing with this method.
-
Press āµ Enter.
-
Select the hard drive partition that contains Windows. Near the bottom of the screen youāll see text that says āSTEP ONE: Select disk where the Windows partition is.ā
- Look at the partitions beneath āCandidate Windows partitions found.ā
- Press the number (on the keyboard) next to the largest partition that does not say āBoot.ā
- Press āµ Enter.
-
Press āµ Enter to confirm the registry path. Now youāll see āSelect which part of registry to load, use predefined choices or list the files with space delimiter.ā
-
Press āµ Enter. This accepts the default setting, āEdit user data and passwords.[4]
-
Press āµ Enter to accept the next default setting.
-
Select the user whose password you want to reset.
- Locate your account username under āUsernameā at the bottom of the screen.
- Find its corresponding āRIDā number in the column to the left.
- Type the RID number and press āµ Enter.
-
Press āµ Enter.
-
Press q and then āµ Enter. Now youāll be prompted to save your changes.
-
Press y and then āµ Enter. This confirms you want to save the changes.
-
Eject the USB drive or CD.
-
Press Ctrl+Alt+Del. Your computer will restart to the login screen, where youāll be able to click your user name and set a new password
-
Try to log in to Windows. If you created a password reset disk at an earlier date, you can use it to get back into Windows.
- If you didnāt create a password reset disk, try another method.
-
Click āOKā on the password error message.
-
Connect your USB Password Recovery Disk to the computer.[6]
-
Click the āReset passwordā¦ā link. Itās just beneath the password blank. This will launch the Password Reset Wizard.
-
Click Next.
-
Select your USB drive from the drop-down menu. Itās usually called something like āRemovable Disk.ā
-
Click Next.
-
Type a new password. Enter it into the first blank, beneath the text āType a new password.ā
-
Type the password again. This time, type it into the second blank, under āType the password again to confirm.ā
-
Enter a password hint. Youāll do this in the third, final box on the screen. Type something thatāll make you remember the new password in case you forget it.
-
Click Next.
- If you see an error that says āAn error occurred while the wizard was attempting to set the password,ā youāre using the wrong password reset disk.[7]
-
Click Finish. This will close the password reset wizard.
-
Log into Windows. You should now be able to log in to Windows using your new account password.
Community Q&A
-
QuestionIs this possible for Windows 8?Community AnswerNo, this guide is for Windows 7 only.
Tips
References
- ā https://www.technibble.com/bypass-windows-logons-utilman/
- ā https://www.pcadvisor.co.uk/how-to/windows/how-gain-access-your-windows-account-if-you-lost-your-password-3433989/
- ā https://4sysops.com/archives/reset-windows-8-1-password-with-the-free-tool-ntpasswd/
- ā https://www.top-password.com/blog/reset-windows-8-or-7-password-with-the-freeware-ntpasswd/
- ā https://4sysops.com/archives/reset-windows-8-1-password-with-the-free-tool-ntpasswd/
- ā https://www.digitalcitizen.life/how-use-password-reset-disk-change-your-forgotten-windows-password/
- ā https://www.digitalcitizen.life/how-use-password-reset-disk-change-your-forgotten-windows-password/
About This Article
1. Boot from a system repair disc.
2. Select Windows 7 and click Next.
3. Click Command Prompt.
4. Type the drive letter and press Enter.
5. Create a backdoor to an elevated command prompt.
6. Eject the disc and restart.
7. Click the Ease of Access icon.
8. Run "net user ".
9. Log in and remove the backdoor.
Reader Success Stories
-
"Step 5 helped. I got a message saying not a compatible OS, but was still able to enter command prompt anyway."