Win7 升級 Win10 會保留 C:\Windows.old 資料夾 (含舊系統檔案、使用者資料、程式檔案),佔用 10-30GB 空間。Win10 內建「儲存感知」可安全清理。




# 清理 Windows.old 及暫存檔
cleanmgr /sagerun:1
# 或直接針對 Windows.old
dism /online /cleanup-image /startcomponentcleanup /resetbase
# 手動刪除 (需取得權限)
takeown /f "C:\Windows.old" /r /d y
icacls "C:\Windows.old" /grant administrators:F /t /c /q
rd /s /q "C:\Windows.old"
C:\Windows.old\Users\[使用者名稱]\Desktop/Documents/Pictures 等重要檔案已複製到新系統對應位置。Win10 「儲存感知」提供最安全的圖形化清理入口,確認無回滾需求後大膽清理,輕鬆騰出十數 GB 空間。