關於 PHP, Linux, Open Source 及個人生活記載的網誌。
RSS icon
  • 透過 Linux 恢復 Windows 系統管理員密碼

    Posted on January 22nd, 2009 Sam Tang 1 comment

    如果忘記了 Windows 的 administrator 密碼,可以透過 Linux 的 Live CD 進行恢復,而這裡會使用 Ubuntu 作為例子:

    1. 使用 Ubuntu Live CD 開機

    2. 安裝一個名為 “chntpw” 的程式

    $ sudo apt-get install chntpw

    3. 安裝 “chntpw” 後,便要將 Windows 的 NTFS 分割區掛載。

    4. 進入 Windows 分割區下的 system32/config 目錄,然後輸入:

    $ sudo chntpw SAM

    5. 出現了一堆訊息後,系統會提示 reset 密碼,如果想設成空密碼,可以輸入星號 *,重新開機後便可以進入 Windows。


     

    One response to “透過 Linux 恢復 Windows 系統管理員密碼”

    1. I have to wonder how that comparison would fare if it was Vista vs Linux? We bought a new HP Vista machine and converted an old WIn 2K based desktop to SUSE Linux – http://file.sh/SUSE+Linux+torrent.html . After 2 months the hassles with Linux are far fewer! There are hassles with both, but the Linux hassles are well documented and Novell ($60 SUSE Linux support) actually DOES provide solutions in real English! We are preparing to convert the new machine to Linux as well.

    Leave a reply

    *
    To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
    Click to hear an audio file of the anti-spam word