PDF download Download Article
Get back into Windows 7, even if you forgot the password
PDF download Download Article

If it's been a long time since you've used your Windows 7 PC, you may have forgotten the password you used to log in. Fortunately, you can bypass the password on Windows 7 with a few easy tricks. The best part is that you won't lose any data in the process! Read on to learn how to bypass the Windows 7 password so you can reset the password on your user and/or administrator account.

Bypassing Your Windows 7 Password

Bypass the password by booting into Safe Mode with Command Prompt and resetting it with the "net user" command. Alternatively, you can boot from a system repair or password recovery disc, or any Windows 7 install disc. If you don't have these, create a bootable NTPassword disc or drive on any PC and boot from it.

Method 1
Method 1 of 5:

Using a Windows System Repair Disc

PDF download Download Article
  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
    Advertisement
  3. When selected, the text will turn blue.
    • For example, if you see (D:) Local Disk, the drive letter you should remember is “D:”
  4. A black screen with white text will appear.
    • For example, if your drive letter was C:, type C: and press Enter.
  5. 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.
  6. Once you've removed the disc, rebooting the computer will bring it back up to the normal Windows 7 login screen.
  7. It’s in the left corner of the screen–look for a blue icon with a white compass. This will open the command prompt instead of the Ease of Access center, but don’t be alarmed!
  8. Replace “username” with the username of the account you need to access, and “newpassword” with a password you’ll remember.
  9. To close the command prompt, type exit and press Enter. Then, reboot your PC. When the login screen appears, you can log in to Windows with the password you just set.
  10. Here’s how:
    • Click the Start menu and type cmd into the search box.
    • Right-click “Command Prompt” and select Run as administrator.
    • If prompted, confirm that you really want to run the program as an administrator.
  11. Enter the following commands to remove the backdoor you created earlier:[2]
    • 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.
  12. Advertisement
Method 2
Method 2 of 5:

Using Safe Mode with Command Prompt

PDF download Download Article
  1. 1
  2. 2
    Press F8 repeatedly as soon as your computer restarts. On some PCs, this might be F12 instead. When you see the "Advanced Boot Options" screen, you can stop pressing this key.[3]
  3. 3
    Select Safe Mode with Command Prompt. Use the arrow keys to move to and highlight the option, then press Enter to select it.[4]
  4. 4
    When the command prompt opens, reset the admin password. Here's how:[5]
    • Type net user Administrator <newpassword> and press Enter.
      • Replace <newpassword> with a password you’ll remember.
  5. 5
    Restart your PC. To do this from the command prompt, type shutdown -r and press Enter.[6]
  6. 6
    Log in to Windows 7 as an administrator. Once you're signed in, you can easily reset the password for your normal Windows 7 user account. To learn how, see our guide to changing passwords.
  7. Advertisement
Method 3
Method 3 of 5:

Using the Windows Installation DVD

PDF download Download Article
  1. 1
    Put a Windows 7 installation DVD into the DVD drive. You can access an Administrator account by booting from a DVD and making a few changes in the registry.[7]
    • It doesn’t have to be the same DVD you used to install Windows, so you can borrow one if necessary.
  2. 2
  3. Unless you have other operating systems installed, it should be the only option.
  4. 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.
  5. The registry editor will appear.
  6. It’s on the left side of the screen.
  7. You’ll be typing this into the “File name” field. Once you click Open, you’ll see a screen asking you to enter a name for a “new hive.”
  8. You can type anything, but this is a safe bet for the meantime. You’ll return to the main registry editor.
  9. 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.
  10. A new window will appear containing many hexadecimal numbers.
  11. You will see 11 directly to the right of 0038.
    • Drag the mouse across the 11 so that only that number is highlighted (no spaces on either side)
    • Type 10.
  12. The hard part is over!
  13. Don't skip ejecting the installation CD/DVD, as your computer will try to boot from it otherwise.
  14. This will give you full administrative access to Windows without entering a password.
    • Now you can reset the password for your regular admin account.
  15. Advertisement
Method 4
Method 4 of 5:

Using NTPassword

PDF download Download Article
  1. Go to the NTPassword website on a different 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 to a CD or DVD, or use it to create a bootable USB flash drive.[8]
  2. Scroll to the "Download" section, then click one of the files under "CD release."
    • If you want to make a bootable CD, click the ZIP file labeled "Bootable CD image."
    • If you want to make a bootable USB flash drive, click the ZIP file labeled "Files for USB install."
  3. 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.
  4. 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.
  5. The computer should boot to a black screen with white text that begins with “Windows Reset Password”.[9]
  6. 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.
  7. Now you’ll see “Select which part of registry to load, use predefined choices or list the files with space delimiter.”
  8. This accepts the default setting, “Edit user data and passwords.[10]
    • 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.
  9. This clears the password for the specified user account.[11]
  10. Now you’ll be prompted to save your changes.
  11. This confirms you want to save the changes.
  12. Your computer will restart to the login screen, where you’ll be able to click your user name and set a new password
  13. Advertisement
Method 5
Method 5 of 5:

Using a Password Reset Disk

PDF download Download Article
  1. 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. [12]
  3. It’s just beneath the password blank. This will launch the Password Reset Wizard.
  4. It’s usually called something like “Removable Disk.”
  5. Type the password into both fields to confirm.”
    • If you want, you can enter a password hint, something that’ll make you remember the new password in case you forget it.
    • 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.[13]
  6. This will close the password reset wizard.
  7. You should now be able to log in to Windows using your new account password.
  8. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Is this possible for Windows 8?
    Community Answer
    Community Answer
    No, this guide is for Windows 7 only.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
Advertisement

Tips

Submit a Tip
All tip submissions are carefully reviewed before being published
Name
Please provide your name and last initial
Thanks for submitting a tip for review!

You Might Also Like

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 127,145 times.
How helpful is this?
Co-authors: 6
Updated: December 6, 2025
Views: 127,145
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?

Thanks to all authors for creating a page that has been read 127,145 times.

Reader Success Stories

  • Mitch Yelle

    Mitch Yelle

    May 6, 2017

    "Step 5 helped. I got a message saying not a compatible OS, but was still able to enter command prompt anyway."
Share your story

Is this article up to date?

Advertisement