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.

Method 1
Method 1 of 4:

Using a Windows System Repair Disc

  1. 1
    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.
  2. 2
    Reboot your computer. When prompted, press any key on the keyboard to finish booting.
    Advertisement
  3. 3
    Select “Windows 7” under “Operating System.” When selected, the text will turn blue.
  4. 4
    Make note of the drive letter under “Location.”
    • For example, if you see (D:) Local Disk, the drive letter you should remember is “D:”
  5. 5
    Click Next.
  6. 6
    Click the “Command Prompt” link. A black screen with white text will appear.
  7. 7
    Type the drive letter at the command prompt.
    • For example, if your drive letter was D:, type D:
  8. 8
    Press Enter.
  9. 9
    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.
  10. 10
    Eject the system repair disc.
  11. 11
    Reboot the computer. The computer will boot back up to the login screen.
  12. 12
    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!
  13. 13
    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.
  14. 14
    Press Enter.
  15. 15
    Close the command prompt.
  16. 16
    Log into Windows. You are now back into the computer with your regular account.
  17. 17
    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.
  18. 18
    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.
  19. Advertisement
Method 2
Method 2 of 4:

Using the Windows Installation DVD

  1. 1
    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.
  2. 2
    Reboot your computer. It should boot to a screen that asks you to choose a language.
  3. 3
    Select your language and click Next.
  4. 4
    Click Repair your computer.
  5. 5
    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.
  6. 6
    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.
  7. 7
    Type regedit and press Enter. The registry editor will appear.
  8. 8
    Click HKEY_LOCAL_MACHINE. It’s on the left side of the screen.
  9. 9
    Click the “File” menu.
  10. 10
    Select “Load Hive.”
  11. 11
    Type %windir%\system32\config\sam. You’ll be typing this into the “File name” field. Be sure to type it as shown.
  12. 12
    Click Open. Now you’ll see a screen asking you to enter a name for a “new hive.”
  13. 13
    Type temporary. You can type anything, but this is a safe bet for the meantime.
  14. 14
    Click OK. Now you’ll return to the main registry editor.
  15. 15
    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.
  16. 16
    Double-click F in the right panel. A new window will appear containing many hexadecimal numbers.
  17. 17
    Find the line that starts with 0038. You will see 11 directly to the right of 0038.
  18. 18
    Change 11 to 10.
    • Drag the mouse across the 11 so that only that number is highlighted (no spaces on either side)
    • Type 10.
  19. 19
    Click OK. The hard part is over!
  20. 20
    Eject the Windows DVD.
  21. 21
    Restart the computer.
  22. 22
    Click the Administrator account. This will give you full administrative access to Windows.
    • Now you can reset the password for your regular admin account.
  23. Advertisement
Method 3
Method 3 of 4:

Using NTPassword

  1. 1
    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.
  2. 2
    Navigate to NTPassword.
  3. 3
    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.
  4. 4
    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.
  5. 5
    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.
  6. 6
    Insert the USB drive or CD into the problem computer.
  7. 7
    Reboot the computer. The computer should boot to a black screen with white text that begins with “Windows Reset Password”.[3]
  8. 8
    Press Enter.
  9. 9
    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.
  10. 10
    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.”
  11. 11
    Press Enter. This accepts the default setting, “Edit user data and passwords.[4]
  12. 12
    Press Enter to accept the next default setting.
  13. 13
    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.
  14. 14
    Press Enter.
  15. 15
    Press 1 and then Enter. This clears the password for the specified user account.[5]
  16. 16
    Press q and then Enter. Now you’ll be prompted to save your changes.
  17. 17
    Press y and then Enter. This confirms you want to save the changes.
  18. 18
    Eject the USB drive or CD.
  19. 19
    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
  20. Advertisement
Method 4
Method 4 of 4:

Using a Password Reset Disk

  1. 1
    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.
  2. 2
    Click “OK” on the password error message.
  3. 3
    Connect your USB Password Recovery Disk to the computer.[6]
  4. 4
    Click the “Reset password…” link. It’s just beneath the password blank. This will launch the Password Reset Wizard.
  5. 5
    Click Next.
  6. 6
    Select your USB drive from the drop-down menu. It’s usually called something like “Removable Disk.”
  7. 7
    Click Next.
  8. 8
    Type a new password. Enter it into the first blank, beneath the text “Type a new password.”
  9. 9
    Type the password again. This time, type it into the second blank, under “Type the password again to confirm.”
  10. 10
    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.
  11. 11
    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]
  12. 12
    Click Finish. This will close the password reset wizard.
  13. 13
    Log into Windows. You should now be able to log in to Windows using your new account password.
  14. Advertisement

Community Q&A

  • Question
    Is this possible for Windows 8?
    Community Answer
    Community Answer
    No, this guide is for Windows 7 only.
Advertisement

About This Article

Nicole Levine, MFA
Written by:
wikiHow Technology Writer
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 88,274 times.
How helpful is this?
Co-authors: 3
Updated: February 11, 2023
Views: 88,274
Categories: Windows 7
Article SummaryX

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.

Did this summary help you?
Advertisement