Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學

Windows XP 故障復原主控台實戰五大案例:從 NTLDR 遺失到多系統引導重建

編輯:XP 常見問題解答

案例一:NTFS.SYS 遺失/損壞(FAT32 轉 NTFS 後無法開機)

錯誤: Missing or Corrupt Ntfs.sys
修復:

  1. 主控台輸入 cd \windows\system32\drivers → Enter
  2. ren ntfs.sys ntfs.old 重命名損壞檔
  3. 若提示找不到檔案 → 檔案遺失
  4. 放入 XP 光碟(假設光碟機 H:,系統 C:) → copy h:\i386\ntfs.sys c:\windows\system32\drivers
  5. 輸入 exit 重啟

案例二:NTLDR 遺失(Win2000/XP 通用)

錯誤: NTLDR is missing Press any key to restart
修復:

  1. 主控台放入對應作業系統光碟
  2. copy h:\i386\ntldr c: → Enter
  3. copy h:\i386\ntdetect.com c: → Enter
  4. 提示覆蓋輸入 y → Enter
  5. c:\boot.ini 檢視內容正常則重啟;顯示「系統找不到指定檔案」→ 從其他同版本電腦複製 Boot.ini 到 C 槽根目錄

此法可解決大多數系統檔遺失問題。

案例三:誤刪 SAM 檔導致帳號消失

現象: 刪除 C:\Windows\System32\config\SAM → 無法進入登入畫面
修復: copy h:\windows\repair\sam c:\windows\system32\config\sam
注意: Repair 目錄的 SAM 是安裝初期產生,會遺失後來建立的用戶/群組。若已啟用系統還原,建議先登入再還原到最新還原點恢復完整帳號設定。
延伸應用: 忘記密碼同樣可用此法重置。

案例四:多系統環境下 XP 無法啟動(裝 Win98 覆蓋引導檔)

修復:

  1. 主控台輸入 BOOTCFG /ADD
  2. 掃描完成後選擇要加入的安裝編號(通常為 1)
  3. 輸入載入識別符(可直接 Enter)
  4. 輸入 OS 載入選項:fastdetect → Enter
  5. EXIT 重啟 → 多系統啟動選單恢復
  6. 若有其他系統重複上述步驟直到全部加入

案例五:誤刪 Boot.ini(重裝系統到 D 槽後格式化 C 槽導致)

修復:

  1. bootcfg /scan 掃描所有磁碟尋找 Windows 安裝(找到 D 槽 XP)
  2. bootcfg /rebuild 重建 Boot.ini
  3. copy h:\i386\ntdetect.com c: 與 copy h:\i386\ntldr c: 複製啟動檔到 C 槽根目錄
  4. fixboot c: 寫入 XP 啟動磁區到系統分區

雙系統若誤刪 Boot.ini 同樣適用;多系統可參考案例四重建選單或手動編輯 Boot.ini。

光碟 windows\repair 目錄價值

內含安裝初期的登錄檔、硬體資訊等,是災難復原的關鍵備份庫。

Copyright © Windows教程網 All Rights Reserved