Capture Custom Windows 10 Image Creation Using MDT ConfigMgr

5

Let’s see how to create custom image using MDT. In this post, you shall learn how to capture Windows 10 image creation using MDT. I hope this post helps SCCM admins to create MDT custom image.

Introduction -Image Creation Using MDT

In my lab infrastructure I’m using 2 VM’s for capturing the image. One VM I have installed the 2012 R2 server OS with MDT and installed the latest Windows ADK according to the Win 10 image. The second VM I’ll use to build and capture the image.

NOTE: If I want to capture Win10 1903 image, then MDT server has to be updated with Windows 1903 ADK.

In first step, downloads the latest Windows 10 ISO from MS VLSC (Volume Licensing Service Center) site. Open the deployment workbench console from the MDT server. To open MDT console go to search option and type deployment workbench.

MDT Workbench - Image Creation Using MDT
MDT Workbench – Image Creation Using MDT
Altaro Office 365 Backup
Advertisement Altaro Office 365 Backup

Create New Deployment Share

Right click on the deployment share then click on New Deployment share.

New Deployment Share - Image Creation Using MDT
New Deployment Share

Then choose the deployment share path and click on next.

Capture Custom Windows 10 Image Creation Using MDT ConfigMgr 1

Then provide the path name of the deployment share, click next button and define the description according to the choice and click next.

Capture Custom Windows 10 Image Creation Using MDT ConfigMgr 2

In option tab choose the correct option according to the requirement and click next.

MDT New Deployment Share
MDT New Deployment Share

Verify the settings according to the custom settings on the summary page and click next.

Summary - MDT New Deployment Share
Summary – MDT New Deployment Share

Once deployment share created successfully then click on finish. Now new deployment share will be created as below.

Capture Custom Windows 10 Image Creation Using MDT ConfigMgr 3

Import Operating System

Expand the deployment share, go to the Operating System step and right click select Import Operating System option.

 Import Operating System MDT
Import Operating System

Select Full set of source files if you are capturing the image from the CD, DVD drive. Then click next.

Import Operating System Wizard
Import Operating System Wizard

Browse the CD/DVD drive in the source directory and click next.

Capture Custom Windows 10 Image Creation Using MDT ConfigMgr 4

Note: To map CD/DVD drive in the MDT share, open Hyper-V Manager go to the MDT installed VM and right click on the settings.

Go to SCSI Controller DVD Drive and browse the ISO downloaded from the MS site.

Once mounted ISO soure selected, then provide the destination directory name and click next. According to the customization verify the summary and click next.

Capture Custom Windows 10 Image Creation Using MDT ConfigMgr 5

Post next Operating system will be imported to the deployment share folder. Once process completed click on finish.

Finish  MDT Import Operating System Wizard
Finish MDT Import Operating System Wizard

Select Windows 10 Version – Enterprise

Now all edition of the Win10 image .WIM will be available on the deployment share, keep the required ones and delete others.

In my case I need the Win10 Enterprise Edition, so I’m keeping the same.

Select Windows 10 Version - Enterprise
Select Windows 10 Version – Enterprise

Select the wim file has to be deleted from the deployment share and right click delete. Post validate the wim files and check the option “Completely delete these items, even if there are copies in the other folder

Click next and finish.

Remove unwanted versions Image Creation Using MDT
Remove unwanted versions – Image Creation Using MDT

Create New MDT Task Sequence

Once OS import step is completed, move to “Task Sequence” step to create “New Task Sequence” and right click to capture the image.

New Task Sequence - Image Creation Using MDT
New Task Sequence – Image Creation Using MDT

Provide the “Task Sequence ID” and “Task Sequence Name” and click next.

TS ID and Details - Image Creation Using MDT
TS ID and Details – Image Creation Using MDT

Task Sequence Template

Select the “Standard Client Task Sequence” template and click next. Then select the operating system which was imported earlier step and click next.

Task Sequence Template - Image Creation Using MDT
Task Sequence Template – Image Creation Using MDT

In this step I’m not defining any product key as this will automatically activated from the KMS server. But this depends upon the requirement and click next.

Provide the details in the “Full Name” and “Organization” field and click next.

Product Key - KMS Server
Product Key – KMS Server

In this step do not specify any “Admin Password”, because password & other customization settings can be provided in the Bootstrp.ini file in deployment share properties and click next.

Verify the settings on “Summary” filed and click next and finish the step.

Admin Password for TS ? Image Creation Using MDT
Admin Password for TS ? Image Creation Using MDT

TS Structure

Now the task sequence will be created in the deployment share. Right click on the task sequence go to “Task Sequence” tab to see the steps has been created.

New TS Structure - Image Creation Using MDT
New TS Structure – Image Creation Using MDT

Bootstrap Settings

As next step right clicks on the deployment share and go to properties and uncheck the Platforms Supported “x86” in “General” tab. Then go to “Rules” tab modify the rule according to the requirement and click “Apply” & “Ok”. Also modify the “Bootstrap settings” in deployment share Control folder.

Modify the Bootstrap as below:
SkipBDDWelcome=Yes
UserID=
UserDomain=
UserPassword=
SkipLocaleSelection=YES
KeboardLocale=0809:00000809

Modify Bootstrap Setting -   Image Creation Using MDT
Modify Bootstrap Setting – Image Creation Using MDT

Update Deployment Share

Once all the customization settings are completed then go to deployment share right click and “Update Deployment share”.

Update Deployment Share
Update Deployment Share – Image Creation Using MDT

Regenerate Windows 10 Boot Image

Select completely regenerate the boot images and click next, next and finish.

Regenerate Windows 10 Boot Image - mage Creation Using MDT
Regenerate Windows 10 Boot Image – mage Creation Using MDT

Once the deployment shares successfully updated with the boot image, then copy the LiteTouchPE_x64.iso from the deployment share “Boot” folder to other location. We can use the same boot image in VM 2 to capture the image.

Boot VM from ISO

Next step goes to Hyper V Manager. Then select the VM 2 right click and click on setting, go to DVD drive and browse the LiteTouchPE_x64.iso. Once this is completed then go to “Firmware” step to select the boot file, “Move up” the DVD drive to start build and click OK.

Turn on the VM and press any key to start boot from CD option.

Boot VM from ISO - Image Creation Using MDT
Boot VM from ISO – Image Creation Using MDT

Result

Once booting started below screen will appear then click on “Run the Deployment Wizard to install a new Operating System

Capture Custom Windows 10 Image Creation Using MDT ConfigMgr 6
  • Then provide the deployment share path where it has been created.
provide the deployment share path
provide the deployment share path
  • To connect deployment share provide appropriate credential to connect to the share.
appropriate credential
appropriate credential
  • As next step, once it’s connected to the share image build and capture will start. Just wait while image capture in progress.
  • Once the capture completed the new WIM file will stored in “Capture” location.
Windows 10 Capture Image is ready created via MDT
Windows 10 Capture Image is ready created via MDT
  • Once WIM image captured, same file can be used in SCCM console to create “Operating System” package.

Resources

5 COMMENTS

  1. Hi Debabrata Pati,
    I am new to Microsoft Deployment Toolkit and working on Build and capture Task sequences to capture golden images for one of our client. From the article a few things I could not clear. Below are my queries:
    a> why have not you used Sysprep and capture task sequence to capture the Windows 10 1909 image ?
    b> What is role of customsettings.ini during the capture process ?
    c> How can we define the location to store the custom ( capture) wim file after the capture is done ?
    d> Can we capture an Windows 10 image successfully with licensed application present ( eg. Adobe reader 14) ?

  2. Hi Debabrata Pati,
    I am new to Microsoft Deployment Toolkit and working on Build and capture Task sequences to capture golden images for one of our client. From the article a few things I could not clear. Below are my queries:
    a> why have not you used Sysprep and capture task sequence to capture the Windows 10 1909 image ?
    b> What is role of customsettings.ini during the capture process ?
    c> How can we define the location to store the custom ( capture) wim file after the capture is done ?
    d> Can we capture an Windows 10 image successfully with licensed application present ( eg. Adobe reader 14) ?

  3. Hi Dhanraj,
    Please find my comments below.
    a> why have not you used Sysprep and capture task sequence to capture the Windows 10 1909 image ?
    Sysprep is already available in the TS.
    b> What is role of customsettings.ini during the capture process ?
    Custom settings is nothing but the settings you want to use according to the requirement. Like during build if you want to join the domain etc.
    c> How can we define the location to store the custom ( capture) wim file after the capture is done ?
    Once you select the deployment share wim file will automatically created in the capture folder.
    d> Can we capture an Windows 10 image successfully with licensed application present ( eg. Adobe reader 14) ?
    Yes you can do that, add the application in the TS. But I haven’t tried that option.

  4. Hi,
    i have an .wim with W10 1703, i want to update my image with 1909, can i deploy my actual image, suspend the capture, upgrade W10 and resume the capture?
    i see you have one deploymentshare per version, but i have invested a lot of time in my first image, is there a limitation to upgrade W10 while the capture is suspended?
    Thanks

  5. Thanks for a great article about MDT. Do you have an article which covers about Preparing a Windows 10 1909 golden image ?

LEAVE A REPLY

Please enter your comment!
Please enter your name here

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