新聞中心
Linux中如何清除Windows密碼?本篇文章重點為大家講解一下Linux中如何Windows密碼具體方法。

成都創(chuàng)新互聯(lián)是一家專注于成都做網(wǎng)站、成都網(wǎng)站設計與策劃設計,坡頭網(wǎng)站建設哪家好?成都創(chuàng)新互聯(lián)做網(wǎng)站,專注于網(wǎng)站建設十年,網(wǎng)設計領(lǐng)域的專業(yè)建站公司;建站業(yè)務涵蓋:坡頭等地區(qū)。坡頭做網(wǎng)站價格咨詢:13518219792
u=936689560,3272300958&fm=26&gp=0
下載安裝ntfs-3g
下載驅(qū)動讓Linux掛載Windows磁盤
[cc]https://tuxera.com/opensource/ntfs-3g_ntfsprogs-2017.3.23.tgz[/cc]
安裝
[cc]tar -xvf ntfs-3g_ntfsprogs-2017.3.23.tgzcd ntfs-3g_ntfsprogs-2017.3.23./configuremakemake install[/cc]
下載安裝chntpw
下載chntpw
[cc]https://pkgs.org/download/chntpwwget http://li.nux.ro/download/nux/dextop/el7/x86_64//chntpw-0.99.6-22.110511.el7.nux.x86_64.rpmyum -y install ./hntpw-0.99.6-22.110511.el7.nux.x86_64.rpm[/cc]
掛載windows磁盤
掛載windows的系統(tǒng)盤
默認第二個分區(qū)才是C盤[cc]mkdir /winmount -t ntfs-3g /dev/xvdb2 /win[/cc]
備份SAM文件
cd /win/Windows/System32/config/[cc]cp SAM{,.bak}[/cc]
清除Windows密碼
[cc]chntpw SAMUser Edit Menu:1 – Clear (blank) user password2 – Edit (set new) user password (careful with this on XP or Vista)3 – Promote user (make user an administrator)(4 – Unlock and enable user account) [seems unlocked already]q – Quit editing user, back to user selectSelect: [q] > 1 # 1 清除密碼Password cleared!Hives that have changed:# Name0Write hive files? (y/n) [n] : y # y保存0 – OK[/cc]
將Windows系統(tǒng)盤重新掛載回windows中即可
本文名稱:Linux中清除Windows密碼具體方法
網(wǎng)址分享:http://m.fisionsoft.com.cn/article/cdeeegh.html


咨詢
建站咨詢
