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

Windows XP 復原主控台實戰指令集:Bootcfg、Diskpart、Fixboot、Disable/Enable 系統救援全攻略

編輯:Windows XP 系統介紹

XP/2000 系統檔案損壞連安全模式都進不去時,復原主控台是終極救援工具。啟動兩法:① XP 光碟啟動選「復原主控台」;② XP 運行中安裝:光碟放入 →「執行」輸入 X:\i386\WINNT32.EXE /CMDCONS (X=光碟機) → 選「是」安裝 → 重開機開機選單出現「Microsoft Windows XP Recovery Console」。本文精選 4 大核心指令實戰用法。

Bootcfg — 開機設定修復神器

  • Bootcfg /add 或 /scan:重裝 Win 98 導致 XP 無法開機時救援。/add 手動加入 (格式 Multi(0)disk(x)rdisk(0)partition(y),x=XP 所在硬碟,y=分區號);/scan 自動掃描加入。
  • Bootcfg /copy:備份 Boot.ini。
  • Bootcfg /default:設定預設開機項目。

Diskpart — 磁碟分區建立/刪除

語法: Diskpart [/add | /delete] [device_name | drive_name | partition_name] [size]
刪除 F 分區: diskpart /delete F:
建立 200MB 分區: diskpart /add \Device\HardDisk0 200

Fixboot — 修復分區開機磁區

fixboot [drive]
範例: fixboot d:  (向 D: 系統分區寫入新開機磁區)
無參數: 寫入登入系統分區

Disable / Enable — 服務與驅動程式啟停控制

主控台中高級服務/驅動無法直接操作,靠此兩指令:

  • disable 禁用服務/驅動。用法:disable (service_name) (device_driver_name)。執行時會顯示原啟動類型,**務必記下** 以便 enable 恢復。
  • enable 啟用服務/驅動。參數同 disable。

移除復原主控台

  1. 「我的電腦」進入安裝主控台的磁碟 (如 C:)。
  2. 刪除 Cmdcons 資料夾、Cmldr 檔案。
  3. Boot.ini 右鍵「內容」→ 取消「唯讀」→ 記事本開啟刪除主控台項目 → 存檔 → 恢復「唯讀」屬性。

掌握這些指令,關鍵時刻能挽救無法開機的系統,避免重灌之苦。

Copyright © Windows教程網 All Rights Reserved