Reset Windows password from Ubuntu

We all set password for security purpose and there is a chance of forgetting that password. Well, if we forget the password which we have set in some websites, we can reset it by clicking of Forgot Password Option but if we forget Windows login password, then it is not possible to login or to reset password directly.


This is the situation where we get frustrated and do something for our computer and end up having a severe problem. Just for one simple task of resetting the password, we will get into severe problem. Here is a solution to reset the password.


Solutions to reset the password :-




  • Install chntpw. You can install it from repository.



  • Open or mount Windows OS installed drive (Say C:\ )



  • Now go to C:\Windows\System 32\config



  • Now open Security Accounts Manager(SAM) file with chntpw. It will open Administrator's file by default but you can specify the user option as chntpw -u srikanth SAM.



  • Now go forward and you can set new password or clear old password.



  • Reboot your system.


That's it :)  Windows password cleared or set with new one :)

Isn't this a cool trick :)  Stay tuned for lot more tricks :)