Overview#
This command exports a single image index from an existing install.wim file into a new WIM file. In this example, index 6 is exported to pro.wim.
Command#
Dism /Export-Image /SourceImageFile:"D:\sources\install.wim" /SourceIndex:6 /DestinationImageFile:"D:\sources\pro.wim"
What each parameter does#
/Export-Image: Exports an image from one WIM file to another./SourceImageFile: Path to the original WIM file./SourceIndex:1: The image index to export./DestinationImageFile: Path and filename for the new exported WIM.
Optional check#
To verify available image indexes before exporting:
Dism /Get-WimInfo /WimFile:"D:\sources\install.wim"