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

Windows 7 C 槽越來越小?九大清理擴容實戰技巧

編輯:Win7 常見問題解答

C 槽空間莫名縮水,罪魁禍首通常是休眠檔、虛擬記憶體、Superfetch 快取、暫存檔、系統還原點、瀏覽器快取、Windows Update 備份、事件日誌、NTFS 壓縮未啟用。九招徹底瘦身。

九大清理擴容招式

  1. 關閉休眠:管理員 CMD powercfg -h off → 刪除 hiberfil.sys(≈ 實體記憶體大小)。
  2. 移動虛擬記憶體:系統屬性 → 進階 → 效能設定 → 進階 → 虛擬記憶體變更 → C 槽「無分頁檔」,D 槽「自訂大小」初始/最大 1.5× 實體記憶體。
  3. 清理 Superfetch/Prefetch:刪除 C:\Windows\Prefetch\* 所有檔案。
  4. 清理暫存檔:刪除 C:\Windows\Temp\* 與 C:\Users\<用戶>\AppData\Local\Temp\*。
  5. 清理 IE/瀏覽器快取:控制台 → Internet 選項 → 刪除 Cookie 與暫存檔。
  6. 精簡系統還原點:系統保護 → 設定 → 「刪除」所有還原點(保留最新),或調整最大使用 5-10%。
  7. 保留 Windows Update 備份:建議保留,若必須刪除可用 cleanmgr → 「清理系統檔案」 → 勾選「Windows Update 清理」。
  8. 刪除事件日誌:C:\Windows\System32\LogFiles\* 可全刪,重開機自動重建。
  9. 啟用 NTFS 壓縮:C 槽右鍵 → 內容 → 勾選「壓縮此磁碟機以節省空間」→ 套用至所有子資料夾/檔案。

一鍵清理批次檔

@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 以管理員身分執行,定期排程執行效果最佳。

Copyright © Windows教程網 All Rights Reserved