XP 修復主控台需背指令、門檻高。Vista 安裝光碟內建 WinRE (Windows Recovery Environment),圖形化介面、一鍵自動修復、支援離線系統還原、備份還原、記憶體診斷、命令提示字元,易用性大幅提升。


同樣從「修復電腦」進入,選擇「命令提示字元」即可使用:
diskpart、bcdedit、sfc /scannow /offbootdir=C:\ /offwindir=C:\Windowschkdsk /r、robocopy 備份資料
前置需求:安裝 Windows AIK (Windows Automated Installation Kit),取得 imagex.exe、SetAutoFailover.cmd。
imagex 從光碟 boot.wim 索引 2 提取 WinRE.wim 複製至非系統分區(如 D:\Recovery)。boot.sdi、bootmgr 等啟動檔至同一分區。SetAutoFailover.cmd 設定啟動選單。



| 測試項目 | 破壞手法 | 修復結果 | 說明 |
|---|---|---|---|
| 啟動檔修復 | 重命名 bootmgr | ✅ 成功 | 自動複製 bootmgr 至作用分區 |
| 雙系統啟動修復 | 刪除 BCD 檔 | ⚠ 部分成功 | Vista 可啟動,但遺失 XP 啟動選單,需手動 bcdedit 加入 |
| MBR 主開機記錄修復 | DiskGen 重寫 MBR | ✅ 成功 | 重啟後自動偵測並修復,添加 Vista 啟動項 |


