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

Windows 8.1 使用 DISM 指令清理 WinSxS 元件庫釋放磁碟空間

編輯:Win8 系統應用技巧

Windows 更新機制會在 WinSxS 資料夾保留舊版元件備份,長期累積佔用大量系統磁碟空間。Windows 8.1 內建 DISM 指令可安全移除已取代的舊版元件,僅保留最新版本。

問題背景

以內建 Flash Player 為例,每月更新都會在 X:\Windows\WinSxS 產生 amd64_adobe-flash-for-windows 或 x86_adobe-flash-for-windows 備份資料夾,久而久之造成龐大冗餘。

清理操作步驟(以 Win8.1 9600 64 位為例,Win8 同樣適用)

  1. 右鍵開始按鈕或按 Win+R → 選擇「命令提示字元 (系統管理員)」
  2. 輸入指令:
    dism /online /Cleanup-Image /StartComponentCleanup /ResetBase
  3. 按 Enter 等待執行完成(視系統狀態耗時數分鐘至數十分鐘)

驗證成果

返回 X:\Windows\WinSxS 檢查 Flash Player 資料夾,僅保留最新版本(如 6.3.9600.16418),舊版備份已被移除。

此指令同樣適用於 GA 更新補丁安裝後的冗餘清理,是系統維護的高效利器。

Copyright © Windows教程網 All Rights Reserved