Monday 16 January 2012

Easiest trick to reset Windows 7 administrator password if you fogot it

In this method we will be leveraging "Sticky keys" function of windows OS.
for this you just need a WIN7 DVD and have to make some dos commands.



>> Start your Win 7 computer with WIN7 DVD as bootable media , Choose Recover ( Repair ) option
Choose Recovery Tools, Command prompt

>> Type the following command in Command prompt
copy c:\windows\system32\sethc.exe c:\
(replace “c:” with the correct drive letter if your Windows is not on C:):


>> Type this command to replace sethc.exe with cmd.exe:
copy /y c:\windows\system32\cmd.exe c:\windows\system32\sethc.exe

>> Now take Win7 DVD out and restart your computer normally.

>> At logon screen press shift key continuously 5 times and you will get
a command prompt with escalated privileges to make any change :)

( This happened because we have changed Sticky key file with command prompt )

>> Finally enter the following command to reset the Windows password:
net user "your_user_name" "new_password"

>> You can easily see which username you you want to reset as it will be there on
logon screen but If you don’t know your user name or actual username is different from
display name then just type "net user" to list the available user names.

>> Exit from command prompt and Login :)

Note: If you want to restore Sethc file then you again need to do it by using Win 7 DVD
as you cant change while you are logged into windows.

No comments:

Post a Comment

Copyright © 2009 Cool Tips & Tricks All rights reserved. Theme by Laptop Geek. | Bloggerized by FalconHive | Blogger Templates.