8
4
On my new laptop I entered a new password for my account the first time I booted Windows. I no longer remember this password.
The account was just a local account and not a Microsoft account, so I can't recover the password that way.
I am a linux user and have installed Debian alongside Windows. I tried using the 'chntpw' software to change/remove the account password, but when I run the program in the correct folder I get the following error:
root@sam:/media/sda3/Windows/System32/config# chntpw -i 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..
I did a bit of googling and found out that Windows 10 has a half-hibernate feature that allows it to boot faster, but requires the partition to be read-only even when Windows has shut down. There is a way to turn this off in the settings, but I can't access the settings as I can't log in!
Is there a way to use chntpw while the partition is locked, or alternatively a way of shutting down Windows so that I can write to the partition?
2The author is unable to boot into Windows, in order to disable hibernation, because he doesn't know the password to what I presume is the only user account enabled. So simply discarding the hibernation data would be enough in this case, to solve the problem that the drive is locked, because of the hibernation file. – Ramhound – 2015-12-07T16:40:19.540
F8 menu is not password-protected AFAIK. – Dmitry Grigoryev – 2015-12-07T16:43:02.933
If the user starts Windows 10 normally then shuts Windows down, a new hibernation file will be created, because he wasn't able to log into the user in order to disable hibernation since that is the default behavior. – Ramhound – 2015-12-07T16:44:44.767
Do you think the power button trick might work? – Dmitry Grigoryev – 2015-12-07T16:48:14.693
I think enabling the Administrator user and disabling hibernation or simply doing this and booting into his other operating system would be a better solution. A hard shutdown seems like an odd solution to a problem easily worked around. – Ramhound – 2015-12-07T16:52:50.080
2Thanks for this answer. I'm not sure why my question was downvoted but this solved my problem and will help other people in the same situation. – Sam – 2015-12-07T17:13:49.270