create sccm boot image using dism

Create SCCM Boot Image using DISM

How to create SCCM Boot Image using DISM. This is a step-by-step guide where we create a boot image to be used with Configuration Manager from scratch using only Windows Assesment and Deployment Kit and DISM.

I wanted to create a boot image from scratch that is capable of running a configuration manager task sequence, using nothing but command-line tools. My first step was to identify which components in the boot image are required by ConfigMgr. Microsoft made this easy for me as they list in sccm which components they add to the boot image.

sccm boot image components


  • Windows Assement and Deployment Kit for Windows 10.

I used ADK1703 for this guide.

Create SCCM Boot Image using DISM

SCCM requires the following componets in a Windows PE boot image:

  • WinPE-Scripting
  • WinPE-SecureStartup
  • WinPE-WDS-Tools
  • WinPE-WMI

We will add the following optional components to enable support for PowerShell in the boot image:

  • WinPE-NetFx
  • WinPE-PowerShell

Start by installing ADK 1703 on a computer. Start “Deployment and Imaging Tools Environment” from start menu once ADK is installed.

  1. Execute copype.cmd <architecture> <destination>. Architecture can be x86 and amd64.
    I execute copype.cmd amd64 c:\boootimage\winpe_x64 to create a 64-bit boot image in c:\windows\x64.The command copies copies the base boot image and creates the following folder structure:
    Create SCCM Boot Image using DISM 1
  2. Mount the base boot image.
    dism /Mount-Image /ImageFile:”C:\bootimage\winpe_x64\media\sources\boot.wim” /index:1 /MountDir:”C:\bootimage\winpe_x64\mount”
    The boot image is now mounted and we can add the neccessary components to it required by SCCM.
  3. Add the required packages for SCCM. The following command adds the WinPE-Scripting package. Repeat it to add any additional packages, replacing with your package. The remaning packages we add in this guide is located in the same folder as
    dism /Add-Package /Image:”C:\bootimage\winpe_x64\mount” /PackagePath “c:\program files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\”
  4. Commit the image once all packages are added to the image.
    dism /Unmount-Image /Mountdir:”c:\bootimage\winpe_x64″ /commit

Boot image is now successfully created.

I added the boot image to SCCM, distributed it to my distribution points, and configured a task sequence used to install Windows 10 1703 to use this boot image. That task sequence had steps to change a computer from legacy BIOS to UEFI, so I figured that would be an appropiate test if the boot image I created was good enough.

A test on a HP Elitebook 840 G3 showed that it worked perfectly.

Anders Rødland

Anders Rødland started his IT career in 2006. My main focus is MS Configuration Manager and client management, and I have passed 17 Microsoft certifications since then. My main expertise is on client management with Microsoft Endpoint Manager: Intune and Configuration Manager. I also do a lot of work on the security side with Microsoft Defender for Endpoint. In addition to my Microsoft certification, I also have an ITIL v3 Foundation certification. This is my private blog and do not represent my employer. I use this to share information that I find useful. Sharing is caring.

One thought to “Create SCCM Boot Image using DISM”

  1. There was a few mistakes, so I corrected them:

    dism /Mount-Image /ImageFile:”C:\bootimage\winpe_x64\media\sources\boot.wim” /index:1 /MountDir:”C:\bootimage\winpe_x64\mount”

    dism /Image:”C:\bootimage\winpe_x64\mount” /Add-Package /PackagePath:”C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\WinPE_OCs\”

    Dism /Unmount-image /MountDir:C:\bootimage\winpe_x64\mount /Commit

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.