MDT allows for two types of Boot Images. The first is LiteTouchPE. This is the primary Boot Image, and it is what everyone uses for imaging computers. The secondary Boot Image is called Generic. If you build one, you will have a Command Prompt. Close the Command Prompt and your computer will reboot.
Now back to the templates. What we just did was to enable the creation of the Generic Boot Image. We are not going to update the Deployment Share yet, so hold tight.
So here is how it works. Let's assume we build a new LiteTouchPE Boot Image from scratch. To determine what is installed in LiteTouchPE, MDT will gather information from the MDT Template LiteTouchPE.xml first. This is the baseline. On a standard installation, this file will exist at:
C:\Program Files\Microsoft Deployment Toolkit\Templates\LiteTouchPE.xml
Here is what the standard MDT 2012 Update 1 LiteTouchPE.xml looks like. Look it over. If you have built a LiteTouchPE Boot Image, then you should recognize this content. These are the base Deployment Scripts.
The Components Group contains the Feature Packs (WinPE OC's). By default we see that the following are installed on every LiteTouchPE Boot Image:
winpe-hta
winpe-scripting
winpe-wmi
winpe-securestartup
winpe-fmapi
In the Deployment Share properties, in the Feature Packs section, we do not have an option to install these components. That is because they are identified in here already, so there is no need to give you the option to install these Feature Packs as they are installed by default. Don't worry, I will a another write up on Feature Packs soon.
The Driver and Packages Group is populated automatically by our Selection Profile. Nothing to hard code in here.
The Content Group contains all the Deployment Scripts and Tools.
The Exits Group contains a section for optional scripts to run when building the Boot Images. This will be covered heavily in a separate post.
Now for a quick peek at the Generic Template. That is called the Generic.xml. Looking at this file it is easy to understand why this Boot Image launches a Command Prompt only. That is because there is almost nothing in this Boot Image.
Replace Generic.xml
Copy C:\Program Files\Microsoft Deployment Toolkit\Templates\LiteTouchPE.xml to LiteTouchPE.xml.default. Now we have two copies of LiteTouchPE.xml. One we can modify, and one we can leave alone.
Rename C:\Program Files\Microsoft Deployment Toolkit\Templates\Generic.xml to Generic.xml.default
Copy C:\Program Files\Microsoft Deployment Toolkit\Templates\LiteTouchPE.xml and rename to Generic.xml
At this point we should have the following Template files:
C:\Program Files\Microsoft Deployment Toolkit\Templates\LiteTouchPE.xml
C:\Program Files\Microsoft Deployment Toolkit\Templates\LiteTouchPE.xml.default
C:\Program Files\Microsoft Deployment Toolkit\Templates\Generic.xml
C:\Program Files\Microsoft Deployment Toolkit\Templates\Generic.xml.default
So at this point, if we were to update our Deployment Share in MDT and Regenerate the Boot Images, then we will have two identical Boot Images for LiteTouchPE and Generic since they are using the LiteTouchPE Templates for both. Keep in mind if we are going to integrate the WinPE Menu in the Generic Boot Image, then this is what we have to do.
Time to stop here for now and move onto Feature Packs in my next post.
No comments:
Post a Comment