Microsoft
Original Product Key
Open powershell
Recover Password
Start any Live Distribution like GRML, Fedora or Ubuntu.
Install chntpw
1 apt install chntpw ntfs-3g
Mount the Windows System Disk
Check Disk
Schedule chkdsk on next reboot
1 chkdsk /x /f /r
Mount Dirty NTFS
Can't mount a dirty filesystem.
1 # mount -o rw /media/data
2 The disk contains an unclean file system (0, 0).
3 Metadata kept in Windows cache, refused to mount.
4 Falling back to read-only mount because the NTFS partition is in an
5 unsafe state. Please resume and shutdown Windows fully (no hibernation
6 or fast restarting.)
7 Could not mount read-write, trying read-only
Cleanup
1 # mount | grep data
2 /dev/sdb1 on /media/data type fuseblk (ro,nosuid,nodev,noexec,relatime,user_id=0,group_id=0,allow_other,blksize=4096,user)
3 # umount /media/data
4 # ntfsfix /dev/sdb1
5 Mounting volume... The disk contains an unclean file system (0, 0).
6 Metadata kept in Windows cache, refused to mount.
7 FAILED
8 Attempting to correct errors...
9 Processing $MFT and $MFTMirr...
10 Reading $MFT... OK
11 Reading $MFTMirr... OK
12 Comparing $MFTMirr to $MFT... OK
13 Processing of $MFT and $MFTMirr completed successfully.
14 Setting required flags on partition... OK
15 Going to empty the journal ($LogFile)... OK
16 Checking the alternate boot sector... OK
17 NTFS volume version is 3.1.
18 NTFS partition /dev/sdb1 was processed successfully.
19 # mount -o rw /media/data
20