MakePE: Integrating a BasePE WIM with MDT

There are two different ways you can integrate MDT with what you have created with MakePE.  In this post I’ll discuss how to use a BasePE WIM within MDT and let MDT handle the Drivers.

Pick the Correct BasePE

This will depend on the version of MDT you are using.  If you are using MDT 2013 Update 1, then you should be on ADK for Windows 10, so you will need WinPE 10.  MDT 2013 uses ADK for Windows 8.1 and WinPE 5.  I did not write in support in MakePE for any other MDT versions, but you should still be able to use WinPE 3 if necessary with similar steps.

If you have built out the WinPE versions that you need then it is as simple as going into MakePE\Builds\WIMBasePE to find them.  On my system I will need WinPE 10 versions.


I can then replace the C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\amd64\en-us\winpe.wim with my WinPE 10 x64 WinRE.wim (please make a backup of the winpe.wim)


I can repeat this process for C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\en-us\winpe.wim with my WinPE 10 x86 WinRE.wim (again, make a backup)


Now you will have to edit your MDT Templates.  Edit C:\Program Files\Microsoft Deployment Toolkit\Templates\LiteTouchPE.xml and remove all the entries between

<Components>. . . .</Components>

because you already added all your Components to WinPE as part of BasePE


Now in MDT, make sure everything is unchecked in Features for both x86 and x64 (again, they are already installed as part of BasePE)


And then update your Deployment Share, selecting to Completely regenerate the Boot Images.


There.  Now you should have MDT fully supported with your Components (and DaRT integration if you have the bits) ready to go.  Now when you have to regenerate your Boot Images in MDT, it will be considerably quicker since it will not have to install the Optional Components anymore.

Now here is what it looks like after being built, but now we have MDT with proper WinRE integration.