Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Password Reset



Password Reset

Reset your Windows Password in Regedit at Boot
Published by Bare Foot Kid
17 May 2010 - Views: 264545
Published by

How to Reset a Windows Password in Regedit at Boot

This is a fairly simple way to reset / change your Windows user account password if, for whatever reason you can't gain access to your account.

Note   Note
A big thank you to Everlong for helping me sort the last steps of this.

This tutorial can be used to reset the password in Windows 7 or Vista.
information   Information
If you don't have a proper Windows installation disk, have a look at the link below to create a repair disk that can be used to reset your user account password in Windows 7 and Vista.

(Windows 7) System Repair Disc - Create

(Vista) Create a Recovery Disc - Vista Forums

warning   Warning
Making changes to the Windows Registry has the potential to disable the PC, if you have any concerns over using the information set forth here please feel free to post a question in this same tutorial and we will be glad to help.

Be Advised: if you use this method to reset you're user account password ANY / All access to encrypted files stored in the account will be lost.
Let's get Started!

1) The Boot Priority in the BIOS needs to be set to boot first from the optical drive; insert your Windows disk and re-start the PC.
At the first screen select your language then Repair your computer then it'll do some searching, at System Recovery Options dot Use recovery tools then select the OS and click next; while there make note of the OS drive letter, it may not be C: like mine is D:.
Name:  Recovery Tools Next.jpg
Views: 54383
Size:  71.8 KB
2) At the next screen select "Command Prompt" then in the Command window type "regedit" (without the quotes) and hit enter.
Name:  Command Prompt.jpg
Views: 54146
Size:  91.9 KB
3) In the Registry Editor window that opens click to select "HKey_Local_Machine" then at the "File" menu select "Load Hive".
Name:  Choose HKLM.jpg
Views: 54398
Size:  75.9 KB
Name:  HKLM Load Hive.jpg
Views: 54656
Size:  70.8 KB
4) In the "Look In" in the "Load Hive" window that opens navigate to (in my case) LocalDiskD:\Windows\System32\config\SYSTEM and click "Open".
Name:  Choose OS Drive.jpg
Views: 54439
Size:  170.5 KB
Name:  System.jpg
Views: 54198
Size:  126.9 KB
5) In the "Load Hive", "Key Name" box give the new key a name e.g. " 123 " (it can be whatever you like) and click OK.
Name:  Key Name 123.jpg
Views: 53852
Size:  88.4 KB
6) In the left pane of the registry Editor window click the " + " sign to expand the "HKey_Local_Machine" key then click the " + " sign to expand the "123" key then click to select the "Setup" key.
Name:  123 Setup.jpg
Views: 54226
Size:  162.9 KB
7) Now in the right pane right click "SetupType" and select "Modify", set the "Value data" to " 2 " and click OK.
Name:  SetupType Modify.jpg
Views: 54049
Size:  171.3 KB
Name:  SetupType Value.jpg
Views: 53749
Size:  176.0 KB
8) Again in the right pane right click "CmdLine" and select "Modify" and set the "Value data" to "cmd.exe" and click OK.
Name:  com.jpg
Views: 53689
Size:  138.2 KB
9) Now just as a precaution, close the Registry Editor at the "File" menu click "Exit"; then in the Command window that's still open type "regedit" and hit enter to open the Registry Editor again.

10) In the Registry Editor click the " + " sign to expand HKey_Local_Machine and click to select the new "123" key, at the "File" menu select "Unload Hive" and click "Yes" for the "Are you sure ..." question.
Name:  123 Key.jpg
Views: 53261
Size:  84.3 KB
Name:  123 Unload Hive.jpg
Views: 53178
Size:  88.2 KB
Name:  123 Unload Hive Yes.jpg
Views: 53198
Size:  123.3 KB
11) Now close the Registry Editor at the "File" menu click "Exit" then in the Command window type "exit" and hit enter to close the Command window, then remove the Windows disk and restart the PC.
Name:  Re-Start.jpg
Views: 52957
Size:  87.6 KB
12) When the PC restarts a Command window will open, in that window type "net user <username> <new password>" mine is (net user "Bare Foot Kid" Test6) be advised: if you have a username like mine, with spaces, you must use " " quotes around the user name; when you get the "Command Completed Successfully" type "exit" in the Command window and hit enter; at the logon screen use the new password you chose.
Name:  Test6.jpg
Views: 55164
Size:  50.3 KB
Enjoy!

17 May 2010   #1
derekimo

Microsoft Community Contributor Award Recipient

Windows 7 Pro 64 SP1
 
 

That's going to come in handy, good job Ted!


My System SpecsSystem Spec
17 May 2010   #2
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

Thanks Derek!
My System SpecsSystem Spec
17 May 2010   #3
ryo

 
 

nice one..

but usually i'm use software for reset.just boot from cd and that's come into command prompt and reset for that.
My System SpecsSystem Spec
.


18 May 2010   #4
Lomai

Win7 HP (x64)/Win7 Ultimate (x64)
 
 

Thanks for the work done Ted.

Regards
My System SpecsSystem Spec
18 May 2010   #5
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

Hello Lomai, thanks!
My System SpecsSystem Spec
18 May 2010   #6
Jonathan_King

Windows 7 Professional x64
 
 

Nice one Ted. I tested it out in a VM and it works like a charm.

Bookmarked.
My System SpecsSystem Spec
18 May 2010   #7
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

Thanks J_K, I tested it VB with both Windows 7 (about 4 different times) and Vista and on my rig with Windows 7; to be quite honest, it's really very easy to do.
My System SpecsSystem Spec
18 May 2010   #8
Jonathan_King

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by Bare Foot Kid View Post
Thanks J_K, I tested it VB with both Windows 7 (about 4 different times) and Vista and on my rig with Windows 7; to be quite honest, it's really very easy to do.
But hard enough it may discourage the 12 year old trying to hack into his parent's machine.

There's that delicate balance...
My System SpecsSystem Spec
18 May 2010   #9
Hannibal001

windows 7 Ultimate 64 Bit
 
 

Wish I would have know this before. Learn something every day. THX to the Bare Foot Kid.
My System SpecsSystem Spec
Comment

 Password Reset




Tutorial Tools



Similar help and support threads for2: Password Reset
Windows 7 Tutorial Category
password reset General Discussion
Solved Cant Reset Password (need Mod help) Chillout Room
Password Reset System Security
reset password General Discussion
Solved System Password Reset System Security
Windows password reset General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:09 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33