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

Windows 2000 系統檔案檢查器 (SFC) 修復 DLL 檔案遺失或錯誤指令大全

編輯:Windows 2003 常見問題解答

系統檔案檢查器 (sfc.exe) 可掃描所有受保護系統檔案並以正確 Microsoft 版本取代錯誤版本,同時重建 %SystemRoot%\System32\Dllcache 快取資料夾。

常用指令參數

參數功能說明
/scannow立即掃描所有受保護檔案並修復,需安裝來源檔案與 Service Pack。
/scanonce下次重開機掃描一次所有受保護檔案。
/scanboot每次開機掃描所有受保護檔案。
/cancel取消所有暫停的掃描。
/enable啟用 Windows 檔案保護 (WFP) 正常運作。
/purgecache清除快取並立即掃描,需安裝來源檔案 (配合 /cachesize 使用)。
/cachesize=x設定快取大小 (MB),需重開機並配合 /purgecache 生效。
/quiet無提示自動取代所有錯誤檔案。

使用情境

  • DLL 檔案遺失、版本錯誤、被惡意程式取代。
  • Dllcache 資料夾損毀或遺失。
  • 安裝 Service Pack 或熱門修補程式後驗證系統檔案完整性。

注意

執行掃描時通常會提示插入 Windows 2000 安裝光碟或指定來源路徑 (如 I386 資料夾)。

Copyright © Windows教程網 All Rights Reserved