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

Win2003 系統檔案檢查器 (SFC) 修復遺失/損毀 DLL 完整指令參考

編輯:Server 2003

Windows Server 2003 內建 系統檔案檢查器 (SFC) 可掃描修復受保護系統檔案(含 DLL)。常用指令:

SFC 指令語法

指令功能說明
sfc /scannow立即掃描所有受保護系統檔案,以正確版本替換錯誤版本,並重填 DLLCache。需安裝來源檔案。
sfc /scanonce下次重開機時掃描一次所有受保護檔案。
sfc /scanboot每次開機皆掃描所有受保護檔案。
sfc /cancel取消所有暫停的掃描。
sfc /enable啟用 Windows 檔案保護 (WFP)。
sfc /purgecache清除檔案快取並立即掃描,需搭配 /cachesize=x 使用。
sfc /cachesize=x設定快取大小 (MB),需重開機生效。
sfc /quiet無提示自動替換所有錯誤檔案版本。

實務建議

  1. 優先執行 sfc /scannow,系統會提示插入 Windows 2003 安裝光碟/提供來源路徑。
  2. 若 DLLCache 損毀,執行 sfc /purgecache 後再 sfc /scannow。
  3. 搭配 /quiet 參數可無人值守修復。

DLL 遺失/報錯是 Win2003 常見問題,善用 SFC 可避免重灌系統。

Copyright © Windows教程網 All Rights Reserved