This article was co-authored by wikiHow staff writer, Jack Lloyd. Jack Lloyd is a Technology Writer and Editor for wikiHow. He has over two years of experience writing and editing technology-related articles. He is technology enthusiast and an English teacher.
The wikiHow Tech Team also followed the article's instructions and verified that they work.
This article has been viewed 872,494 times.
This wikiHow teaches you how to reset a forgotten Windows password. You can do this by using the default, hidden administrator account, or you can use a password reset or installation disc on Windows Vista or Later if you have one.
Steps
Opening the Admin Account
-
Press the "advanced options" key. This is typically the F8 key, though your computer's key may vary. Pressing this key when prompted during the restart period will open the advanced options menu.
- You'll see the option to open "advanced options" or "boot options" (or even "advanced settings") at the bottom of the screen when your computer is restarting.
-
Select Safe Mode and press ↵ Enter. This will prompt your computer to restart in Safe Mode.
-
Select your operating system if prompted. On Windows XP, you may be prompted to select your operating system; if so, just press ↵ Enter.
-
Wait for the accounts page to load. You should see at least two accounts here: your usual account, and the Administrator account.
- The Admin account usually has an image of a chess piece on it.
-
Click Admin or Administrator. This will log you into the account. You should now be at the desktop.
Resetting the Password
-
Click Run…. It's an envelope icon on the right side of the Start window. A small window will open.
- On Windows Vista, you can type in run if you don't see Run in the Start menu.
-
Type in cmd. This is the command to open Command Prompt.
-
Click OK. It's at the bottom of the Run window. Doing so will open Command Prompt.
-
Enter the password reset command. Type in net user username new_password, where "username" is the username for the account whose password you forgot and "new_password" is the new password that you want to assign.
- For example: to change the password to "pupper123" for an account named "hugsky", you would enter net user hugsky pupper123 here.
-
Press ↵ Enter. This will immediately change the password for the selected account.
-
Restart your computer again. Once your computer has restarted back to the login screen, you should be able to select your account and input your new password.
Using a Recovery Disc on Windows NT 6.0 (Vista) or Later
-
Find a Windows installation or recovery disc. In order to perform this method, you will need to enter the Recovery Console, which can only be accessed with a Windows Vista or later installation or recovery disc.
- You can download a Windows Vista ISO file and burn it to a DVD.
- The installation disc doesn't need to be the one you use to install your operating system, but it does need to be for the same version of Windows.
-
Insert the installation disc into your computer. The disc must go label-side-up in your computer's CD tray.
-
Press your computer's BIOS key. As soon as your computer begins restarting, start pressing the BIOS key. This key will be listed at the bottom of the screen.
- If you can't find the BIOS key, consult your computer's manual or look up the BIOS key for your computer's model online.
-
Select the "Boot" tab. Use the arrow keys to move over to the "Boot" or "Startup" tab.
- Skip this step if you don't see a Boot tab.
-
Change the boot order. Select the Disc, Disc Drive, or similar option, then press the + key until the selected option is at the top.
-
Save your settings and exit the BIOS. There's usually a key that you can press to do so; look for the "Save and Exit" key on the right side of the screen.
- You may have to confirm this decision by pressing ↵ Enter when prompted.
-
Press any key when prompted. Doing so will launch the Windows Recovery window.
-
Click Next. This option is in the bottom-right corner of the window.
-
Click Repair your computer. It's in the bottom-left corner of the window.
-
Select Windows Vista, then click Next. You'll find this in the middle of the window.
-
Click Command Prompt. It's in the middle of the screen. Doing so will open the Command Prompt app.
-
Enter the "utilman" command. Type in c:\windows\system32\utilman.exe c:\ and press ↵ Enter.
- If your operating system is installed on the "D:" drive, type in d:\windows\system32\utilman.exe d:\ instead.
-
Enter the next command. Type in copy c:\windows\system32\cmd.exe c:\windows\system32\utilman.exe and press ↵ Enter.
-
Enter the final command. Type in y and press ↵ Enter. This will indicate a "Yes" response, which enables Command Prompt on the Windows login screen.
-
Remove the installation or recovery disc, then reboot your computer. Once the computer finishes rebooting, you should be back at the login screen.
-
Click the "Accessibility" button. It's the blue, dial-shaped option in the bottom-left or bottom-right corner of the screen. Doing so will open the Command Prompt app.
-
Enter the password reset command. Type in net user username new_password, where "username" is the username for the account whose password you forgot and "new_password" is the new password that you want to assign.
- For example: to change the password to "ilikelemons" for an account named "citruslover", you would enter net user citruslover ilikelemons here.
-
Press ↵ Enter. This will immediately change the password for the selected account.
-
Log in with your new password. Select your user account and enter the new password that you just set. You should be able to access the account now.
- As soon as you run the command, your new password will be ready to go—you don't need to restart your computer.
Community Q&A
-
QuestionCan a flash drive be used instead of disk?Community AnswerYes. You can use a flash drive.
-
QuestionIs that the command to change admin password on windows Vista?CaTsArEsOcUtECommunity AnswerNo, it is not.
-
QuestionWill resetting the password cause me to lose any data on the account?Community AnswerNo, you will not.
Tips
-
The Admin account is rarely password-protected. Unless another user purposefully added a password to this account, you should almost always be able to use the Admin account to bypass the password entry on Vista or XP.Thanks
Warnings
- Resetting the password for any computer other than your own without permission is illegal.Thanks
About this article
Reader Success Stories
-
"I put it off and put it off, afraid it wouldn't work as many failed attempts and advice articles did not serve well, but after finally finding a Vista installation disk I followed the directions to the letter and it worked like a charm. Thank you, thank you, thank you!"..." more