Sign up ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I got a brand new Windows 7 machine, installed the operating system, created one account and forgot its password. What can I do?

There is no external CD, the operating system is loaded from somewhere inside the machine.

I already tried to remember passwords and tried all candidates with all possible combinations of caps lock, num lock etc.

share|improve this question
To address the specific issue of machines without CD/DVD drives: it is possible to create a bootable USB stick instead. It is likely that some of the packaged solutions mentioned below provide explicit support for this. Failing that, however, you could borrow or buy a USB DVD drive and boot from that. – Harry Johnston Sep 7 '11 at 21:25
Did you change the external CD details or something? Because that would have been helpful to know before everyone answered. – ekaj Apr 7 '12 at 0:15
Try putting caps lock on. Then retry all of your combinations. Might've been on when you set it and didn't realise. – Brok3n Jan 18 at 22:48

12 Answers 12

  1. If you have an Ubuntu live CD you can reset it using chntpw application
  2. You can use Bart's PE + Password Renew to reset the password
  3. You can use Offline NT Password Editor to reset the password.

Detailed instructions on using any of the 3 are available over here.

share|improve this answer
this answer should have gotten a check. if it didn't it means you were looking for recovery, not reset. that takes WAY longer and involves rainbow tables or lophtcrack with syskey and registry dumps...way beyond the scope of a superuser question but I have you a starting point for some google queries – hbdgaf Oct 20 '10 at 3:04
To expand on aking1012's comment, users should keep in mind that resetting a Windows password results in the permanent loss of all encrypted files and data. Most of the time this isn't a big deal, but it can be. – Harry Johnston Sep 7 '11 at 21:22
@HarryJohnston The password can be reset without losing access to encrypted data (files, certificates, etc.) by using a pass-the-hash technique. See description here. I couldn't find a ready made tool to do it right now, so I'm just writing a comment. – David Balažic Apr 4 at 15:56
@DavidBalažic: that appears to be AD only, so not applicable to most home users. – Harry Johnston Apr 5 at 2:27

If you can find a Microsoft ERD 6.5 or 7.0 boot disk, it can reset the Windows 7 password. It has to match the bit version to work, 32 or 64-bit Windows 7.

ERD comes in 4 versions currently

5.0 for XP

6.0 for Vista

6.5 or 7.0 for Windows 7

8.0 for Windows 8, 8.1


There is an alternate method for Windows 7, all you need is either a Windows 7 install disk, System Repair Disk or WinRE partition on the hard drive.

Use F8 or boot from the disc, once RE loads choose repair your computer, then load Command prompt and run these 2 commands, the second command you will get a prompt to overwrite, say yes.

copy c:\windows\system32\sethc.exe c:\

copy c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe

Restart the PC, When you reach the LogOn screen hit the Shift key 5 times, a command window will open, Type the following:

net user (type the name of the account) (Type any password)

and hit Enter Key, and when prompted to overwrite, Type Yes, and hit Enter Key again, and close the command window, and log on with the new password you just created.

After that you might want to put the original sticky key file back in its place, so go ahead and boot your PC with the repair CD or USB that you used earlier, and in the command prompt window type the following ( see picture below ):

copy c:\sethc.exe c:\windows\system32\sethc.exe

press Enter, then when prompted to Overwrite, type Yes and hit Enter key again, then close the window, and restart the PC.

Or if you prefer a 3rd party password cracker, here is a good one " tested from NT3.5 up to Windows 8.1, including the server versions like 2003, 2008 and 2012. Also 64 bit windows supported."

share|improve this answer
Between this and the linux program that removes the password... I am surprised Microsoft wouldn't find a way to prevent these exploits if they claim to have Enterprise level security... though I guess one could argue that physical access controls are always required. – ioSamurai Mar 19 '13 at 17:56
@ioSamurai Resetting the password makes you loose anything stored in secured storage (certificates, ect...), and as you said the 3rd law of computer security "If a bad guy has unrestricted physical access to your computer, it's not your computer anymore" – Scott Chamberlain Apr 29 '13 at 19:15
I just realized... you got that screenshot from Wikipedia, and I uploaded it to Wikipedia like 4 years ago. The circle of (internet) life! – nhinkle May 23 '13 at 16:57
Worked like a charm, However I was unable to change the password with the net user command. I was able to activate the admin account though and then login through that with this command net user administrator /active:yes – Cosco Tech Jul 20 at 14:04
Must have been a limited user account. – Moab Jul 20 at 17:49

Run an Ophcrack LiveCD to try and crack the password, provided that you have a sufficiently easy alphanumerical password.

share|improve this answer
I don't think I can upvote or downvote this answer because it seems like a waste of time compared to just blanking the password and setting it when you boot into Windows. – Nathan Adams Oct 16 '10 at 15:21
@Nathan, keep in mind that resetting the password results in permanently losing access to all encrypted files and data. – Harry Johnston Sep 7 '11 at 21:21

Offline NT Password Editor

Offine NT Password & Registry Editor works basically the same as PC Login Now in that it erases your Windows password instead of recovering it. You can then simply log in to your account without entering a password.


share|improve this answer
It's moved. New URL: – Loren Pechtel Oct 15 '10 at 20:55

Grab a copy of unetbootin from here. Install NTpasswd onto a flash drive. By running NTpasswd off the flash drive you'll be able to reset the password on the computer to blank. It's pretty easy to use as well.

share|improve this answer

You can gain command line access (in SYSTEM context) to a Windows computer by changing a couple of registry values. You can then reset passwords, create new accounts, run cracking tools, and so on.

This is the short version, for advanced users and sysadmins:

1) Boot to Windows 7 from the installation or repair DVD, or from Windows PE 3 boot media, or from a Windows 7 installation on another HDD. (If the target OS is Vista, use the Vista installation DVD, or Windows PE 2, or another Vista installation. If the target OS is Windows XP, use Windows PE or another Windows XP installation.)

2) Load the SYSTEM registry hive from the target OS. Back it up first.

3) In the Setup key, change SetupType to 2 and CmdLine to cmd.exe.

4) Boot the target OS. You’ll get a command-line window in system context.

There are more details here including instructions for non-experts on using this technique to reset a password. (Remember that resetting a password will result in the loss of all encrypted files and data.)

share|improve this answer

You can reset your password using another tool called Hiren's BootCD.

Download Hiren's Boot from, unzip it and use BurnCDCC.exe to burn the ISO to a DVD.

Boot using Hiren's Boot on your locked PC and in the menu shown select Offline NT/2000/XP/Vista/7 Password Changer and click Enter twice (for confirmation and to continue for the list of Linux Kernel Boot).

In the following prompt select the correct drive where the Windows is installed. Press Enter to confirm that your registry directory is Windows/system32/config.

On the chntpw Main Interactive Menu select [1] for Edit user data and passwords

Select the user you want to reset the password by typing the username and hitting Enter

There you have a list of options for this user. [1] should be for Clear the password. After successfully resetting your forgotten Windows password, type “!” to close the User Editor Tool.

Now type “q” and hit Enter to close the Offline Password Editor and Registry tool.

Now type “y” and hit Enter to confirm the password change.

Now it will ask you whether you want to use it again or not. Just type “n” and hit Enter.

Remove your CD and restart the PC and your user shouldn't have a password anymore.

Hope this helps you.

share|improve this answer

Windows Boot Genius - Recovers your lost Windows local administrator/user passwords in Windows 8.1, 8, 7, Vista, XP.

Password Recovery Bundle - Instantly bypass, unlock or reset lost administrator and other account passwords on any Windows 8, 7, 2008, Vista, XP, 2003, 2000 system, if you forgot Windows password and couldn't log into the computer. It can also reset Windows domain administrator/user password for Windows 2012 / 2008 / 2003 / 2000 Active Directory servers.

Renee Passnow - Use PassNow which is independent of Windows system: reset login password, clone hard disk, create disk partition or format disk, erase data and fix system startup problems.

share|improve this answer

You may use Emergency Boot CD to reset it:

share|improve this answer

Use Kon-Boot to boot into the system bypassing the login. After you login change to your required password.

share|improve this answer
please be more precise in your Answer! Explain how to use konboot and how to change the password afterwards! – Simon Apr 26 '13 at 6:30
Konboot is a simple CD, just boot the disk. It will bypass the Windows password when you normally would be asked for one. – Jeff Clayton Dec 31 '14 at 22:10
To change the password is simple too, just go to the control panel and look for Users and Groups to edit. – Jeff Clayton Dec 31 '14 at 22:11
You can change the password for any user there. – Jeff Clayton Dec 31 '14 at 22:12

You can simply reset your password by opening the windows in safe mode command prompt by pressing F8 while booting. Please refer to following links.

share|improve this answer
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Mokubai Oct 9 at 18:22

i had this problem in past but i found a way to break the just download this and read README.txt file you will get all easy steps using which you can break your password. still i am writing a steps for you :


step 1 : download the file from here

step 2 :copy all downloaded files in you removable disk (pen drive)

step 3 :open a command prompt write this line: h:\syslinux.exe -ma h: (replace "h" with your removable drive like i,j,G)

step 4:insert a pen drive in your targeted PC and boot this pen drive(legacy must be ON).

step 5: click enter though out all the steps until you get instruction like clear password.

step 6:after getting this step clear password.complete this step and restart your system now it will not ask a password to enter and computer will start.

share|improve this answer

protected by Jeff Atwood Jun 7 '10 at 6:51

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.