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

Win7 SFC.exe /purgecache 指令是什麼?清空 DLL 快取節省 300MB,但會導致修復需安裝光碟

編輯:Win7 系統應用技巧

SFC.exe /purgecache 會清空 %SystemRoot%\System32\DllCache 目錄,釋放約 300 MB 空間。但之後系統檔案修復(sfc /scannow)將無法從快取還原,必須插入 Windows 安裝光碟提供來源檔案。

指令對照

  • sfc /scannow:立即掃描修復系統檔案(使用快取或安裝媒體)。
  • sfc /scanonce:下次重開機掃描一次。
  • sfc /scanboot:每次開機掃描。
  • sfc /purgecache:清空快取,節省空間但犧牲離線修復能力。

SFC 指令示意

建議:除非磁碟空間極度緊迫且備有安裝光碟/ISO,否則請勿執行 /purgecache,保留快取利於系統維護。
Copyright © Windows教程網 All Rights Reserved