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

善用 SFC 指令修復 Windows 7 系統檔案

編輯:Windows 7 系統介紹

系統檔案檢查器(SFC)是 Windows 內建修復工具,可掃描並修復受損的受保護系統檔案。本文示範 sfc /verifyonly 僅掃描不修復,與 sfc /scannow 掃描並自動修復的完整流程。

操作流程

  1. 以系統管理員身分開啟「命令提示字元」。
  2. 輸入 sfc /? 查看所有參數說明。
  3. 先執行 sfc /verifyonly 掃描完整性,不自動修復。等待掃描完成,若發現衝突會顯示錯誤報告路徑(通常在 C:\Windows\Logs\CBS\CBS.log)。
  4. 查看 CBS.log 確認具體問題檔案。
  5. 執行 sfc /scannow 掃描並自動修復受損檔案,過程較久請耐心等待。
  6. 驗證 100% 完成後重新開機,修復生效。

提示

  • 掃描過程不影響其他軟體使用。
  • CBS.log 記錄所有異常,檔案較大屬正常。
  • 若無法進入系統,可用安裝媒體進入修復環境執行 sfc /scannow /offbootdir=X:\ /offwindir=X:\Windows(X 為系統盤代號)。
Copyright © Windows教程網 All Rights Reserved