Working with WIM files

Here are some of the dism commands I use most frequently.

Mount a WIM file

dism /mount-wim /wimfile:”D:\path\to\wim\file” /index:1 /mountdir:D:\mount

Dismount a WIM file with commit

dism /unmount-win /mountdir:D:\mount /commit

Dismount a WIM file with discard

dism /unmount-win /mountdir:D:\mount /discard

Add a package to a WIM

dism /Image:D:\mount /Add-Package /PackagePath:”C:\Program Files (x86)\Windows Kits\8.0\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\WinPE_OCs\WINPE-MDAC.cab”

Display a list of the currently mounted WIM’s

dism /get-mountedwiminfo

 

 

 

Add a Comment

Your email address will not be published. Required fields are marked *