WinSxS (Windows Side-by-Side) 資料夾因硬連結機制,在檔案總管顯示大小遠大於實際佔用空間。使用 DISM 可查詢真實大小。
Dism.exe /Online /Cleanup-Image /AnalyzeComponentStore元件存放區大小 : 8.50 GB
實際大小 : 6.20 GB
共用大小 : 4.10 GB
備份和已停用功能 : 1.80 GB
快取和暫存資料 : 0.30 GB
# 安全清理 (移除舊版更新元件,不影響已安裝更新)
Dism.exe /online /Cleanup-Image /StartComponentCleanup
# 深度清理 (重設基準線,之後無法解除安裝已安裝更新)
Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase
善用 DISM 監控與清理 WinSxS,避免 C 槽空間虛耗。