Chinaunix首页 | 论坛 | 博客
  • 博客访问: 534583
  • 博文数量: 116
  • 博客积分: 2063
  • 博客等级: 大尉
  • 技术积分: 1174
  • 用 户 组: 普通用户
  • 注册时间: 2007-10-26 16:44
个人简介

none

文章分类

全部博文(116)

文章存档

2023年(2)

2020年(3)

2019年(4)

2018年(7)

2017年(6)

2016年(17)

2015年(13)

2014年(19)

2013年(6)

2012年(13)

2011年(5)

2010年(11)

2008年(10)

分类: LINUX

2012-08-20 10:27:11

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
阅读(861) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~