In this post, you will learn about the process to create custom Windows PE Boot Image Using MDT with Configuration Manager Console. When you install configuration manager, provides two default boot images: One to support x86 platforms and one to support x64 platforms.
If you want to create a custom boot image with configuration manager console you need to configure ConfigMgr Integration and complete MDT integration process wizard. Integration process happens at the console level. Installing MDT makes no changes to the ConfigMgr Server. For more detailed information check Integrated MDT with ConfigMgr.
A boot image in Configuration Manager is a Windows PE (WinPE) image that’s used during an OS deployment. Boot images are used to start a computer in WinPE. This minimal OS contains limited components and services. Configuration Manager uses WinPE to prepare the destination computer for Windows installation.
Create Boot Image
Using the Configuration Manager Console, in the Software Library workspace, expand Operating Systems, right-click Boot Images, and select Create Boot Image using MDT.
On the Package Source page, specify the path of empty directory. The specified path must be a valid network path in the UNC format and click Next.
Configuration Manager provides two default boot images: One to support x86 platforms and one to support x64 platforms. These images are stored in the x64 or i386 folders in the following share on the site server:
\\<SiteServerName>\SMS_<sitecode>\osd\boot\ If you don’t want your customized boot images automatically updated, don’t store them in the default location.
On the General Settings page, specify the following options, and then click Next.
- In the Name box, specify a unique name for the boot image.
- In the Version box, specify a version number for the boot image.
- In the Comment box, specify a brief description of how the boot image is used.
On the Options page, select the platform, scratch space and click Next.
On the Components page, in addition to the default selected Microsoft Data Access Components (MDAC/ADO) support, select feature check box if any and click Next.
On the Customization page, you can specify the needed customizations. We’ll only uncheck Enable command support (F8) that is not recommended for production use. All settings you can also edit once process completed. Click Next.
On the Summary page, review the specified details and click Next.
Wait a few minutes while the boot image is generated.
Once the process completed successfully. Click Finish.
The boot image is now listed in the Boot Image node.
Modify a Boot Image
In the Software Library workspace, expand Operating Systems, and then click Boot Images. Select the boot image that you want to modify. Click Properties to open the Properties dialog box for the boot image.
Note – When a boot image is based on the WinPE version from the supported version of the Windows ADK, you can customize or modify a boot image from the console.
Set any of the following settings to change the behavior of the boot image.
On the Images tab, you can see Image Properties. if you have changed the properties of the boot image by using an external tool, click Reload.
On the Drivers tab, add the Windows device drivers that are required to boot Windows PE. You can also view existing drivers already associated with a boot image. Consider the following points when you add device drivers:
- You must import device drivers into the drivers catalog before you add them to a boot image. For information about How to Import Windows Device Drivers into the Driver Catalog.
- As a best practice, add only NIC and Mass Storage Drivers to the boot image unless there are requirements for other drivers to be part of Windows PE. As WinPE already comes with many drivers built-in.
- To only display storage and network drivers, select Hide drivers that are not in a storage or network class (for boot images). This option also hides other drivers that aren’t typically needed for boot images.
- To hide drivers that don’t have a valid digital signature, select Hide drivers that are not digitally signed.
- To add multiple drivers to a boot image, select all the drivers you want to add, and then select Add or Remove Drivers to Boot Images from the context menu.
Select the Enable Prestart Commands option to specify a command to run before the task sequence runs. When you enable this option, also specify the command line to run and any support files required by the command.
cmd /c to the start of the command line. If you don’t specify
cmd /c, the command won’t close after it runs. The deployment continues to wait for the command to finish and won’t start any other configured commands or action.
- Set the Windows PE Background settings to specify in case you want to use a custom background image. Select Specify the custom background image file (UNC path), click Browse the folder that contains the background file. Once you done with this you will get the new background image in order to OSD Deployment for selected boot image file under task sequence.
- Configure the Windows PE scratch space (MB), which is temporary storage (RAM drive) used by WinPE.
- Select Enable command support (testing only) to open a command prompt by using the F8 key while the boot image is deployed. This option is useful for troubleshooting while you’re testing your deployment. Using this setting in a production deployment isn’t advised because of security concerns.
- Set default keyboard layout in WinPE: Starting in version 1910, configure the default keyboard layout for a boot image. If you select a language other than en-us, Configuration Manager still includes en-us in the available input locales. On the device, the initial keyboard layout is the selected locale, but the user can switch the device to en-us if needed.
To specify that the site only distributes changed files when it updates the boot image package on the distribution point, select Enable binary differential replication (BDR). This setting minimizes the network traffic between sites. BDR is especially useful when the boot image package is large and the changes are relatively small.
Configure a boot image for PXE
Before you can use a boot image for a PXE-based deployment, configure the boot image to deploy from a PXE-enabled distribution point. If you use the boot image in a PXE-enabled deployment, select Deploy this boot image from the PXE-enabled distribution point.
On the Optional Components tab, specify the components that are added to Windows PE for use with Configuration Manager. The Components list shows additional items that are added to this boot image. To add more components, select the gold asterisk.
Distribute boot images
Before using the boot image to deploy an OS, distribute the boot image to distribution points. Right click Boot Image and click Distribute Content.
Review the selected content for distribution. Click Next.
Add the Distribution Point to distribute the content. Review the selected distribution points, groups. Click Next.
On Summary page, Review the settings. Click Next.
Click Close to complete the Distribute Content wizard.
You can monitor the content status, if its showing yellow color that means distribution is in progress. If the content distribution was successful, it will be appear with Green color as shown.
Modify Existing Custom Boot Image
Important – When you upgrade a site and install a new version of the Windows ADK, custom boot images aren’t updated with the new version of Windows ADK. When that happens, you can’t customize the boot images in the Configuration Manager console. However, they continue to work as they did before the upgrade.
Missing Tabs On Boot Image
Selected boot image is out of date based on the WinPE version from the supported version of the Windows ADK, as a result missing a few tabs on the properties, such as adding Drivers and Customization. Lets proceed to upgrade.
Update distribution points with the boot image
When you use the Update Distribution Points action from the Boot Images node in the console, the site updates the target boot image with the client components, drivers, and customizations. You can reload the boot image with the latest version of WinPE from the Windows ADK installation directory.
Select the Boot images, right click and select Update Distribution Points.
Important – During this process to reload the boot image, the site doesn’t retain any manual customizations made outside of Configuration Manager. This option rebuilds the boot image using the latest version of WinPE and the latest client version. Only the configurations that you specify on the properties of the boot image are reapplied.
The General page of the Update Distribution Points wizard provides the following information, select “Reload this boot image with the current Windows PE version from the Windows ADK”. Click Next.
- The current Windows ADK version installed on the site server
- The current production client version
- The Windows ADK version of WinPE in the boot image
- The version of the Configuration Manager client in the boot image
On Summary page, click Next.
Wait a few minutes while the boot image update is in progress.
Boot Image update process completed successfully. Click Close to exit the wizard.
The OS Version updated for the selected custom boot image with the new version of Windows ADK.
Now you can customize the boot images in the Configuration Manager console using properties tab.