C 槽空間告急是 Windows 10 常見痛點,主要佔用者為 Windows Update 快取、臨時檔案、系統還原點、休眠檔、舊版本回復資料。本文提供原生工具與進階指令完整清理流程,可安全釋放 10-50 GB 空間。
cleanmgr,選擇 C: 槽。Windows.old,升級後 10 天內可刪除)
以系統管理員身分開啟 CMD/PowerShell,依序執行:
# 清理元件存放區 (WinSxS)
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
# 清理 Windows Update 快取
net stop wuauserv
del /q /f /s %windir%\SoftwareDistribution\Download\*
net start wuauserv
# 清理臨時檔案
del /q /f /s %temp%\*
del /q /f /s C:\Windows\Temp\*
# 關閉休眠 (若不需休眠功能,可省下等同記憶體大小的空間)
powercfg /hibernate off
# 限制系統還原空間 (預設佔用 5-10%)
vssadmin resize shadowstorage /for=c: /on=c: /maxsize=5GB
推薦使用 WizTree(讀取 MFT 秒級掃描)或 TreeSize Free 找出大檔案/資料夾分布,精準清理。
警告:請勿手動刪除 C:\Windows\WinSxS 內檔案、C:\System Volume Information、C:\$Recycle.Bin 系統隱藏資料夾內容,否則導致系統損毀無法開機。