Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Windows 開機報 BOOT\BCD 錯誤?安裝媒體一鍵修復 bcdboot 指令教學

編輯:關於 Windows

自動修復無效時,可用對應版本 Windows 安裝媒體進入命令提示字元,執行 bcdboot c:\windows /s c: 重建 BCD 開機設定。雙系統環境可能需搭配 bcdedit /rebuildbcd。附 bootrec /fixmbr、/fixboot 參考指令。

修復步驟

  1. 插入對應版本安裝媒體 (Win7 用 Win7、Win8/10 用 Win8/10),從媒體開機。
  2. 選擇「修復電腦」→「疑難排解」→「進階選項」→「命令提示字元」。
  3. 輸入指令:
    bcdboot c:\windows /s c:
    (若系統盤非 C: 請依實際代號調整)
  4. 重新開機,通常即可正常進入系統。

雙系統補充

若為多重開機環境,執行上述指令後可能仍缺少其他系統開機項目,請接著執行:

bcdedit /rebuildbcd

依提示掃描並加入所有偵測到的 Windows 安裝。

常用 Bootrec 指令參考

指令功能
bootrec /fixmbr修復主開機記錄 (MBR),不覆蓋分區表
bootrec /fixboot將新的開機磁區寫入系統分區
bootrec /scanos掃描所有磁碟尋找相容的 Windows 安裝
bootrec /rebuildbcd重建 BCD 存放區並加入偵測到的作業系統

注意

  • 請務必使用與安裝系統版本相符的安裝媒體,混用可能導致版本不符無法修復。
  • UEFI 系統請確認媒體以 UEFI 模式開機,指令參數可能需調整 (如 /f UEFI)。
Copyright © Windows教程網 All Rights Reserved