Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Win8/8.1 使用 DISM 指令解壓 install.wim 映像檔完整教學

編輯:關於 Windows

Windows 8/8.1 安裝映像採用 install.wim 格式,傳統解壓軟體(WinRAR、7-Zip 早期版本)無法正確處理,會報告檔案損毀。此時可使用系統內建的 DISM (Deployment Image Servicing and Management) 指令進行掛載與解壓,支援多版本映像選擇。

前置準備

  • 以系統管理員身分開啟「命令提示字元」(Win+X → 命令提示字元 (系統管理員))。
  • 確認 install.wim 路徑(例如 F:\win8.1\sources\install.wim)與目標解壓資料夾(例如 C:\111)已存在。

步驟一:查詢映像版本索引

dism /get-wiminfo /wimfile:"F:\win8.1\sources\install.wim"

輸出會列出映像包含的版本,例如:

  • 索引 1:Windows 8 Professional
  • 索引 2:Windows 8 Standard
  • ……

記下所需版本的 索引號(如專業版為 1)。

DISM 查詢映像版本輸出

步驟二:掛載並解壓映像

dism /mount-wim /wimfile:"F:\win8.1\sources\install.wim" /index:1 /mountdir:C:\111
  • /index:1 為步驟一查到的版本索引。
  • /mountdir:C:\111 為解壓目標資料夾(需預先建立)。

執行完成後,開啟 C:\111 即可看到完整的 Windows 系統檔案結構,可自由複製所需檔案。

解壓完成檔案結構

步驟三:卸載映像(釋放資源)

dism /unmount-wim /MountDir:C:\111 /discard
  • 執行前請關閉所有存取 C:\111 的視窗/程式。
  • /discard 參數表示捨棄變更(唯讀解壓無變更時使用)。若曾修改映像內檔案需提交變更,改用 /commit。

卸載完成後,C:\111 變為空資料夾,映像檔資源釋放。

卸載映像完成

延伸應用

DISM 亦可用於修復元件庫、清理 WinSxS 備份、啟用/停用 Windows 功能等,是 Windows 系統維護的核心工具。

Copyright © Windows教程網 All Rights Reserved