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

成都創(chuàng)新互聯(lián)是一家專注于成都做網(wǎng)站、成都網(wǎng)站設(shè)計(jì)與策劃設(shè)計(jì),坡頭網(wǎng)站建設(shè)哪家好?成都創(chuàng)新互聯(lián)做網(wǎng)站,專注于網(wǎng)站建設(shè)十年,網(wǎng)設(shè)計(jì)領(lǐng)域的專業(yè)建站公司;建站業(yè)務(wù)涵蓋:坡頭等地區(qū)。坡頭做網(wǎng)站價(jià)格咨詢:13518219792
u=936689560,3272300958&fm=26&gp=0
下載安裝ntfs-3g
下載驅(qū)動(dòng)讓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)盤
默認(rèn)第二個(gè)分區(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://www.5511xx.com/article/cdeeegh.html


咨詢
建站咨詢
