Thank You!...this video was a great help. one thing I would add. I had a weird situation where I could not see the OS hard drive....so a few things I would like to add. 1. If UEFI is enable in the BIOS, disable and use Legacy/Classic boot options. 2. If once you are able to see the drive but cannot write changes to the drive, it is likely that the OS is in a hibernation state. To fix, do. Shut Down of the computer so that the Hibernation data is not written. I read somewhere else that holding down Shift while powering down also keeps Windows from writing hibernation data. 3. for some reason (I did not troubleshoot this part since it worked), I had to use "sudo" before the commands to get the "chntpw" commands to works. I am sure someone knows why this had to be used, but like I said, since it worked for me, I did not investigate it more. hope these help anyone else.
Thank you! This method worked after I had to press SHIFT and Shutdown to shutdown windows without it creating a hibernation file. Hope this helps someone else also. 👍🙂
Holding shift did not work for me, but inserting my kali stick and just selecting restart instead of hitting the power button or shut down did the trick
I found this video after searching and trying with other video with no luck. I want to try this but how do I make a make a Kali boot USB? I have another Windows pc and I recently got a pi 4 which I’m going to learn Linux. I just subscribed to your channel for your Linux tutorials. Thanks Edit: btw Yes my laptop it’s locked because I forgot my password
If not already mentioned, in Windows, press Restart instead of Shutdown to offload the SAM hive. Then you should not need to run fdisk. Then the chntpw command was able to save the changes successfully. (I used the -v (verbose) option to see messages about chntpw being read-only, otherwise it appears changes are saved successfully.)
Dude, u this is the best vid for the problem, saw a ton before using this method and i feel urs was the best, keep making vids like this and help out thx a lotttttt
Thanks very much, I had not used my laptop in ages, and of course lost the pass word, I had to run this twice, but was my fault, it worked perfect, Thanks again
I stumbled across your channel accidental but I think you have the seam philosophy as I have with my content.. Make it straight to the pint and don't waffle for 'watch time'. Keep up the good work on your content :)
After chntpw -l SAM openHiven (SAM) failed: Read-only file system, triying read-only openHiven() : read error: : Read-only file system chntpw: Unable to open/read a hive, exiting… Could someone pls help me
I have an issue. The "X" next to "Passwd not req" box did not appear for me. I cleared the password but I cant login still. Is there a way to enable this option to make the "X" appear?
Will this work on a machine tied to a domain? I would assume there would be some way of getting back in if the local admin password is blanked out. Pretty cool tool using kali linux to modify windows passwords. I have an old winxp system that is used for a specialized pick and place machine which needs to be reset.
Hi Britec, Thanks for your great video. i am able to successfully reset windows 10 password using kali linux. in my old windows vista pc i use that laptop after 2 years and dont remember the pwd. when i type my password so many wrong attempt then it got my account locked out. i try to using kali linux to reset the pwd. But i struck on windows Vista. i able to see all my c: d: e: in kali linux, when i go to places --> computer --> other location. i able to fdisk -l and ntfsfix /drive name change directory to config folder ls -l SAM* after that i type chntpw -l SAM I got the below error chntpw version 1.00 140201, (c) Petter N Hagen openHive (SAM) failed: No such file directory, trying read-only openHive (SAM) in fallback RO-mode failed: No such file or directory chntpw: unable to open/read a hive, exiting.. but i able to see all my operating system files in all partition. can you please tell me is there any command need to put to find the SAM database for windows visa. thanks...
It has to do with the hibernation feature. Boot Windows till the password prompt, wait for the HDD to settle down then switch the laptop off with the power button. Boot into linux and now try the technique .
i Hav a proble when execute comand chntpw - l SAM. which is "chntpw version 1.00 140201, (c) Petter N Hagen openHive(SAM) failed: No such file or directory, trying read-only openHive(SAM) in fallback RO-mode failed: No such file or directory chntpw: Unable to open/read a hive, exiting.." please healp me how to solve it.
Good Afternoon, just stumbled across your video I seem to be having some issues. It is showing me error Cannot find User.. Please, is there anyother thing I can do.
Hello I done same steps first time working but I try to do once again. I get openHive(SAM) failed: Read-only file system, trying read-only openHive(): read error: : Read-only file system chntpw: Unable to open/read a hive, exiting..
hello thefilledk i do sudo command but nothing change i did it one time before same way working good but after open windows cmd start than it close automatic . than i set new password and i try to do it once more but it not work this is copy form terminal root@kali:/media/root/C216580D16580537# cd Windows/System32/config root@kali:/media/root/C216580D16580537/Windows/System32/config# ls -l SAM* -rwxrwxrwx 1 root root 65536 May 13 23:53 SAM -rwxrwxrwx 2 root root 65536 Jul 16 2016 SAM.LOG1 -rwxrwxrwx 2 root root 32768 Jul 16 2016 SAM.LOG2 root@kali:/media/root/C216580D16580537/Windows/System32/config# chntpw -l SAM chntpw version 1.00 140201, (c) Petter N Hagen openHive(SAM) failed: Read-only file system, trying read-only openHive(): read error: : Read-only file system chntpw: Unable to open/read a hive, exiting.. root@kali:/media/root/C216580D16580537/Windows/System32/config# sudo chntpw -l SAM chntpw version 1.00 140201, (c) Petter N Hagen openHive(SAM) failed: Read-only file system, trying read-only openHive(): read error: : Read-only file system chntpw: Unable to open/read a hive, exiting.. root@kali:/media/root/C216580D16580537/Windows/System32/config#
I was able to overcome this by shutting down windows with >shutdown /s /f /t 0 (the issue seems to be related to the hibernate function/file. After doing this I was able to complete chntpw as described.
Use "chntpw -l sam" n follow the video And if still error comes up? Shutdown your computer properly and then try again.. Like shut it down completely no commands..
I was able to overcome this by shutting down windows with >shutdown /s /f /t 0 (the issue seems to be related to the hibernate function/file. After doing this I was able to complete chntpw as described.
Jayesh Vashishtha - yes. This is done at the command line to shutdown Windows without hibernation. Once shutdown you should be able to boot with Kali and use chntpw
After doing ntfsfix /dev/sda2 I get NTFS signature missing and that the volume is corrupt so I ran chkdsk fixed the files and here I am back at square one.
i have an acer aspire e13 ...while trying to install windows 7 i deleted windows & secure boot would not let me install an os ... i set a supervisor password and tried everything ... i find it hard to believe you can screw up a computer that bad ... Please Help
I was able to overcome this by shutting down windows with >shutdown /s /f /t 0 (the issue seems to be related to the hibernate function/file. After doing this I was able to complete chntpw as described.
Probably,. But most of them do not link windows 10 with their Microsoft account (Hotmail, live) password. They either use pin and passcode for windows 10.