
Information
Quite a many of us Windows geeks are in to customizing Windows install images. For instance, I like to do three different deployment / install images of the same Windows version and edition. One is "plain vanilla", default original Windows install media for a specific version and edition, another the same but containing all my preferred software pre-installed, and one more, multilingual Windows image with software pre-installed, allowing to select Windows language to be installed. I would then like these different Windows images and install options to be available in a single ISO file or bootable USB flash drive.
A post by a fellow member I saw today made me decide to write this tutorial:
I'm wondering if anyone knows of any way to manually create a USB flash drive that allows you to choose from multiple Windows installation images. I'm just curious to know if anyone knows of a way to accomplish this manually or with native Microsoft tools.
No third party tools are required. Windows native
DISM (
Deployment
Image
Service and
Management Tool) can do it. In fact, using DISM for this is quite fast and easy.
This tutorial will show how to put multiple Windows images to a single WIM file containing all your preferred Windows install images, and how to create an install media (ISO / USB) which, when booted from it, allows you to choose which of the Windows images will be installed.
Contents
Click links to jump to any part
Part One
Create Base WIM Image
1.1) Create a folder on your PC, and copy contents of Windows 10 install media, either mounted ISO file or USB flash drive to it.
Name the folder as you want to. In this tutorial I use folder
D:\ISO_Files, and copy contents of mounted ISO of Windows 10 x64 version 1903 / 19H1 to it.

Note
If your goal is to create a multi-image WIM containing both 32-bit and 64-bit Windows images, the base image must be 32-bit. In this case, be sure to copy contents of 32-bit mounted ISO or USB media to ISO_Files folder.
1.2) Create another folder to save the multi-image WIM. In this tutorial, I will use folder
D:\WIM for that.
1.3) Open an elevated Command Prompt, enter following command and check index value for your preferred edition, the edition you want to use a base in multi-image WIM:
dism /Get-WimInfo /WimFile:D:\ISO_Files\Sources\install.wim
Replace
D:\ISO_Files with path to folder you created in
Step 1.1. If your
ISO_Files folder content was copied from media created with Windows Media Creation Tool, replace
install.wim with
install.esd.
In my case, I want to use
PRO edition, noting its index value 6:
1.4) Enter following command to create base WIM:
Dism /Export-Image /SourceImageFile:D:\ISO_Files\Sources\install.wim /SourceIndex:6 /DestinationImageFile:D:\WIM\install.wim /DestinationName:"W10 PRO version 1903 x64 (original)"
Replace
D:\ISO_Files with path to folder you created in
Step 1.1,
D:\WIM with path to folder you created in
Step 1.2, and
SourceIndex:6 value with actual index value to your base WIM edition. If your
ISO_Files folder content was copied from media created with Windows Media Creation Tool, replace
install.wim with
install.esd in
SourceImageFile.
I suggest using clear, descriptive name for both this base WIM, and additional WIM files added to this base. In multi-architecture WIM, it is also important to include bit version to name. In this example, I named my base WIM as
W10 PRO version 1903 x64 (original)".
Part Two
Add other images to Base WIM

Note
In this example I will add two
W10 PRO x64 Insider Build 18898 images to base. First one is heavily customized one but without any pre-installed software, and the second one also customized and with all my preferred pre-installed software.
How to create and capture custom Windows images, see this tutorial:
Create Windows 10 ISO image from Existing Installation 2.1) I have saved my captured
18898 W10 x64 PRO EN-GB WIM files in folders
G:\Captures\EN-GB\18898CustomNoSoftware and
G:\Captures\EN-GB\18898CustomWithSoftware.
I will add the first one to base with same command than in
Step 1.4, again using a descriptive name. Command to add the 18898 image with no software:
Dism /Export-Image /SourceImageFile:G:\Captures\EN-GB\18898CustomNoSoftware\install.wim /SourceIndex:1 /DestinationImageFile:D:\WIM\install.wim /DestinationName:"Build 18898 x64 PRO (no software)"
Notice that as the image is self made, it only contains one edition (PRO) with index value 1. Therefore, I did not have to check index values.
And then the one with pre-installed software:
Dism /Export-Image /SourceImageFile:G:\Captures\EN-GB\18898CustomWithSoftware\install.wim /SourceIndex:1 /DestinationImageFile:D:\WIM\install.wim /DestinationName:"Build 18898 x64 PRO (with software)"
2.2) In screenshot the command to create base WIM in
Step 1.4 (#1), and commands to add two additional images to base in
Step 2.1 (#2 & #3):

Part Three
Create ISO or USB Flash Drive
3.1) In your
ISO_Files\Sources folder (see step 1.1), delete original
install.wim or
install.esd file:
3.2) Copy the modified
install.wim file from
WIM folder (see step 1.2) to
ISO_Files\Sources folder
3.3) To create an ISO file from contents in
ISO_Files folder, see
Part Five in this tutorial:
Create Windows 10 ISO image from Existing Installation
3.4) The multi-image WIM file you created is usually bigger than 4 GB. Because of that, normal methods to create USB install media do not work, due
FAT32 file size limit. In that case, see this tutorial for how to create a USB install media from your ISO_Files folder:
Create bootable USB installer if install.wim is greater than 4GB
That's it! When you install Windows using install media you just created, you can choose what version and edition to install:

Kari