Windows image files (WIM) can include multiple images within the same file. During the Windows installation process, you can choose an image to install, and then activate Windows.
Select the Windows edition to install
To select a Windows edition to install:
Manually:
Install Windows manually from media without an answer file. Windows Setup will install the default edition from the installation media.
In an automated installation:
Install Windows with an answer file and include a product key in the Microsoft-Windows-Setup\UserData\ProductKey\KeyUnattend setting. Each product key is specific to a Windows edition. Entering the product key in this setting does not activate Windows.
Install Windows with an answer file, and then manually type in a product key during Windows Setup. The product key selects a Windows edition to install.
Note
If you have multiple Windows images with the same Windows edition that are stored in the same Windows image file (.wim), you can use the Microsoft-Windows-Setup\ImageInstall\OSImage\InstallFrom\MetaDataUnattend setting to differentiate between them. You must still provide a product key using one of the methods listed in the above list.
To automatically activate Windows by using a product key, you can do one of the following:
Use the Microsoft-Windows-Shell-Setup\ProductKeyUnattend setting. You can use either a single-use product key or a Volume License Multiple Activation Key. For more information, see the Volume Activation Planning Guide.
The product key used to activate Windows must match the Windows edition that you install. If you use a product key to select a Windows edition, we recommend using the same key to activate Windows, so that the edition you install is the same as the edition that you activate.
Plan and execute an endpoint deployment strategy, using essential elements of modern management, co-management approaches, and Microsoft Intune integration.