<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cluberti.com &#187; Deployment</title>
	<atom:link href="http://www.cluberti.com/blog/category/deployment/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cluberti.com/blog</link>
	<description>Random bits of flair pinned to the internet</description>
	<lastBuildDate>Fri, 06 Jan 2012 03:26:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>MDT for the small(er) guys &#8211; Part 3</title>
		<link>http://www.cluberti.com/blog/2011/06/28/mdt-for-the-smaller-guys-part-3/</link>
		<comments>http://www.cluberti.com/blog/2011/06/28/mdt-for-the-smaller-guys-part-3/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 23:02:13 +0000</pubDate>
		<dc:creator>cluberti</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[MDT]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.cluberti.com/blog/?p=198</guid>
		<description><![CDATA[In part 3 of this series, you’ll be configuring MDT – specifically, you will go about adding Windows 7 SP1 and XP SP3.  You’ll also be adding Office 2010 (with SP1), and handling drivers for both Win7 and XP. &#160; Create and Configure Your Distribution Point The first thing you need to do, of course, [...]]]></description>
			<content:encoded><![CDATA[<p>In part 3 of this series, you’ll be configuring MDT – specifically, you will go about adding Windows 7 SP1 and XP SP3.  You’ll also be adding Office 2010 (with SP1), and handling drivers for both Win7 and XP.</p>
<p>&nbsp;</p>
<h3>Create and Configure Your Distribution Point</h3>
<p>The first thing you need to do, of course, is to create a distribution point.  This is the main structure for deploying, so you need to do this first.  To begin, open the Deployment Workbench from the start menu on your MDT virtual machine:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/001.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/001.png" alt="" /></a></p>
<p>Once the workbench is open, right-click the Deployment Shares folder and select “New Deployment Share” from the menu:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/002.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/002.png" alt="" /></a></p>
<p>The New Deployment Share Wizard will open – you will need to select a local folder to store your deployment files, the folder name, the share to expose from the server, and a few other options.  Here you can see what I’ve chosen for my particular build share (C:\MDT\Build, Build, and Build$ – took the defaults for other options):</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/003.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/003.png" alt="" /></a></p>
<p>Clicking the “Next” and then “Finish” buttons will copy files to your deployment share, and will add your share and it’s contents to the workbench:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/004.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/004.png" alt="" /></a></p>
<p>Right-click the new deployment share folder (in my example, “Build”) and select “Properties”:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/005.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/005.png" alt="" /></a></p>
<p>Next, you will configure the options in the 4 Windows PE tabs to look like the following:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/006.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/006.png" alt="" /></a><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/007.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/007.png" alt="" /></a><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/008.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/008.png" alt="" /></a><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/009.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/009.png" alt="" /></a></p>
<p>These options configure MDT to not add any drivers (yet) to any WinPE images you build to deploy and sets the driver scratch space to 128MB (rather than 32MB) for both the x86 and x64 PE images created with MDT.  Scratch space is the writeable memory that the PE environment can use, and with MDT this is mostly used when dealing with drivers.  Unless you absolutely can’t spare the additional 128MB of RAM on machines you run a PE image on when deploying Windows, set this to 128MB to be safe.</p>
<p>Once you’ve configured the above settings and clicked the “Apply” button, you will want to modify the rules to automate a lot of the build settings that you would otherwise be prompted for.  Since we are assuming (at least for this series of MDT posts) that these builds will be for new Windows installs, there should be no issues with these settings.  As always, feel free to change these as you get comfortable with MDT, and all of the settings in the “Rules” tab (technically, this is just an interface to \Control\CustomSettings.ini in your deployment share) are documented in the MDT 2010 help installed when you installed MDT.  Here is a listing of what I have in my rules tab – feel free to remove what you have in your “Rules” tab and replace with the information listed below:</p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">[Settings]<br />
Priority=ByLaptopType,ByDesktopType,ByServerType,TaskSequenceID,Default<br />
Properties=MyCustomProperty</span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;"> </span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">[Default]<br />
OSInstall=Y</span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;"> </span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">UserID=Administrator<br />
UserDomain=DEMO<br />
UserPassword=Password1</span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;"> </span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">OrgName=Org<br />
FullName=User<br />
AdminPassword=Password1</span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;"> </span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">JoinWorkgroup=WORKGROUP<br />
;JoinDomain=DEMO<br />
;DomainAdmin=Administrator<br />
;DomainAdminDomain=DEMO<br />
;DomainAdminPassword=Password1</span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;"> </span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">_SMSTSORGNAME=Demo Build</span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;"> </span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">;WSUSServer=http://MDT<br />
;SLShare=\\MDT\Build$\Logs</span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;"> </span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">BDEInstallSupporess=YES<br />
;BDEInstallSuppress=NO<br />
;BDEInstall=TPMPin<br />
;BDEKeyLocation=C:<br />
;BDEPin=12345678<br />
;BDERecoveryKey=AD<br />
;BDEWaitForEncryption=FALSE</span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;"> </span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">UILanguage=en-us<br />
UserLocale=en-us<br />
KeyboardLocale=en-us;0409:00000409<br />
TimeZone=035<br />
TimeZoneName=Eastern Standard Time</span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;"> </span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">SkipAdminPassword=YES<br />
SkipApplications=NO<br />
SkipAppsOnUpgrade=NO<br />
SkipBDDWelcome=YES<br />
SkipBitLocker=YES<br />
SkipBitLockerDetails=YES<br />
SkipCapture=YES<br />
SkipComputerName=NO<br />
SkipDomainMembership=YES<br />
SkipFinalSummary=YES<br />
SkipLocaleSelection=YES<br />
SkipPackageDisplay=YES<br />
SkipProductKey=YES<br />
SkipSummary=YES<br />
SkipTaskSequence=NO<br />
SkipTimeZone=YES<br />
SkipUserData=YES</span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;"> </span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">UserDataLocation=NONE<br />
FinishAction=RESTART</span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;"> </span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">[ByLaptopType]<br />
Subsection=Laptop-%IsLaptop%</span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;"> </span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">[Laptop-True]<br />
OSDComputerName=LAPTOPCHANGEME</span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;"> </span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">[ByDesktopType]<br />
Subsection=Desktop-%IsDesktop%</span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;"> </span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">[Desktop-True]<br />
OSDComputerName=DESKTOPCHANGEME</span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;"> </span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">[ByServerType]<br />
Subsection=Server-%IsServer%</span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;"> </span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">[Laptop-True]<br />
OSDComputerName=SERVERCHANGEME</span></p>
<p><span style="color: #2c2b2b; background-color: #ffffff;"> </span></p>
<p><span style="color: #2c2b2b; background-color: #ffffff;">Next, click the “Bootstrap.ini” button, and add the following lines below the “Deployroot” line (unlike the “Rules” tab where you replaced, in bootstrap.ini you need to add to what already exists – otherwise, deployment will behave…. oddly):</p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">SkipBDDWelcome=YES</span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;"> </span></p>
<p><span style="font-family: Times New Roman; font-size: xx-small;">UserID=Administrator<br />
UserDomain=DEMO<br />
UserPassword=Password1</span></p>
<p>Once you’ve made these changes, save and close the Bootstrap.ini file, then click the “Apply” button.  Once you’ve made these changes, your “Rules” tab and Bootstrap.ini files should look like this:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/010.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/010.png" alt="" /></a></p>
<p>&nbsp;</p>
<p></span></p>
<p>&nbsp;</p>
<p>The above settings will automate most everything, including setting the time zone, keyboard locale for EN-US, setting the computer’s Administrator account password, and a few other things.  You should only be prompted for a computer name and which applications to install when this is finished using these settings.  Click the “OK” button to close the Build Properties window, making sure to also save the Bootstrap.ini file.</p>
<p>&nbsp;</p>
<h3>Add Applications</h3>
<p>The next thing to do, once this portion is completed, is to actually add some applications to the workbench.  To do this, click on the &#8220;Applications” folder in your deployment share, and select “New Application”.  It will bring up the New Application Wizard, which prompts you to select application type:</p>
<p>&nbsp;</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/011.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/011.png" alt="" /></a></p>
<p>Select “Application with source files”, and click the “Next” button.  Enter details about the application, and click the “Next” button again:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/012.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/012.png" alt="" /></a></p>
<p>Point the wizard at your Office 2010 DVD or ISO (you will need to acquire this from your VL site, MSDN/Technet subscription, or your retail DVD set you got from the store) when prompted for the source, enter the name (you will see this name during installation in the progress dialog), and enter the command line used to install the application (in this case, for Office 2010, it is simply “setup.exe” minus the quotes).  Click the “Next” button twice at this point to begin the file copy from the Office 2010 installation source to the deployment share, and then click the “Finish” button when that completes.  Your Applications folder should now look something like this:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/013.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/013.png" alt="" /></a></p>
<p>Double-click the new Office 2010 Application item, and click the “Office Products” tab.  Select the version of Office from the “Office product to install” box, check the “Customer Name” box (and enter a value), check the “Display Level” box (and select a value – I choose “Basic”), and click the “Accept EULA” box:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/014.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/014.png" alt="" /></a></p>
<p>Click the “OK” button to save the data.  If you look on the “Details” tab at this point, the command line should now read “setup.exe /config &lt;Version.WW&gt;\config.xml”:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/015.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/015.png" alt="" /></a></p>
<p>Repeat the import of all other applications you want to be available in your deployments.  Once you’ve added the applications you want to add (the more unattended/silent installations you can use here, rather than attended installations, the better), move along.</p>
<p>&nbsp;</p>
<h3>Add Operating Systems</h3>
<p>Now, you will add our Windows 7 SP1 and XP SP3 installation sources.  To do so (again, you will need your Windows 7 SP1 and Windows XP SP3 installation DVD or sources available for this), right-click on the “Operating Systems” folder in the deployment share, and select “New Folder”.  Create a Windows 7 folder, and then repeat and create a Windows XP folder – you may also want to create x86 and x64 subfolders for any operating systems you deploy both of (I’ve done this for Windows 7 in my share, but I only deploy XP x86, so I did not do this for XP).  You should end up with something like this:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/016.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/016.png" alt="" /></a></p>
<p>Next, import each operating system’s source files into the appropriate folders.  To do so, you would right-click on the folder you wish to store the Windows sources in and select “Import Operating System” (again, for Windows 7 in my example, I’m right-clicking on the \Windows 7\x86 or \x64 folder depending on whether the Win7 Enterprise source is x86 or x64):</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/017.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/017.png" alt="" /></a></p>
<p>When the Import Operating System Wizard appears, select the “Full set of source files” option, and click the “Next” button.  Browse to the location of your Windows 7 installation source (again, in my example, the Windows 7 Enterprise x86 ISO mounted to the virtual machine’s DVD drive), and click the “Next” button.  Give the destination directory a name when prompted – I prefer the format “&lt;architecture&gt; &lt;Windows Version&gt; &lt;SKU&gt; &lt;Service Pack&gt;”.  So, for this import of x86 Win7 Enterprise SP1, I used the folder name “x86 Windows 7 Enterprise SP1”:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/018.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/018.png" alt="" /></a></p>
<p>Click the “Next” button twice to begin the file copy of the Windows source to your distribution share, and then click the “Finish” button when the process completes.  Repeat the steps above for each version of Windows 7, Vista, XP, Server 2003, Server 2008, or Server 2008 R2 you want – it’s up to you what’s in here, and what’s not.  Again, for this example I’m just doing Windows 7 Enterprise and XP Professional SP3, but you are by no means limited to these.  Once your OSes are imported, move along.</p>
<p>&nbsp;</p>
<h3>Driver Management / Add Drivers</h3>
<p>After you’ve imported your operating systems, the next thing to tackle is drivers.  Given that most deployment issues seem to come down to drivers, making sure that only the drivers you need get added to the system as it is deployed is important.  By default, most new MDT users tend to simply add all drivers to the Out Of Box Drivers folder and pray that Windows does a good job of PnP detection and device matching on the drivers in this store (which it usually does, thankfully).  However, this is not a very good method of driver management, and can slow down deployment time as PnP detection runs against a long list of drivers, most of which it isn’t likely to apply.  There are better ways, and Microsoft’s official stance suggests using something called a “Selection Profile”.  While I like this approach for drivers that you want to add to Windows PE, it makes less sense for regular OS installs via task sequences, especially if you start adding a lot of drivers for a lot of different computer hardware.  Instead, I (strongly) recommend using “Make\Model” driver management as espoused by many deployment gurus out there, including Johan Arwidmark in <a href="http://www.deployvista.com/Default.aspx?tabid=78&amp;EntryID=132" target="_blank">his blog</a> (see Scenario #3, “Total Control”).</p>
<p>&nbsp;</p>
<p>Basically, you would create a folder structure following the Make and Model of the hardware you’re deploying Windows to, with subfolders under this Make\Model path for differing Windows versions and architectures.  For example, for an HP EliteBook 8540w, you would have a folder under the Out-of-Box Drivers folder called “Hewlett-Packard” (the “Make”).  Then, under that folder you would have another called “EliteBook 8540w&#8221; (the “Model”).  There is a rhyme and reason to this folder structure – it can be gathered from a command prompt with the command wmic csproduct get name,vendor which produces output similar to this:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/019.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/019.png" alt="" /></a></p>
<p>You will see that the “Vendor” string is used as the “Make” folder, and the “Name” string is used as the “Model” folder.  If you follow this pattern (there’s a trick with Lenovo machines I’ll mention later), this will make it very easy to add new machines to your MDT deployment share without modification to your task sequences (read: make your job easier).</p>
<p>To add drivers for specific hardware to your deployment share, create the appropriate folder structure (again, in this guide I’m using the HP EliteBook 8540w machine as an example) by right-clicking on the Out-of-Box Drivers folder and selecting “New Folder” – name the folder according to the Make and Model nonclemature I’ve just outlined above for the machine / hardware you are adding, so that you end up with something that looks like this:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/020.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/020.png" alt="" /></a></p>
<p>Next, right-click the “Model” folder (in this example, the “EliteBook 8540w” folder) and select “Import Drivers” to begin the driver import process.  Browse to the location of your downloaded drivers (this can be extracted .inf drivers or .cab file driver archives – this will NOT work on drivers in an .exe package, you will have to find a way to extract these manually, or install these as applications later on during task sequencing) when prompted, and click the “Next” button twice to begin the driver import process:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/021.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/021.png" alt="" /></a></p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/022.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/022.png" alt="" /></a></p>
<p>Note that you may see some “yellow” warning items as the driver import progresses – this is normal, and unless there’s a problem during your testing of these drivers later, can be safely ignored (MDT is trying to determine if a driver actually supports the platform it’s INF file says it does during this import process, and any driver that doesn’t match up will have the architecture it doesn’t actually properly support documented here in a warning line item that is colored yellow).  Once the driver import process completes with no errors (again, warnings OK, but not errors), click the “Finish” button to close the driver import wizard.</p>
<p>If all went OK, you should see something like this in that model’s driver folder:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/023.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/023.png" alt="" /></a></p>
<p>Repeat this for every hardware make and model you expect to support.  Note that Dell makes this fairly easy, because it provides <a href="http://www.delltechcenter.com/page/Dell+Business+Client+Operating+System+Deployment+-+The+.CAB+Files" target="_blank">driver .cab files</a> for System Center Configuration Manager for quite a few of it’s models – these can be downloaded as-is and imported into MDT too.  Simply download the Dell .cab file for your model, create the appropriate folder structure in the Out-of-Box Drivers folder, and import the drivers.</p>
<p>&nbsp;</p>
<h3>Task Sequencing</h3>
<p>Once you’ve imported drivers, you will create the Task Sequences needed to deploy the operating systems, applications, and drivers added to the deployment share.  Think of Task Sequences as the brains of the deployment – a Task Sequence is simply a list of steps that the deployment will take, in order, to do things like format drive(s), install a version of Windows, inject drivers, install applications, etc.  To create a new Task Sequence, right-click the Task Sequences folder in your deployment share and select “New Task Sequence”.  When prompted, provide a Task sequence ID (this string will be used to allow MDT to refer to this Task Sequence internally), and provide a Task sequence name (this string will be what shows up in the wizard to choose as an installation option):</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/024.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/024.png" alt="" /></a></p>
<p>Click the “Next” button, select “Standard Client Task Sequence” for client operating systems you deploy (choose the “Standard Server Task Sequence for server OSes, obviously), browse to and select the version of Windows you are going to deploy via this Task Sequence, choose whether or not you want to specify a product key for the version of Windows that you are installing with this task sequence (I choose not to, for this example), provide a user and organization name for the computers built via this Task Sequence, choose whether or not to specify an Administrator password (since our “Rules” specify a password, I choose not to do so in the task sequence), and then click the “Next” button and “Finish” buttons in that order to finish creation of the Task Sequence.  You should end up with something like this:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/025.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/025.png" alt="" /></a></p>
<p>Right-click your newly-created Task Sequence, and select “Properties”.  Then, click the “Task Sequence” tab – this tab contains all of the steps that the sequencer will take when installing this operating system to a new computer via this Task Sequence.  Feel free to peruse a bit before continuing if you’ve never seen this before.  Once you are done perusing, we need to make a few changes.  First, we need to modify the “Gather local only” task under the “Initialization” group, making sure to select the “Gather local data and process rules” radio button, and entering the string “customsettings.ini” (minus the quotes, of course) into the box provided:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/026.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/026.png" alt="" /></a></p>
<p>Next, we need to modify the drivers section of the “Preinstall” group.  First, we need to add a new “Set task sequence variable” step to the “Preinstall” group, right below the “Configure” step.  Click on the “Configure” step under the “Preinstall” group, then click Add &gt; General &gt; Set Task Sequence Variable from the menu bar to add a new item:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/027.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/027.png" alt="" /></a><br />
<a href="http://www.cluberti.com/images/MDT_small_guy/Part3/028.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/028.png" alt="" /></a></p>
<p>Now, you need to fill out the Task Sequence Variable name, as well as the Value you want to assign to it:<br />
Task Sequence Variable:  <span style="font-family: Times New Roman; font-size: x-small;">DriverGroup001<br />
</span>Value:  <span style="font-family: Times New Roman; font-size: x-small;">%MAKE%\%MODEL%\Windows 7</span></p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/029.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/029.png" alt="" /></a></p>
<p>Next, you need to change the existing “Inject Drivers” step so that the “Choose a selection profile” drop-down box is set to “Nothing”:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/030.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/030.png" alt="" /></a></p>
<p>You now have a Task Sequence to deploy a version of Windows, applications, and apply drivers based on the hardware model and what you have for that hardware in your driver store.  If you want to create task sequences for other operating systems you’ve added to your Operating Systems folder, go back and repeat these steps for each OS.  Once done, move along.</p>
<p>&nbsp;</p>
<h3>Create Boot Images</h3>
<p>The last bit necessary to actually deploy Windows using the Task Sequence(s) you created, you will need to update the deployment share and move the WIM files created when doing so into WDS.  To do this, right-click on the deployment share folder itself, and select “Update Deployment Share”:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/031.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/031.png" alt="" /></a></p>
<p>From the Update Deployment Share Wizard, select the “Optimize the boot image updating process”, and click the “Next” button (twice) to begin creation of the boot images:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/032.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/032.png" alt="" /></a></p>
<p>This will build both the x86 and x64 boot images.  Once the process is complete. press the “Finish” button.</p>
<p>&nbsp;</p>
<h3>Windows Deployment Services Configuration</h3>
<p>Now, you need to add the boot images just created to WDS so that clients can boot to the network and build.  To do so, open the Windows Deployment Services console from Start &gt; All Programs &gt; Administrative Tools &gt; Windows Deployment Services.  Once the WDS console starts, expand the Servers node, right-click on the server in the list, and choose “Configure Server” to start the configuration wizard.  Click the “Next” button, select a folder for WDS to store the boot images (do NOT select the same folder as the MDT Deployment Share), select the radio button “Respond to all client computers (known and unknown)”, and click the “Next” button to finish the configuration.  When prompted to add images at the end, uncheck the “Add images to the server now” box and press the “Finish” button.</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/033.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/033.png" alt="" /></a><br />
<a href="http://www.cluberti.com/images/MDT_small_guy/Part3/034.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/034.png" alt="" /></a><br />
<a href="http://www.cluberti.com/images/MDT_small_guy/Part3/035.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/035.png" alt="" /></a><br />
<a href="http://www.cluberti.com/images/MDT_small_guy/Part3/036.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/036.png" alt="" /></a></p>
<p>Now, you will need to add the boot images.  Right-click on the “Boot Images” folder and select “Add Boot Image…”:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/037.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/037.png" alt="" /></a></p>
<p>Browse to the \Boot folder inside your deployment share, and select the x86 or x64 LiteTouch boot WIM file to add to the WDS Boot Images folder:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/038.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/038.png" alt="" /></a></p>
<p>Once you’ve clicked the “Open” button to add the selected boot WIM file, click the “Next” button, provide a boot image name (this is what you will see in the WDS boot menu when you PXE boot a client), click the “Next” button twice, and click the “Finish” button once adding the boot WIM file completes.  Repeat these steps to add the other boot image, then continue:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/039.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/039.png" alt="" /></a></p>
<p>&nbsp;</p>
<h3>Testing the Deployment</h3>
<p>Now, to test your deployment, create a new virtual machine to be used as a client, using the same steps as you used to create virtual machines in <a href="http://www.cluberti.com/blog/2011/06/23/mdt-for-the-smaller-guys-part-1/" target="_blank">Part 1</a> and <a href="http://www.cluberti.com/blog/2011/06/23/mdt-for-the-smaller-guys-part-2/" target="_blank">Part 2</a> <strong>except for <span style="font-size: xx-small;"><em>*one setting*</em></span></strong> – when you get to the “Installation Options” pane of the wizard, you need to select the “Install an <span style="color: #2c2b2b; background-color: #ffffff;">operating system from a network-based installation server”:</span></p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/040.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/040.png" alt="" /></a></p>
<p>Once your client virtual machine is built, you can boot it and press F12 when prompted to boot to the network, select a boot image, and start building!</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/041.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/041.png" alt="" /></a><a href="http://www.cluberti.com/images/MDT_small_guy/Part3/042.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/042.png" alt="" /></a><br />
<a href="http://www.cluberti.com/images/MDT_small_guy/Part3/043.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/043.png" alt="" /></a><br />
<a href="http://www.cluberti.com/images/MDT_small_guy/Part3/044.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/044.png" alt="" /></a><br />
<a href="http://www.cluberti.com/images/MDT_small_guy/Part3/045.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/045.png" alt="" /></a><br />
<a href="http://www.cluberti.com/images/MDT_small_guy/Part3/046.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/046.png" alt="" /></a><br />
<a href="http://www.cluberti.com/images/MDT_small_guy/Part3/047.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/047.png" alt="" /></a><br />
<a href="http://www.cluberti.com/images/MDT_small_guy/Part3/048.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/048.png" alt="" /></a><br />
<a href="http://www.cluberti.com/images/MDT_small_guy/Part3/049.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/049.png" alt="" /></a><br />
<a href="http://www.cluberti.com/images/MDT_small_guy/Part3/050.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/050.png" alt="" /></a><br />
<a href="http://www.cluberti.com/images/MDT_small_guy/Part3/051.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/051.png" alt="" /></a><br />
<a href="http://www.cluberti.com/images/MDT_small_guy/Part3/052.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/MDT_small_guy/Part3/052.png" alt="" /></a></p>
<p>&nbsp;</p>
<p>I hope this has been a useful primer for those of you looking to use MDT 2010 to deploy Windows – either from a home user/small business/OEM perspective on upwards to small and medium-sized businesses.  If you have questions or issues, please let me know in the comments.</p>
<!-- AdSense Now! V2.00 -->
<!-- Post[count: 2] -->
<div class="adsense adsense-leadout" style="text-align:center;margin: 12px;"> <!-- Begin BidVertiser code -->
<SCRIPT LANGUAGE="JavaScript1.1" SRC="http://bdv.bidvertiser.com/BidVertiser.dbm?pid=229404&bid=854878" type="text/javascript"></SCRIPT>
<noscript><a href="http://www.bidvertiser.com">affiliate program</a></noscript>
<!-- End BidVertiser code --> </div>]]></content:encoded>
			<wfw:commentRss>http://www.cluberti.com/blog/2011/06/28/mdt-for-the-smaller-guys-part-3/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>MDT for the small(er) guys &#8211; Part 2</title>
		<link>http://www.cluberti.com/blog/2011/06/23/mdt-for-the-smaller-guys-part-2/</link>
		<comments>http://www.cluberti.com/blog/2011/06/23/mdt-for-the-smaller-guys-part-2/#comments</comments>
		<pubDate>Fri, 24 Jun 2011 00:49:41 +0000</pubDate>
		<dc:creator>cluberti</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[MDT]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.cluberti.com/blog/2011/06/23/mdt-for-the-smaller-guys-part-2/</guid>
		<description><![CDATA[In part 2 of this series, you will be creating a second virtual machine which will be used to install and configure MDT for deploying Windows and applications.&#160; I’ll dive right into creating a virtual machine for your MDT server, which will be very much the same as creating the virtual machine for your domain [...]]]></description>
			<content:encoded><![CDATA[<p>In part 2 of this series, you will be creating a second virtual machine which will be used to install and configure MDT for deploying Windows and applications.&#160; I’ll dive right into creating a virtual machine for your MDT server, which will be very much the same as creating the virtual machine for your domain controller in <a href="http://www.cluberti.com/blog/2011/06/23/mdt-for-the-smaller-guys-part-1/" target="_blank">part 1</a>.</p>
<p>&#160;</p>
<h3>Create a Virtual Machine for your MDT server</h3>
<p>In the Hyper-V Manager, click Action &gt; New &gt; New Virtual Machine to bring up the New Virtual Machine wizard.&#160; On the first page, give the new VM a name that will show up in the Hyper-V console (I chose “MDT”), and click the “Next” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/001.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/001.png" /></a></p>
<p>Next, give the virtual machine some RAM – I chose 2GB – then click the “Next” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/002.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/002.png" /></a></p>
<p>Attach the VM to the network you created earlier from the drop-down list (you can see my “Internal” network chosen here), and then click the “Next” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/003.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/003.png" /></a></p>
<p>Choose to “Attach a virtual hard disk later”, and click the “Finish” button (clicking “Next” will give you a summary, where you will then click “Finish”):</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/004.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/004.png" /></a></p>
<p>You should now see your newly-created virtual machine in the Hyper-V Manager:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/005.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/005.png" /></a></p>
<p>With your VM highlighted, click Action &gt; Settings to bring up the VM settings window. Click “Processor” and change the number of logical processors to “2”, and then click “IDE Controller 0”:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/006.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/006.png" /></a></p>
<p>Select “Hard Drive” in the right-hand pane, and click the “Add” button to bring up the New hard drive window:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/007.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/007.png" /></a></p>
<p>Click the “New” button, select “Differencing”, and click the “Next” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/008.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/008.png" /></a></p>
<p>Give the new VHD a file name (I called it “MDT.vhd” here), and click the “Next” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/009.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/009.png" /></a></p>
<p>Point the wizard at your “parent” VHD (either the 2008 R2 trial VHD you downloaded and extracted from the hyperlink I gave in Part 1, or another sysprep-ed 2008 R2 VHD you already had) and click the “Finish” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/010.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/010.png" /></a></p>
<p>You should now have your MDT virtual machine configured with a new hard disk and 2 processors, as seen below. Click the “OK” button to finish and return to the Hyper-V Manager:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/011.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/011.png" /></a></p>
<p>&#160;</p>
<h3>Configure the Virtual Machine to be your MDT server</h3>
<p>Double-click the new MDT virtual machine you see in Hyper-V Manager to open it in the Virtual Machine Connection viewer, and click the green “Start button” (or Action &gt; Start) to start the virtual machine. If everything went well, it should boot up and complete the end of setup (installing devices, etc). During this setup phase, you may be asked to enter a product key (don’t, just click the “Skip” button) and agree to a EULA license (do):</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/012.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/012.png" /></a></p>
<p>If something is wrong here, go back and retrace your steps to make sure you haven’t missed anything. If you are using the downloaded VHD from Microsoft, this step may not be necessary. This is normal if it boots directly into Windows.</p>
<p>&#160;</p>
<p>Once the machine does finish setup and boots for the first time (if you have downloaded and are using the trial VHD from Microsoft, the administrator password is <span style="font-family: times new roman; font-size: x-small;">Pass@word1</span>), you can login with the Administrator account and begin readying it to handle MDT and deployment duties:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/013.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/013.png" /></a></p>
<p>In the Initial Configuration Tasks window that will open once you log in, click the “Provide computer name and domain” link, and then click the “Change” button.&#160; Enter a computer name for your domain controller in the “Computer name” box (again, I used “MDT”), and click the “OK” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/014.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/014.png" /></a></p>
<p>Click “OK” again when prompted that you will need to reboot, and then click the “Close” button.&#160; Click the “Restart now” button when prompted to restart the virtual machine.</p>
<p>At this point, you will probably want to reserve the MDT server an IP address, and you will need to install the WDS role.</p>
<p>To configure a reservation in DHCP for the MDT server, open your DC virtual machine, log in if necessary, and open the DHCP console from Start &gt; All Programs &gt; Administrative Tools.&#160; Expand the IPv4 node, expand the scope, and click on the Address Leases item:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/015.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/015.png" /></a></p>
<p>You should see a lease listed for the MDT server (in my case, “MDT.demo.local”.&#160; Right-click on this lease item, and select “Add to Reservation”:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/016.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/016.png" /></a></p>
<p>Click the “OK” button when receiving a prompt that the lease has been converted to a reservation successfully:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/017.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/017.png" /></a></p>
<p>You should now see a new reservation for the MDT server in the DHCP console:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/018.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/018.png" /></a></p>
<p>Now that your MDT server has a DHCP lease, go back to the MDT virtual machine and log on as Administrator.&#160; Once logged on and the Initial Configuration Tasks window appears, click the “Provide computer name and domain” link, and then click the “Change” button.&#160; Select the “Domain” radio button, and enter the domain name (in my example, <span style="font-family: times new roman; font-size: x-small;">demo.local</span>), and click the “OK” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/019.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/019.png" /></a></p>
<p>Enter the domain Administrator account and password information in the boxes provided, and click the “OK” button to join the MDT server to the domain:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/020.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/020.png" /></a></p>
<p>Click the “OK” button when prompted that the server has joined the domain successfully:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/021.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/021.png" /></a></p>
<p>Click the “OK” button, then the “Close” button, and restart the computer when prompted to finish the domain join process.</p>
<p>Once the virtual machine reboots, click the “Switch User” button, then click “Other User”:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/022.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/022.png" /></a></p>
<p>Enter the domain Administrator user account and password in the boxes provided (the user account should be entered in the form of DOMAIN\Administrator – in my lab, this equates to <span style="font-family: times new roman; font-size: x-small;">DEMO\Administrator</span> as seen in the screenshot below), and press ENTER or click the blue arrow to log into the domain as the domain Administrator:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/023.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/023.png" /></a></p>
<p>Once logged in and after the Initial Configuration Tasks window appears, click the “Add roles” link to bring up the Add Roles Wizard:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/024.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/024.png" /></a></p>
<p>Click the “Next” button, select the “Windows Deployment Services” role, and click the “Next” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/025.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/025.png" /></a></p>
<p>Click “Next”, accept the default options that has the “Deployment Server” and “Transport Server” role services selected, click the “Next” button, and then click the “Install” button to begin installation of WDS:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/026.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/026.png" /></a></p>
<p>If everything went well, you should see the installation report as successful – click the “Close” button to finish:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/027.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/027.png" /></a></p>
<p>&#160;</p>
<p>Next, you need to actually install the Windows 7 Automated Installation Kit (WAIK) and MDT 2010 Update 1.&#160; You can download the WAIK and MDT 2010 Update 1 from the links below:    <br /><a title="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=5753" href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=5753">http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=5753</a>    <br /><a title="http://www.microsoft.com/download/en/details.aspx?displayLang=en&amp;id=25175" href="http://www.microsoft.com/download/en/details.aspx?displayLang=en&amp;id=25175">http://www.microsoft.com/download/en/details.aspx?displayLang=en&amp;id=25175</a></p>
<p>The WAIK is a (very large) ISO download, so be prepared for a long download, even on a fast connection.&#160; As to the MDT 2010 download, you will need the x64 installation MSI package.</p>
<p>&#160;</p>
<h3>Install the WAIK and MDT</h3>
<p>Once the download of both files is complete, mount the WAIK ISO to your MDT virtual machine by clicking Media &gt; DVD Drive &gt; Insert Disk… in the virtual machine connection window for the MDT virtual machine.&#160; Browse to and select the ISO you downloaded, and click the “Open” button.&#160; This will mount the ISO to the VM.&#160; Autoplay should come up, and present you with a menu that looks like this:</p>
<p>&#160;&#160;
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/028.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/028.png" /></a></p>
<p>Select the “Run StartCD item”, and the Windows 7 Automated Installation Kit wizard should appear.&#160; Click the “Windows AIK Setup” link to begin setup of the WAIK:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/029.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/029.png" /></a></p>
<p>Click the “Next” button, click the “I Agree” radio button and click the “Next’” button (three times) to begin the installation:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/030.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/030.png" /></a></p>
<p>Click the “Close’ button to finish the installation.</p>
<p>&#160;</p>
<p>Next, you will need to install MDT, which means getting the installation MSI package into the VM.&#160; I use <a href="http://isorecorder.alexfeinman.com/W7.htm" target="_blank">ISO Creator 3.1</a> (64-bit version) on my Hyper-V machines to turn folders into ISOs (which can then be mounted into Hyper-V VMs) – after you install ISO Recorder to your Hyper-V server, you can place the MDT installation MSI file into a folder, right-click on that folder, and select “Create ISO image file”.&#160; This will bring up the ISO Recorder wizard:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/031.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/031.png" /></a></p>
<p>Select “CD” from the “Image format” drop-down box, and click the “Next” button to create the ISO.&#160; Click the “Finish” button when complete.</p>
<p>&#160;</p>
<p>At this point, you should now have an ISO file that you can mount to the MDT virtual machine via Media &gt; DVD Drive &gt; Insert Disk… from the virtual machine connection window.&#160; Once the ISO file is mounted, browse into the mounted CD in the MDT VM, and run the x64 MSI file to start the MDT installation:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/032.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/032.png" /></a></p>
<p>Click the “Next” button, click the “I accept the terms…” checkbox, click the “Next” button (twice), and click the “Install” button to begin the installation:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part2/033.png"><img style="margin: 5px;" alt="" src="http://www.cluberti.com/images/MDT_small_guy/Part2/033.png" /></a></p>
<p>Click the “Finish” button to complete the installation.</p>
<p>&#160;</p>
<p>At this point, you should now have both a domain controller and a server in your lab running MDT and WDS.&#160; <a href="http://www.cluberti.com/blog/2011/06/28/mdt-for-the-smaller-guys-part-3/" target="_blank">Part 3</a> of this series covers adding the necessary operating system and application files, drivers, and the task sequences to deploy these.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cluberti.com/blog/2011/06/23/mdt-for-the-smaller-guys-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MDT for the small(er) guys &#8211; Part 1</title>
		<link>http://www.cluberti.com/blog/2011/06/23/mdt-for-the-smaller-guys-part-1/</link>
		<comments>http://www.cluberti.com/blog/2011/06/23/mdt-for-the-smaller-guys-part-1/#comments</comments>
		<pubDate>Thu, 23 Jun 2011 04:46:04 +0000</pubDate>
		<dc:creator>cluberti</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[MDT]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.cluberti.com/blog/2011/06/23/mdt-for-the-smaller-guys-part-1/</guid>
		<description><![CDATA[After writing a piece about MDT and installation from a USB key, I’ve gotten a steady stream of requests for a more in-depth piece on the actual installation of MDT, how I recommend it be configured, and some tips and tricks about managing it for a smaller organization, or a small (non-royalty) OEM, or even [...]]]></description>
			<content:encoded><![CDATA[<p>After writing a piece about <a href="http://www.cluberti.com/blog/2009/08/10/mdt-2010-and-deployment-from-a-usb-key/" target="_blank">MDT and installation from a USB key</a>, I’ve gotten a steady stream of requests for a more in-depth piece on the actual installation of MDT, how I recommend it be configured, and some tips and tricks about managing it for a smaller organization, or a small (non-royalty) OEM, or even how it can be used in an environment for building machines for friends or relatives in machines someone might be stuck supporting.  With that in mind, I’ve gone ahead and rebuild my lab (as promised earlier this year), and taken some screenshots to go along with this post.  I will cover the installation of the WAIK, MDT 2010 Update 1, and DHCP and Windows Deployment Services (for those with a domain, as WDS requires a domain to work properly).  I think it’s worth noting that nothing I post here is specifically exclusive to this site, and most of what I’m putting together here has probably been posted on and/or discussed at length all over the internet.  I’m just putting together a beginning to end document for those who are looking for a one-stop shop to at least get started, and are willing to try some of the more advanced stuff on their own.</p>
<p>In this part, I am going to (very quickly) review installation of the servers and the Windows Active Directory domain services required to follow the rest of this guide.  This is not really the gist of this series, but given that it is required to follow the rest of the guide, I thought it might be important to have a quick review of my (admittedly small) lab environment just in case some of the readers of this guide need help with this particular part of the setup.  If you already know how to build (or already have at your disposal) a Windows domain and a second server to handle the other roles, you can skip Part 1 and go to Part 2, where we actually install MDT, the WAIK, and WDS.</p>
<p>Suffice to say, you will need a Windows domain to follow this guide, meaning you will need at least a domain controller.  This guide will be done in a Hyper-V environment, with two virtual servers – one domain controller running DHCP, DNS, and Active Directory, and one server (joined to this domain) running Windows Deployment Services and Windows Server Update Services (WSUS) that we will use to install MDT and the WAIK, and use as our “build” machine.  This part covers the first half of that equation, installing Active Directory domain services, DHCP, and DNS into a Hyper-V server running on Windows Server 2008 R2 and Hyper-V – note that you could also do this in VMWare, or VirtualBox, or VirtualPC, or any other such virtual environment.  I’m using Hyper-V because that’s what I use in my lab, it’s fast, and Windows 7 and 2008 R2 already include all of the drivers and files necessary to run properly in this environment without installing any additional extensions or additions.  To each his or her own, I use Hyper-V.</p>
<p>I am not going to go over installing Server 2008 R2 or Hyper-V on the server itself, as if you aren’t capable of downloading the <a href="http://www.microsoft.com/windowsserver2008/en/us/try-it.aspx" target="_blank">trial ISO from Microsoft</a>, or from MSDN, or your Volume Licensing site (etc) and installing Windows Server 2008 R2 from one of these, this guide is probably already going to be touching on concepts that may be a little more complicated than you are ready to tackle just quite yet.  Going forward, I am assuming you have a server (or workstation PC) that you have installed Windows Server 2008 R2 on, and have enabled the Hyper-V role from Server Manager – if you’re using another virtualization solution (or real hardware), modify / ignore / change the instructions below to match your environment as necessary.  I am also assuming you have downloaded the trial VHD for Windows Server 2008 R2 (full edition) from <a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;id=16572" target="_blank">here</a>, and have copied it to the hard disk of the Hyper-V server (you will be using this VHD later as the parent disk for your VMs).</p>
<p>&nbsp;</p>
<h3>Create a Virtual Network</h3>
<p>First, you need to create the virtual network your VMs will use to talk to each other.  Open the Hyper-V Manager console from the Administrative Tools folder in your server’s start menu, and once it is open, click Action &gt; Virtual Network Manager… to bring up the Virtual Network Manager.  Select “New virtual network”, select “Internal”, and click the “Add” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/001.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/001.png" alt="" /></a></p>
<p>Next, give the network a name (I called mine “Internal” as per the screenshot), and click “OK” to create the new network:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/002.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/002.png" alt="" /></a></p>
<p>&nbsp;</p>
<h3>Create a Virtual Machine for your Domain Controller</h3>
<p>Now, you need to create a virtual machine for your domain controller.  Click Action &gt; New &gt; New Virtual Machine to bring up the New Virtual Machine wizard.  On the first page, give the new VM a name that will show up in the Hyper-V console (I chose “DC”), and click the “Next” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/003.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/003.png" alt="" /></a></p>
<p>Next, give the virtual machine some RAM – I chose 2GB – then click the “Next” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/004.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/004.png" alt="" /></a></p>
<p>Attach the VM to the network you created earlier from the drop-down list (you can see my “Internal” network chosen here), and then click the “Next” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/005.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/005.png" alt="" /></a></p>
<p>Choose to “Attach a virtual hard disk later”, and click the “Finish” button (clicking “Next” will give you a summary, where you will then click “Finish”):</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/006.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/006.png" alt="" /></a></p>
<p>You should now see your newly-created virtual machine in the Hyper-V Manager:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/007.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/007.png" alt="" /></a></p>
<p>With your VM highlighted, click Action &gt; Settings to bring up the VM settings window.  Click “Processor” and change the number of logical processors to “2”, and then click “IDE Controller 0”.</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/008.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/008.png" alt="" /></a></p>
<p>Select “Hard Drive” in the right-hand pane, and click the “Add” button to bring up the New hard drive window:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/009.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/009.png" alt="" /></a></p>
<p>Click the “New” button, select “Differencing”, and click the “Next” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/010.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/010.png" alt="" /></a></p>
<p>Give the new VHD a file name (I called it “DC.vhd” here), and click the “Next” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/011.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/011.png" alt="" /></a></p>
<p>Point the wizard at your “parent” VHD (either the 2008 R2 trial VHD you downloaded and extracted from the hyperlink I gave above, or another sysprep-ed 2008 R2 VHD you already had) and click the “Finish” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/012.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/012.png" alt="" /></a></p>
<p>You should now have your domain controller virtual machine configured with a new hard disk and 2 processors, as seen below.  Click the “OK” button to finish and return to the Hyper-V Manager:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/013.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/013.png" alt="" /></a></p>
<p>&nbsp;</p>
<h3>Configure the Virtual Machine to actually BE a Domain Controller</h3>
<p>Double-click the new virtual machine you see in Hyper-V Manager to open it in the Virtual Machine Connection viewer, and click the green “Start button” (or Action &gt; Start) to start the virtual machine.  If everything went well, it should boot up and complete the end of setup (installing devices, etc).  During this setup phase, you may be asked to enter a product key (don’t, just click the “Skip” button) and agree to a EULA license (do):</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/014.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/014.png" alt="" /></a></p>
<p>If something is wrong here, go back and retrace your steps to make sure you haven’t missed anything.  If you are using the downloaded VHD from Microsoft, this step may not be necessary.  This is normal if it boots directly into Windows.</p>
<p>&nbsp;</p>
<p>Once the machine does finish setup and boots for the first time (if you have downloaded and are using the trial VHD from Microsoft, the administrator password is <span style="font-family: Times New Roman; font-size: x-small;">Pass@word1</span>), you can login with the Administrator account and begin configuring it to service your domain:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/015.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/015.png" alt="" /></a></p>
<p>In the Initial Configuration Tasks window that will open once you log in, click the “Provide computer name and domain” link, and then click the “Change” button.  Enter a computer name for your domain controller in the “Computer name” box (again, I used “DC”), and click the “OK” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/016.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/016.png" alt="" /></a></p>
<p>Click “OK” again when prompted that you will need to reboot, and then click the “Close” button.  Click the “Restart now” button when prompted to restart the virtual machine.</p>
<p>Once the virtual machine reboots and you log in as Administrator, you will need to configure a static IP address, install the DHCP and DNS roles, and then install the Active Directory Domain Services role afterwards.</p>
<p>Once logged in, the Initial Configuration Tasks window should open again.  To configure a static IP address from here, click the “Configure networking” link, right-click the “Local Area Connection” network item, and select “Properties” from the list to open the Connection Properties window:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/017.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/017.png" alt="" /></a></p>
<p>Click the “Internet Protocol version 4” item, and click the “Properties” button.  Select the “Use the following IP address” radio button, and enter an IP address for this machine.  Use a non-routable IP address range for this – I prefer something in the 172.16.0.0/16 range, but you can always use something in the 10.0.0.0/8 or 192.168.0.0/24 ranges as well – for the sake of this guide, I’m using 172.31.31.0/24:<br />
IP Address:          <span style="font-family: Times New Roman; font-size: xx-small;">172.31.31.10</span><br />
Subnet Mask:       <span style="font-family: Times New Roman; font-size: xx-small;">255.255.255.0</span><br />
Default Gateway: <span style="font-family: Times New Roman; font-size: xx-small;">(blank)</span></p>
<p>Once your IP address and subnet mask are entered, click the “OK” button, then click the “Close” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/018.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/018.png" alt="" /></a></p>
<p>&nbsp;</p>
<p>Back to the Initial Configuration Tasks window, click the “Add roles” link to bring up the Add Roles Wizard:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/019.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/019.png" alt="" /></a></p>
<p>&nbsp;</p>
<p>Click the “Next” button, then select the “DHCP Server” and “DNS Server” roles:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/020.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/020.png" alt="" /></a></p>
<p>&nbsp;</p>
<p>Click the “Next” button (three times), make sure your network connection is checked, and click the “Next” button again:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/021.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/021.png" alt="" /></a></p>
<p>&nbsp;</p>
<p>Enter a parent domain name for the DHCP server to use (I chose “demo.local”), and enter the static IP address into the “Preferred DNS Server” box that you gave to this virtual machine a few steps earlier, and click the “Next” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/022.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/022.png" alt="" /></a></p>
<p>Make sure that “WINS is not required…” is selected, and click the “Next” button again – this will take you to the Add or Edit DHCP Scopes page.  Click the “Add” button, and then enter the Scope name, the IP range, the lease type, and subnet mask, click the “OK” button to save the changes, and then click the “Next” button:<br />
Scope name:              <span style="font-family: Times New Roman; font-size: xx-small;">demo.local</span><br />
Starting IP Address:  <span style="font-family: Times New Roman; font-size: xx-small;">172.31.31.100</span><br />
Ending IP Address:    <span style="font-family: Times New Roman; font-size: xx-small;">172.31.31.109</span><br />
Subnet type:              <span style="font-family: Times New Roman; font-size: xx-small;">Wireless (lease duration will be 8 hours)</span><br />
Subnet mask:             <span style="font-family: Times New Roman; font-size: xx-small;">255.255.255.0</span><br />
Default Gateway:       <span style="font-family: Times New Roman; font-size: xx-small;">(blank)</span></p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/023.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/023.png" alt="" /></a></p>
<p>Select the “Disable DHCPv6 stateless mode…” radio button, and click the “Next” button.  Then, click the “Install” button to install the roles with the values and configuration you have entered:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/024.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/024.png" alt="" /></a></p>
<p>&nbsp;</p>
<p>If everything went well, you should see the installation report as successful – click the “Close” button to finish:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/025.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/025.png" alt="" /></a></p>
<p>Now, you need to add the “Active Directory Domain Services” role.  From the Initial Configuration Tasks window, click the “Add roles” link to open the Add Roles Wizard.  Click the “Next” button, then select the “Active Directory Domain Services” role, and click the “Add Required Features” button when prompted:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/026.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/026.png" alt="" /></a></p>
<p>Click the “Next” button (twice), then click the “Install” button to install the role:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/027.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/027.png" alt="" /></a></p>
<p>Again, if everything went well, you should see the installation report as successful – click the “Close” button to finish:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/028.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/028.png" alt="" /></a></p>
<p>Note that successful installation of the ADDS role does not actually make the server a domain controller – you must now run dcpromo to finish the setup of the server as a domain controller.  To do so, click start, type <span style="font-family: Times New Roman; font-size: x-small;">dcpromo</span>, and press ENTER to start the dcpromo wizard:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/029.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/029.png" alt="" /></a></p>
<p>Click the “Next” button (twice), then select the “Create a new domain in a new forest” radio button, and click the “Next” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/030.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/030.png" alt="" /></a></p>
<p>Enter the fully-qualified domain name (FQDN) of the forest root domain (again, the same domain name you’ve been using, <span style="font-family: Times New Roman; font-size: xx-small;">demo.local</span>, if you’re following my guide), and click the “Next” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/031.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/031.png" alt="" /></a></p>
<p>Select a Forest functional level of Windows Server 2008 R2 from the drop-down list, and click the “Next” button (twice):</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/032.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/032.png" alt="" /></a></p>
<p>When prompted “A delegation for this DNS server…” appears, click the “Yes” button, then click the “Next” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/033.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/033.png" alt="" /></a></p>
<p>Enter a restore mode password, and click the “Next” button:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/034.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/034.png" alt="" /></a></p>
<p>Click the “Next” button again to begin configuration of the server as a domain controller – click the “Reboot on completion” checkbox to reboot the server when the configuration is complete:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/035.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/035.png" alt="" /></a></p>
<p>Once the server reboots and you log in with the Administrator account (this first reboot after configuration as a domain controller can potentially take some time, so be prepared to wait at the “Applying computer settings” message for a bit if this happens – this is normal), the last step necessary is to Authorize the DHCP server to start giving out DHCP addresses to clients on the network.  To do this, open the DHCP console from the Administrative Tools folder from the All Programs menu in the Start menu.  Once the DHCP console opens, right-click the server object in the left-hand pane, and select “Authorize” from the menu:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/036.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/036.png" alt="" /></a></p>
<p>Wait approximately 5 – 10 seconds, and then press the F5 key to refresh the view.  You should now see that both the IPv4 and IPv6 nodes are now “green”:</p>
<p><a href="http://www.cluberti.com/images/MDT_small_guy/Part1/037.png"><img src="http://www.cluberti.com/images/MDT_small_guy/Part1/037.png" alt="" /></a></p>
<p>&nbsp;</p>
<p>At this point, you now have a domain controller in your lab that is capable of handling DNS and DHCP duties going forward.  The next step is to build a virtual machine for your MDT/WDS/WSUS needs, which I will go over in <a href="http://www.cluberti.com/blog/2011/06/23/mdt-for-the-smaller-guys-part-2/" target="_blank">part 2</a> of this series.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cluberti.com/blog/2011/06/23/mdt-for-the-smaller-guys-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 setup debugging and disconnect on first boot?</title>
		<link>http://www.cluberti.com/blog/2011/05/27/windows-7-setup-debugging-and-disconnect-on-first-boot/</link>
		<comments>http://www.cluberti.com/blog/2011/05/27/windows-7-setup-debugging-and-disconnect-on-first-boot/#comments</comments>
		<pubDate>Fri, 27 May 2011 04:08:46 +0000</pubDate>
		<dc:creator>cluberti</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.cluberti.com/blog/?p=179</guid>
		<description><![CDATA[I&#8217;ve been troubleshooting an issue with Windows 7 setup on a specific hardware model in MDT with a hodge-podge of a particular vendor&#8217;s drivers in the driver store, and I ran into a little issue with Windows 7 setup debugging that I thought I&#8217;d share &#8211; it doesn&#8217;t seem to work right on the first [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been troubleshooting an issue with Windows 7 setup on a specific hardware model in MDT with a hodge-podge of a particular vendor&#8217;s drivers in the driver store, and I ran into a little issue with Windows 7 setup debugging that I thought I&#8217;d share &#8211; it doesn&#8217;t seem to work right on the first try.  It will connect, then almost immediately disconnect the remote debugger.  If you simply leave the debugger running and attached (in my case, to COM1) and restart the debuggee, it reconnects properly the second time.</p>
<p>I still have no idea why this happens or why it&#8217;s so reproducible, but I thought I&#8217;d share.  Oh, if you want to do debugging during setup, simply press F8 before the splash screen and select the debugging option from the Advanced Boot Options menu, similar to what you can do in a full Win7 install.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cluberti.com/blog/2011/05/27/windows-7-setup-debugging-and-disconnect-on-first-boot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 SP1 language packs and MDT 2010 giving errors?</title>
		<link>http://www.cluberti.com/blog/2011/03/12/windows-7-sp1-language-packs-and-mdt-2010-giving-errors/</link>
		<comments>http://www.cluberti.com/blog/2011/03/12/windows-7-sp1-language-packs-and-mdt-2010-giving-errors/#comments</comments>
		<pubDate>Sun, 13 Mar 2011 04:19:26 +0000</pubDate>
		<dc:creator>cluberti</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[MDT]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.cluberti.com/blog/?p=168</guid>
		<description><![CDATA[Seems like Microsoft changed the name of the Language Packs from &#8220;Microsoft-Windows-Client-LanguagePack-Package&#8221; to &#8220;Microsoft-Windows-Client-Refresh-LanguagePack-Package&#8221;.  A small distinction, but huge when MDT or SCCM can&#8217;t find the language pack name!  In MDT, go to the DeploymentShare&#8217;s \Scripts folder, edit &#8220;Deploywiz_Initialization.vbs&#8221;, and go down to line 1101 &#8211; you&#8217;ll see that LPQuery is set to look for [...]]]></description>
			<content:encoded><![CDATA[<p>Seems like Microsoft changed the name of the Language Packs from &#8220;Microsoft-Windows-Client-LanguagePack-Package&#8221; to &#8220;Microsoft-Windows-Client-Refresh-LanguagePack-Package&#8221;.  A small distinction, but huge when MDT or SCCM can&#8217;t find the language pack name!  In MDT, go to the DeploymentShare&#8217;s \Scripts folder, edit &#8220;Deploywiz_Initialization.vbs&#8221;, and go down to line 1101 &#8211; you&#8217;ll see that LPQuery is set to look for only the old Language Pack package name.  Add the new package name, and things will work again (you will have to update any media you&#8217;ve created, of course).</p>
<p>I found this while searching TechNet, here:<br />
<a href="http://social.technet.microsoft.com/Forums/en-US/mdt/thread/5253b2e3-a60e-43a5-921d-a9acc6485d35">http://social.technet.microsoft.com/Forums/en-US/mdt/thread/5253b2e3-a60e-43a5-921d-a9acc6485d35</a></p>
<p>The change should have line 1101 looking like this when you&#8217;re done:<br />
<span style="font-style: italic;">LPQuery = &#8220;PackageType = &#8216;LanguagePack&#8217; and (ProductName = &#8216;Microsoft-Windows-Client-LanguagePack-Package&#8217; or ProductName = &#8216;Microsoft-Windows-Client-Refresh-LanguagePack-Package&#8217;) and substring(ProductVersion,1,7) = &#8216;&#8221; &amp; left(ImgBuild,7) &amp; &#8220;&#8216; and substring(ProductVersion,5,4) &gt;= &#8216;&#8221; &amp; mid(ImgBuild,5,4) &amp; &#8220;&#8216;&#8221;</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cluberti.com/blog/2011/03/12/windows-7-sp1-language-packs-and-mdt-2010-giving-errors/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Disk2VHD, XP, and Hyper-V &#8211; problems installing Integration Components</title>
		<link>http://www.cluberti.com/blog/2010/11/15/disk2vhd-xp-and-hyper-v-problems-installing-integration-components/</link>
		<comments>http://www.cluberti.com/blog/2010/11/15/disk2vhd-xp-and-hyper-v-problems-installing-integration-components/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 21:52:06 +0000</pubDate>
		<dc:creator>cluberti</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.cluberti.com/blog/?p=143</guid>
		<description><![CDATA[After taking a Disk2VHD image of an XP SP3 machine, I noticed that I could not install the Integration Components after copying the VHD to my Hyper-V machine and running the Integration Components setup off vmguest.iso.  It would attempt to upgrade the HAL, tell me I needed to reboot to upgrade the HAL, and then [...]]]></description>
			<content:encoded><![CDATA[<p>After taking a Disk2VHD image of an XP SP3 machine, I noticed that I could not install the Integration Components after copying the VHD to my Hyper-V machine and running the Integration Components setup off vmguest.iso.  It would attempt to upgrade the HAL, tell me I needed to reboot to upgrade the HAL, and then reboot and get to the same place.  If I clicked &#8220;OK&#8221; again to upgrade the HAL, it would reboot &#8211; if I hit &#8220;cancel&#8221;, the installation would fail.</p>
<p>After some fiddling, I figured out that Disk2VHD added the /HAL=halacpi.dll string to boot.ini for the default boot option, whereas the Integration Components setup was trying to upgrade the HAL to an APIC hal (halaacpi.dll).  I changed the boot option in boot.ini to remove the /KERNEL=ntkrpuni.exe string, changed the /HAL=halacpi.dll string to /HAL=halaacpi.dll, and copied halaacpi.dll from sp3.cab on my XP SP3 media to %windir%\system32.  Once I rebooted, the IC&#8217;s installed successfully.  I then went back and removed the /HAL switch from boot.ini entirely and rebooted, and all is well.</p>
<p>Took me 2 hours to figure out, so I figured I&#8217;d post this as usual to hopefully save someone else the time I wasted.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cluberti.com/blog/2010/11/15/disk2vhd-xp-and-hyper-v-problems-installing-integration-components/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>SCCM 2007 client certificate issues with 2008 R2 CA</title>
		<link>http://www.cluberti.com/blog/2010/05/24/sccm-2007-client-certificate-issues-with-2008-r2-ca/</link>
		<comments>http://www.cluberti.com/blog/2010/05/24/sccm-2007-client-certificate-issues-with-2008-r2-ca/#comments</comments>
		<pubDate>Mon, 24 May 2010 16:12:49 +0000</pubDate>
		<dc:creator>cluberti</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.cluberti.com/blog/?p=119</guid>
		<description><![CDATA[Microsoft supports running SCCM 2007 SP2 on a 2008 R2 server, but I&#8217;m doubting whether or not running SCCM 2007 SP2 in Native mode in an environment using a 2008 R2 CA is supported (and if so, there&#8217;s an issue to be aware of).  Specifically, it seems like client certificates created with a 2008 R2 CA [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft supports running SCCM 2007 SP2 on a 2008 R2 server, but I&#8217;m doubting whether or not running SCCM 2007 SP2 in Native mode in an environment using a 2008 R2 CA is supported (and if so, there&#8217;s an issue to be aware of).  Specifically, it seems like client certificates created with a 2008 R2 CA (following the <a href="http://technet.microsoft.com/en-us/library/cc872789.aspx" target="_blank">instructions on Technet</a> for a 2008 CA) do not work by default in SCCM 2007 when running a site in Native mode (you&#8217;ll get MP errors stating that it cannot connect via HTTP, and mpcontrol.log will contain errors that the SAN2 fields have errors).  It seems if you create your 2008 R2 CA with the default Key store provider, the client certificates just do not work.  However, if you create your 2008 R2 CA with the Microsoft Strong cryptography provider (which is the default for 2003 and 2008 CAs), magically the certs created work fine.  If you look at the contents of the certs created between a 2008 and 2008 R2 CA, they &#8220;look&#8221; identical, but something else must be happening I haven&#8217;t dug into yet.</p>
<p>I don&#8217;t know if a 2008 R2 CA is technically supported for use with 2007 SCCM certificates, but for those of you who are doing this, be aware that how you set up your CA on it&#8217;s initial install will determine if your client certificates work properly or not.  There are workarounds, of course, for those few of you who are already running 2008 R2 CAs from a default installation - in the Site Mode tab of the Site properties, you can change the &#8220;If multiple certificates match criteria:&#8221; from &#8220;Fail selection and send error message&#8221; to &#8220;Select any certificate that matches&#8221;, and set &#8220;Certificate criteria:&#8221; to &#8220;Check only certificate purpose&#8221;.  Doing this allows the MP communications to start up again, although I&#8217;m not sure of the potential risks (if any) that are taken if you allow this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cluberti.com/blog/2010/05/24/sccm-2007-client-certificate-issues-with-2008-r2-ca/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using Application &#8220;bundles&#8221; in MDT 2010</title>
		<link>http://www.cluberti.com/blog/2009/08/21/using-application-bundles-in-mdt-2010/</link>
		<comments>http://www.cluberti.com/blog/2009/08/21/using-application-bundles-in-mdt-2010/#comments</comments>
		<pubDate>Sat, 22 Aug 2009 00:41:11 +0000</pubDate>
		<dc:creator>cluberti</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[MDT]]></category>

		<guid isPermaLink="false">http://www.cluberti.com/blog/2009/08/21/using-application-bundles-in-mdt-2010/</guid>
		<description><![CDATA[One of the more interesting things in MDT is the “Application bundle” application install option.&#160; What an application bundle allows is the ability to install multiple applications, in order, as dependencies.&#160; Think of it more as a logical container for applications that need to be installed, perhaps in a specific order, or as prerequisites for [...]]]></description>
			<content:encoded><![CDATA[<p>One of the more interesting things in MDT is the “Application bundle” application install option.&#160; What an application bundle allows is the ability to install multiple applications, in order, as dependencies.&#160; Think of it more as a logical container for applications that need to be installed, perhaps in a specific order, or as prerequisites for another application (like, for instance, installing Visual Studio 2008 prerequisites, Visual Studio itself, and then the latest service pack).</p>
<h3>Adding the application(s)</h3>
<p>To create an application bundle that will show up in the list of applications to install (or be available to configure via a task sequence), you first need to add all of the applications to MDT that will make up the bundle.&#160; This is done similar to adding Office 2007 as I documented <a href="http://www.cluberti.com/blog/2009/08/10/mdt-2010-and-deployment-from-a-usb-key/" target="_blank">in my post</a> on creating an MDT deployment point &#8211; you must create a New Application and add it’s source files to the deployment share.&#160; I’ll document quickly how to add the Windows Live Essentials components to your deployment share and “bundle” them (instructions on getting the .msi packages you’ll need from the Windows Live Essentials downloadable package can be found <a href="http://www.msfn.org/board/windows-live-messenger-2009-t124894.html" target="_blank">here</a>, if you do actually want to try this).</p>
<p>First, right-click on the Applications folder in the deployment share (in this example I’ve created a folder underneath applications to hold all of the Windows Live installation apps – this is purely for cosmetic reasons) and select “New Application” from the drop-down list:</p>
<p><a href="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/001.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="New Application" border="0" alt="New Application" src="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/001_thumb.png" width="244" height="256" /></a></p>
<p>Select “Application with source files” from the first wizard page, click “Next”, and then fill out the information about the application and click “Next” again – in this example, I’m adding the x86 package for the Application Error Reporting component of Windows Live:</p>
<p><a href="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/002.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="New Application Wizard" border="0" alt="New Application Wizard" src="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/002_thumb.png" width="504" height="414" /></a></p>
<p>Point the wizard to the local path that contains the setup package, and click “Next”:</p>
<p><a href="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/003.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Source directory" border="0" alt="Source directory" src="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/003_thumb.png" width="504" height="414" /></a></p>
<p>You will need to provide the actual installation command used to run the setup – in this case, the command is “<strong><span style="font-family: consolas; font-size: xx-small">msiexec /i dw20shared.msi /qn</span></strong>”, so I’ve entered that into the “Command line” field:</p>
<p><a href="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/004.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Command line" border="0" alt="Command line" src="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/004_thumb.png" width="504" height="414" /></a></p>
<p>Once that’s done, click “Next” a few times and the application will be added to your Applications in your deployment share.&#160; Next, right-click the new Application and select “Properties” from the drop-down list:</p>
<p><a href="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/005.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Properties" border="0" alt="Properties" src="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/005_thumb.png" width="244" height="118" /></a></p>
<p>Make sure to <strong>*check*</strong> the box labeled “Hide this application in the Deployment Wizard” – this will keep the individual installers from showing up in the list of applications to be installed during deployment, ensuring only the bundle will be used to install the apps, in the correct order – click “OK” to save the changes:</p>
<p><a href="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/006.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Hide application" border="0" alt="Hide application" src="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/006_thumb.png" width="504" height="414" /></a></p>
<h3>Creating the bundle</h3>
<p>Once you’ve added all the other components necessary (repeating the above steps for each application that will make up your bundle), the bundle itself needs to be created.&#160; To do this, right-click on the Applications folder (or any subfolder, as in my example) in the deployment share, and select “New Application”:</p>
<p><a href="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/007.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="New Application Bundle" border="0" alt="New Application Bundle" src="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/007_thumb.png" width="244" height="277" /></a></p>
<p>This time, select the “Application bundle” option from the list of application types, and click “Next”:</p>
<p><a href="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/008.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Application bundle" border="0" alt="Application bundle" src="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/008_thumb.png" width="504" height="414" /></a></p>
<p>Fill out the details of the application as you would any other application, and click “Next” a few times until the new bundle is added to your Applications list:</p>
<p><a href="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/009.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Application bundle details" border="0" alt="Application bundle details" src="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/009_thumb.png" width="504" height="414" /></a></p>
<p>Next, right-click on the new Application bundle in the Applications list, and select “Properties” from the drop-down list:</p>
<p><a href="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/010.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Properties" border="0" alt="Properties" src="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/010_thumb.png" width="244" height="127" /></a></p>
<p>Go to the “Dependencies” tab, and click the “Add” button:</p>
<p><a href="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/011.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Add dependencies" border="0" alt="Add dependencies" src="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/011_thumb.png" width="504" height="412" /></a></p>
<p>In the “Select an item” window that pops up, select the application installers from the list, one at a time (clicking “OK” after selecting each to add to the list), until you’ve got all of the applications that will make up this “bundle” in your list, in the order you want or need.&#160; Note that you can use the “Up” and “Down” buttons to move applications up and down the list in this window if you didn’t add them from the Applications list in the order required:</p>
<p><a href="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/013.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Application dependencies list" border="0" alt="Application dependencies list" src="http://www.cluberti.com/images/UsingApplicationbundlesinMDT2010_11293/013_thumb.png" width="504" height="412" /></a></p>
<p>Lastly, right-click your deployment share and choose “Update Deployment Share” to update it, and also right click on your Media and select “Update Media Content” (again, as per <a href="http://www.cluberti.com/blog/2009/08/10/mdt-2010-and-deployment-from-a-usb-key/" target="_blank">previous posts</a> on this subject).&#160; Once these complete, you can copy the updated media to your USB key, or burn the .ISO.&#160; The new “bundle” will show up in the applications list during deployment, and will install each application, in the order it is listed in the “Dependencies” tab during deployment if it’s selected to be installed.</p>
<p>If you’ve got lots of applications that you deploy to each and every build you do, this is a great way to cut down on the clicking in the deployment wizard – or makes for fewer entries in your task sequences for applications.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cluberti.com/blog/2009/08/21/using-application-bundles-in-mdt-2010/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Adding additional boot options to your deployment USB key</title>
		<link>http://www.cluberti.com/blog/2009/08/12/adding-additional-boot-options-to-your-deployment-usb-key/</link>
		<comments>http://www.cluberti.com/blog/2009/08/12/adding-additional-boot-options-to-your-deployment-usb-key/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 15:39:10 +0000</pubDate>
		<dc:creator>cluberti</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.cluberti.com/blog/2009/08/12/adding-additional-boot-options-to-your-deployment-usb-key/</guid>
		<description><![CDATA[Having a USB key that will install multiple versions of Windows is great, but what if you want to add other Windows PE images to it, above and beyond the installers?  For example, what if you wanted to add a recovery environment, like the Microsoft Diagnostics and Recovery Toolset (DaRT), or a BartPE environment, or [...]]]></description>
			<content:encoded><![CDATA[<p>Having a <a href="http://www.cluberti.com/blog/2009/08/10/mdt-2010-and-deployment-from-a-usb-key/" target="_blank">USB key that will install multiple versions of Windows</a> is great, but what if you want to add other Windows PE images to it, above and beyond the installers?  For example, what if you wanted to add a recovery environment, like the <a href="http://www.microsoft.com/windows/enterprise/products/mdop/dart.aspx" target="_blank">Microsoft Diagnostics and Recovery Toolset</a> (DaRT), or a BartPE environment, or any other Windows PE-based environments?  Well, it’s not that hard to do, and I’ll document how to do it with the Microsoft DaRT x86 and x64 recovery ISOs that it creates in this example.</p>
<h3>Adding the DaRT files</h3>
<p>First, you will need to copy the files from the MS DaRT WinPE ISO image to your “Content” folder that was created when you <a href="http://www.cluberti.com/blog/2009/08/10/mdt-2010-and-deployment-from-a-usb-key/" target="_blank">used MDT 2010 as per my previous post</a>.  The content folder should look something like this:</p>
<p><a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/000.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="000" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/000_thumb.png" alt="000" width="504" height="404" /></a></p>
<p>And the contents of the MS DaRT ISO image, once extracted to the hard disk, will look something like this:</p>
<p><a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/001.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="001" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/001_thumb.png" alt="001" width="504" height="404" /></a></p>
<p>You will need to go through this folder structure (boot, EFI, and sources) and copy to your “Content” folder anything from the MS DaRT contents that does not already exist as a file or folder in your “Content” folder.  For example, the MS DaRT media is on the left, and the “Content” media is on the right:<br />
<a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/002.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="002" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/002_thumb.png" alt="002" width="504" height="148" /></a> </p>
<p>And the “Content” folder looks like this afterwards:<br />
<a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/003.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="003" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/003_thumb.png" alt="003" width="504" height="313" /></a></p>
<p>The same with the EFI and sources folders from the MS DaRT media:<a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/004.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="004" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/004_thumb.png" alt="004" width="504" height="113" /></a></p>
<p>And the “Content” folder looks like this afterwards:<br />
<a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/005.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="005" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/005_thumb.png" alt="005" width="504" height="213" /></a> </p>
<p>Since most WinPE distributions use a “boot.wim” file in the “sources” folder, and we’re going to have multiples, you’ll want to rename any boot.wim files you copy here to something else, preferably something descriptive.  For example, I’ve renamed the boot.wim file from the x64 MS DaRT media I just copied over to “msdart64.wim” – this will be important later, when we create our boot entries:</p>
<p><a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/006.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="006" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/006_thumb.png" alt="006" width="504" height="126" /></a> <br />
<a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/007.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="007" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/007_thumb.png" alt="007" width="504" height="126" /></a></p>
<p> </p>
<p>I’ve repeated the above process for the x86 MS DaRT media as well, and renamed the boot.wim from that media to “msdart86.wim”:</p>
<p><a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/008.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="008" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/008_thumb.png" alt="008" width="504" height="139" /></a> </p>
<p>Once you’re done with all of this, the last bit needed is to use bcdedit to add the new .wim files to your boot menu, and copy the updated “Content” folder to your USB key.</p>
<h3>Using bcdedit to modify the boot menu</h3>
<p>You’ll need to open a command prompt into the \boot folder of your “Content” media folder, and execute some bcdedit commands to modify the boot menu.  To make sure you’re in the right folder, the dir listing output should look something like this:</p>
<p><a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/009.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="009" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/009_thumb.png" alt="009" width="504" height="276" /></a> </p>
<p>What you will need to do is use bcdedit to edit the “bcd” file you see here – that file actually contains the boot configuration data used during boot, and we’re going to modify it to add the new .wim files we just copied over.</p>
<p>First, let’s look at the current boot configuration stored in this file.  Run the command “<span style="font-family: Consolas; font-size: x-small;"><strong>bcdedit /store bcd /enum</strong></span>” to show the current boot manager configuration stored in the bcd file.  You’ll note that we already have 2 entries here – one labeled “Litetouch Boot [MEDIA001] (x86)” and another labeled “Litetouch Boot [MEDIA001] (x64)” – also make a quick note of the default GUID in the {default} entry at the end of the device and osdevice lines, because you’re going to need this later:</p>
<p><a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/010.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="010" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/010_thumb.png" alt="010" width="504" height="286" /></a></p>
<p>To create a new entry, you just need to create a copy of the {default} boot entry, and give it a name.  Use the command “<strong><span style="font-family: Consolas; font-size: x-small;">bcdedit /store bcd /copy {default} /d “&lt;name&gt;</span></strong>” to create a new entry called “&lt;name&gt;”.  I’ve created a new entry called “Diagnostics and Recovery x64” by using the command “<span style="font-family: Consolas; font-size: x-small;"><strong>bcdedit /store bcd /copy {default} /d “Diagnostics and Recovery x64</strong></span>” – please note very carefully the GUID that the entry was copied to – you will need this to further modify the entry in the next steps:</p>
<p><a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/011.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="011" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/011_thumb.png" alt="011" width="504" height="21" /></a></p>
<p>The next thing you need to do is add the DEVICE that this boot entry is going to use – this is the .wim file that the entry is going to point to, and you do this via the “<span style="font-family: consolas; font-size: x-small;"><strong>bcdedit /store bcd /set &lt;GUID for the new entry&gt; DEVICE ramdisk=[boot]\&lt;path to .wim file&gt;,&lt;GUID of default entry&gt;</strong></span>”.  I’ve edited the new entry to point to the msdart64.wim file via the command “<span style="font-family: Consolas; font-size: x-small;"><strong>bcdedit /store bcd /set {c77ebc03-8748-11de-8cb4-00137228d4cf} DEVICE ramdisk=[boot]\sources\msdart64.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}</strong></span>” (remember I told you you’d need the GUID for the new entry, as well as the GUID from the default entry? – here is where you use them):&#8221;</p>
<p><a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/012.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="012" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/012_thumb.png" alt="012" width="504" height="22" /></a></p>
<p>You will next need to add the OSDEVICE that this boot entry is going to use.  This command is basically identical to the previous, except that “DEVICE” in the previous command is replaced with “OSDEVICE” &#8211; “<span style="font-family: consolas; font-size: x-small;"><strong>bcdedit /store bcd /set &lt;GUID for the new entry&gt; OSDEVICE ramdisk=[boot]\&lt;path to .wim file&gt;,&lt;GUID of default entry&gt;</strong></span>”.  I’ve edited the new entry to point to the msdart64.wim file via the command “<span style="font-family: Consolas; font-size: x-small;"><strong>bcdedit /store bcd /set {c77ebc03-8748-11de-8cb4-00137228d4cf} DEVICE ramdisk=[boot]\sources\msdart64.wim,{7619dcc8-fafe-11d9-b411-000476eba25f}</strong></span>”:</p>
<p><a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/013.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="013" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/013_thumb.png" alt="013" width="504" height="22" /></a></p>
<p>If everything was successful, you should be able to run “<span style="font-family: Consolas; font-size: x-small;"><strong>bcdedit /store bcd /enum</strong></span>” and see your new entry at the end of the list:</p>
<p><a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/014.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="014" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/014_thumb.png" alt="014" width="504" height="389" /></a></p>
<p>If you want to add another (for example, I’m adding the x86 version of MS DaRT as well), just do the same steps over again for the new .wim file:</p>
<p><a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/015.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="015" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/015_thumb.png" alt="015" width="504" height="64" /></a> <br />
<a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/016.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="016" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/016_thumb.png" alt="016" width="504" height="494" /></a></p>
<p>Once you’re done, you can replace what’s on your USB key with the new contents of the “Content” media folder.  If you want to create an ISO image (for burning to DVD, or testing in a VM), you can open the Deployment Tools command prompt from the Windows AIK start menu folder, and run oscdimg on the “Content” folder.  The command is “<span style="font-family: Consolas; font-size: x-small;"><strong>oscdimg –b”&lt;path to etfsboot.com&gt;” –h –u2 –m -l&lt;Volume Name&gt; “&lt;path containing content to be copied to ISO&gt;” “&lt;path and name of resulting ISO image&gt;</strong></span>” (note that –l in the command is a lower-case “L”, not an “I”).  I’ve created my image via the command “<span style="font-family: Consolas; font-size: x-small;"><strong>oscdimg –b”C:\Program Files\Windows AIK\Tools\PETools\amd64\boot\etfsboot.com” –h –u2 –m –lINSTALLER D:\Hybrid_Media\Content D:\Hybrid_Media\installer.iso</strong></span>”:</p>
<p><a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/017.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="017" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/017_thumb.png" alt="017" width="504" height="137" /></a> </p>
<h3>Seeing it in action</h3>
<p>If you boot your new USB key (or ISO image), you should now see the new boot entries:</p>
<p><a href="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/018.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="018" src="http://www.cluberti.com/images/Addingadditionalbootoptionstoyourdeploym_964A/018_thumb.png" alt="018" width="504" height="379" /></a></p>
<p> </p>
<p>That’s it – and you could theoretically do this with any Windows PE-based .wim file.  I used MS DaRT for this example, but you could use something like BartPE or any other Windows PE image.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cluberti.com/blog/2009/08/12/adding-additional-boot-options-to-your-deployment-usb-key/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Default Keys for Vista and Windows 7 deployment</title>
		<link>http://www.cluberti.com/blog/2009/08/11/default-keys-for-vista-and-windows-7-deployment/</link>
		<comments>http://www.cluberti.com/blog/2009/08/11/default-keys-for-vista-and-windows-7-deployment/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 19:13:58 +0000</pubDate>
		<dc:creator>cluberti</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.cluberti.com/blog/2009/08/11/default-keys-for-vista-and-windows-7-deployment/</guid>
		<description><![CDATA[To go along with my previous post on deploying Windows via MDT 2010, here is a list of the “default” keys that Windows uses when you choose not to enter a product key during setup.  These keys of course will not activate, but you can enter them into your task sequences when you are prompted [...]]]></description>
			<content:encoded><![CDATA[<p>To go along with my <a href="http://www.cluberti.com/blog/2009/08/10/mdt-2010-and-deployment-from-a-usb-key/" target="_blank">previous post</a> on deploying Windows via MDT 2010, here is a list of the “default” keys that Windows uses when you choose not to enter a product key during setup.  These keys of course will not activate, but you can enter them into your task sequences when you are prompted for a product key to use.  This will make your setup more unattended.</p>
<p>Here’s the list:</p>
<p><strong>Windows Vista:</strong></p>
<ul>
<li>Ultimate  -  VMCB9-FDRV6-6CDQM-RV23K-RP8F7</li>
<li>Business  -  4D2XH-PRBMM-8Q22B-K8BM3-MRW4W</li>
<li>Home Premium  -  X9HTF-MKJQQ-XK376-TJ7T4-76PKF</li>
<li>Home Basic  -  RCG7P-TX42D-HM8FM-TCFCW-3V4VD</li>
<li>Starter  -  X9PYV-YBQRV-9BXWV-TQDMK-QDWK4</li>
</ul>
<p><strong>Windows 7:</strong></p>
<ul>
<li>Ultimate  -  D4F6K-QK3RD-TMVMJ-BBMRX-3MBMV</li>
<li>Professional  -  HYF8J-CVRMY-CM74G-RPHKF-PW487</li>
<li>Home Premium  -  RHPQ2-RMFJH-74XYM-BH4JX-XM76F</li>
<li>Home Basic  -  YGFVB-QTFXQ-3H233-PTWTJ-YRYRV</li>
<li>Starter  -  7Q28W-FT9PC-CMMYT-WHMY2-89M6G</li>
</ul>
<p>Note that these were easy to acquire, as they are stored in a file called product.ini in the \sources folder for Vista, Server 2008, Win7, and Server 2008 R2.  To verify, I installed Windows Vista and Windows 7 without a product key, and then ran a utility in the OS to display the current product key &#8211; I used <a href="http://www.msfn.org/board/index.php?s=&amp;showtopic=129488&amp;view=findpost&amp;p=859688" target="_blank">GetKey</a> written by GunSmokingMan on the MSFN forums, but anything that’ll run in Vista or Windows 7 will work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cluberti.com/blog/2009/08/11/default-keys-for-vista-and-windows-7-deployment/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

