C 槽空間莫名縮水,罪魁禍首通常是休眠檔、虛擬記憶體、Superfetch 快取、暫存檔、系統還原點、瀏覽器快取、Windows Update 備份、事件日誌、NTFS 壓縮未啟用。九招徹底瘦身。
powercfg -h off → 刪除 hiberfil.sys(≈ 實體記憶體大小)。C:\Windows\Prefetch\* 所有檔案。C:\Windows\Temp\* 與 C:\Users\<用戶>\AppData\Local\Temp\*。cleanmgr → 「清理系統檔案」 → 勾選「Windows Update 清理」。C:\Windows\System32\LogFiles\* 可全刪,重開機自動重建。@echo off
del /f /s /q %systemdrive%\*.tmp
del /f /s /q %systemdrive%\*._mp
del /f /s /q %systemdrive%\*.gid
del /f /s /q %systemdrive%\*.chk
del /f /s /q %systemdrive%\*.old
del /f /s /q %systemdrive%\recycled\*.*
del /f /s /q %windir%\*.bak
del /f /s /q %windir%\prefetch\*.*
rd /s /q %windir%\temp & md %windir%\temp
del /f /q %userprofile%\cookies\*.*
del /f /q %userprofile%\recent\*.*
del /f /s /q "%userprofile%\Local Settings\Temporary Internet Files\*.*"
del /f /s /q "%userprofile%\Local Settings\Temp\*.*"
echo 清理完成 & pause
另存為 clean.bat 以管理員身分執行,定期排程執行效果最佳。