Original reference
http://www.howtogeek.com/howto/windows-vista/change-your-forgotten-windows-password-with-the-linux-system-rescue-cd/
Make sure Linux OS support NTFS file system
wget -c
And the tools for Change windows SAM file
# yum install chntpw
Mount Windows system disk
# mount -t ntfs-3g /dev/dm-1 /mnt/windos -o force
# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/ddf1_4c53492020202020808627c3000000004711471100001450p7
118879508 32236812 80603912 29% /
tmpfs 1035676 272 1035404 1% /dev/shm
/dev/mapper/ddf1_4c53492020202020808627c3000000004711471100001450p1
51199123 9302494 41896629 19% /mnt/windos
Finally find the system SAM file and change it then reboot
# cd /mnt/windos/WINDOWS/system32/config/
# chntpw -l SAM
# chntpw -u Administrator SAM
阅读(902) | 评论(0) | 转发(0) |