<?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; MDT</title>
	<atom:link href="http://www.cluberti.com/blog/category/mdt/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 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>MDT 2010 RTW</title>
		<link>http://www.cluberti.com/blog/2009/09/10/mdt-2010-rtw/</link>
		<comments>http://www.cluberti.com/blog/2009/09/10/mdt-2010-rtw/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 14:13:34 +0000</pubDate>
		<dc:creator>cluberti</dc:creator>
				<category><![CDATA[MDT]]></category>

		<guid isPermaLink="false">http://www.cluberti.com/blog/2009/09/10/mdt-2010-rtw/</guid>
		<description><![CDATA[Just a quick note to point out that the final release of MDT 2010 has released to web (RTW) and is available here: http://www.microsoft.com/downloads/details.aspx?FamilyID=3bd8561f-77ac-4400-a0c1-fe871c461a89]]></description>
			<content:encoded><![CDATA[<p>Just a quick note to point out that the final release of MDT 2010 has released to web (RTW) and is available here:</p>
<p><a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3bd8561f-77ac-4400-a0c1-fe871c461a89">http://www.microsoft.com/downloads/details.aspx?FamilyID=3bd8561f-77ac-4400-a0c1-fe871c461a89</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cluberti.com/blog/2009/09/10/mdt-2010-rtw/feed/</wfw:commentRss>
		<slash:comments>1</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>MDT 2010 and deployment from a USB key</title>
		<link>http://www.cluberti.com/blog/2009/08/10/mdt-2010-and-deployment-from-a-usb-key/</link>
		<comments>http://www.cluberti.com/blog/2009/08/10/mdt-2010-and-deployment-from-a-usb-key/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 01:50:10 +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=4</guid>
		<description><![CDATA[Note that the content in this guide has been updated to include deployment over a network, and some other tips/tricks.  After reading this, you might want to take a look at the updated guides here: http://www.cluberti.com/blog/2011/06/23/mdt-for-the-smaller-guys-part-1/ http://www.cluberti.com/blog/2011/06/23/mdt-for-the-smaller-guys-part-2/ http://www.cluberti.com/blog/2011/06/28/mdt-for-the-smaller-guys-part-3/ &#160; Have you ever wanted to put every version of Vista, Server 2008, Windows 7, Server 2008 [...]]]></description>
			<content:encoded><![CDATA[<p><em>Note that the content in this guide has been updated to include deployment over a network, and some other tips/tricks.  After reading this, you might want to take a look at the updated guides here:</em><br />
<a href="http://www.cluberti.com/blog/2011/06/23/mdt-for-the-smaller-guys-part-1/">http://www.cluberti.com/blog/2011/06/23/mdt-for-the-smaller-guys-part-1/</a><br />
<a href="http://www.cluberti.com/blog/2011/06/23/mdt-for-the-smaller-guys-part-2/">http://www.cluberti.com/blog/2011/06/23/mdt-for-the-smaller-guys-part-2/</a><br />
<a href="http://www.cluberti.com/blog/2011/06/28/mdt-for-the-smaller-guys-part-3/">http://www.cluberti.com/blog/2011/06/28/mdt-for-the-smaller-guys-part-3/</a></p>
<p>&nbsp;</p>
<p>Have you ever wanted to put every version of Vista, Server 2008, Windows 7, Server 2008 R2, and perhaps a version of XP or two on a single USB key?  No?  Then you’re probably normal.  If you’re like me, however, the thought has crossed your mind.  However, the daunting task of configuring said USB key to boot to some multiboot Linux distro or hacking a bit at bcdedit to boot a WinPE to handle it also made it something to avoid, at least for me, because, well, I tend to be lazy about these things.</p>
<p>However, after playing with the Microsoft Deployment Toolkit for a bit, I realized I could probably make my USB key bend to my will and be said multi-bootable Windows OS installer, without a whole lot of work.  I set about to put all of those versions of Windows one one key, along with some unattended applications (for this blog post, I’m just adding Office 2007 to keep it short).</p>
<p>You’re going to need a few things to start, most notably you’ll need a Windows machine that can install the latest <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=696dd665-9f76-4177-a811-39c26d3b3b34&amp;DisplayLang=en" target="_blank">Windows Automated Installation Kit (WAIK) for Windows 7</a> (that’d be Server 2003 SP1 or newer, Vista SP1 / Server 2008 or newer, or Win7 / Server 2008 R2 – sorry, no XP support, it seems).  You’ll also need the <a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3bd8561f-77ac-4400-a0c1-fe871c461a89" target="_blank">MDT 2010 bits</a> and the version(s) of Windows and any applications you would like to install from MDT.</p>
<h3>Adding Operating Systems</h3>
<p>Once you’ve got a machine with the WAIK and MDT 2010 installed, the first thing to do is open the Deployment Workbench from the Microsoft Deployment Toolkit folder in your start menu.  Since you’ve already got the prerequisites needed to do a basic MDT deployment (namely, the WAIK), just right-click on the “Deployment Shares” folder and select “New Deployment Share” from the drop-down:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/000a.png"><img style="display: inline; border-width: 0px;" title="New Deployment Share" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/000a_thumb.png" border="0" alt="New Deployment Share" width="244" height="171" /></a></p>
<p>This will open a wizard that will help you create the Deployment folder and share – note that you will have to create this folder, as the current version (beta2) does not do this.  The wizard will look like the following:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/000.png"><img style="display: inline; border-width: 0px;" title="New Deployment Share Wizard" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/000_thumb.png" border="0" alt="New Deployment Share Wizard" width="374" height="308" /></a></p>
<p>Again, use the “Browse” button to create the folder as necessary, and make sure this is on a drive with ample space, as all of your OS files and applications will be stored here.</p>
<p>Once you’ve gotten yourself a deployment share, it will show up as a subfolder of the “Deployment Shares” tree, and the first thing you’ll want to do is add the version(s) of Windows you want to use MDT to install.  To do this, right-click on the “Operating Systems” subfolder in your deployment share, and select “Import Operating System”:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/001.png"><img style="display: inline; border-width: 0px;" title="Import Operating System" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/001_thumb.png" border="0" alt="Import Operating System" width="244" height="178" /></a></p>
<p>This will bring up the “Import Operating System” wizard.  For this example, I’m going to be using the full Windows installations as my source, and since I’ve copied the contents of the Windows DVDs / CDs to the hard disk on this machine already, I select “Full set of source files” and point the wizard to the folder that contains the Windows source that I’m using (in this example, I’ve extracted the Windows 7 RTM to a folder on the D: drive):</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/002.png"><img style="display: inline; border-width: 0px;" title="New Operating System Wizard" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/002_thumb.png" border="0" alt="New Operating System Wizard" width="374" height="308" /></a></p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/003.png"><img style="display: inline; border-width: 0px;" title="Select the location with OS files to be added" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/003_thumb.png" border="0" alt="Select the location with OS files to be added" width="374" height="308" /></a></p>
<p>The wizard will go through copying the files from the source directory into the distribution share, and add each OS choice to the Operating Systems list in the Deployment Workbench – after adding Vista, Server 2008, Win7, and Server 2008 R2 via this method, my Operating Systems list looks like this:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/004.png"><img style="display: inline; border-width: 0px;" title="OS List" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/004_thumb.png" border="0" alt="OS List" width="374" height="314" /></a></p>
<h3>Adding Applications (optional)</h3>
<p>If you want to have your installation media install applications along with Windows, you’ll need to add them to the deployment share and the task sequence &#8211; in this example, I’m adding Office 2007.  To add an application, you’ll need to right-click the “Applications” subfolder in your deployment share, and select “New Application” from the drop-down:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/016.png"><img style="display: inline; border-width: 0px;" title="New Application" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/016_thumb.png" border="0" alt="New Application" width="244" height="235" /></a></p>
<p>Once the wizard comes up, you’ll have to enter the Application Name – the Publisher, Version, and Language are optional (but recommended):</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/017.png"><img style="display: inline; border-width: 0px;" title="New Application Wizard" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/017_thumb.png" border="0" alt="New Application Wizard" width="374" height="308" /></a></p>
<p>Again, I’ve copied the contents of the Office 2007 DVD to the hard disk, so I’m going to point the wizard to this source, but if you have the files you need for the application you’re adding to the deployment share in another location (say, on a DVD or a network share), point the wizard to that source directory, and click “Next”:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/018.png"><img style="display: inline; border-width: 0px;" title="Select the location with files to be added" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/018_thumb.png" border="0" alt="Select the location with files to be added" width="374" height="308" /></a></p>
<p>This will place the Office 2007 entry into the “Applications” list in the deployment share, and you will need to edit the properties of the application before the application will install properly.  To do so, right-click the application from the Applications list and select “Properties”:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/020.png"><img style="display: inline; border-width: 0px;" title="Properties" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/020_thumb.png" border="0" alt="Properties" width="244" height="216" /></a></p>
<p>From here, you will need to click the “Details” tab and configure the installation command (the Working directory will already be configured) to run the application’s setup, including any switches required by the application.  You can also enable or disable the application from the deployment share, cause the application to reboot the computer it’s being installed onto once it has completed installation, as well as a host of other options that may be of interest to you.  You may also note that MDT recognizes that this is an Office application, and adds an “Office Products” tab where you can configure the unattended parameters of Office (if your version supports it – for example, Office 2007 Enterprise):</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/023.png"><img style="display: inline; border-width: 0px;" title="Office Products tab" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/023_thumb.png" border="0" alt="Office Products tab" width="374" height="308" /></a></p>
<p>Once you’re comfortable with the application settings, click “OK” to complete adding the application.</p>
<h3>Adding Drivers (optional)</h3>
<p>If you want to inject drivers into your installation, you will need to use the “Out-of-Box Drivers” subfolder in your distribution share.  Note that there is a requirement here &#8211; you will need to have the driver package extracted that you want to use, and it must not be a driver package that requires an .exe to install.  For this portion of the deployment, you will have to direct the MDT wizard to the folder that contains the .inf, .sys, and any .cat files the driver requires, hence why .exe driver installers will not work.  You may be able to add these types of drivers as application packages, however, but that’s a bit outside my scope here.</p>
<p>For this example, I’m adding the drivers for a 3ware 9550SX controller that I’ve already extracted:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/025.png"><img style="display: inline; border-width: 0px;" title="Extracted 3ware driver" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/025_thumb.png" border="0" alt="Extracted 3ware driver" width="404" height="167" /></a></p>
<p>To add the driver to the deployment share, simply right-click on the “Out-of-Box Drivers” folder and select “Import Drivers” from the drop-down:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/024.png"><img style="display: inline; border-width: 0px;" title="Import Drivers" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/024_thumb.png" border="0" alt="Import Drivers" width="244" height="260" /></a></p>
<p>Point the wizard to the folder that contains the drivers you want to import, and click “Next” (in my example, I’m going to import both x64 and x86 drivers, so I’m running the wizard twice) &#8211; note that if you do import the x86 and x64 versions of the same driver, make certain that the “Import drivers even if they are duplicates of an existing driver” box is checked before clicking “Next”:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/026.png"><img style="display: inline; border-width: 0px;" title="x64 drivers" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/026_thumb.png" border="0" alt="x64 drivers" width="404" height="333" /></a></p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/027.png"><img style="display: inline; border-width: 0px;" title="x86 drivers" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/027_thumb.png" border="0" alt="x86 drivers" width="404" height="333" /></a></p>
<p>If you have imported both x64 and x86 versions of the same driver, make sure to right-click on each driver in the listing of Out-of-Box drivers and select the proper architecture – the wizard will add a number at the end of the driver’s name for each iteration of the same driver you import (in this case, (1) was added to the x86 driver I imported), and the wizard will tell you at the end what display name it gave to the driver added.  In this case, I’ll make sure that the “AMCC System 3wManage.inf” is configured to be used only for x64 platforms:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/028.png"><img style="display: inline; border-width: 0px;" title="Properties" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/028_thumb.png" border="0" alt="Properties" width="404" height="106" /></a></p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/029.png"><img style="display: inline; border-width: 0px;" title="Select the correct driver architecture" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/029_thumb.png" border="0" alt="Select the correct driver architecture" width="404" height="333" /></a></p>
<p>Make certain to do this for each x64 and x86 driver you add, if you do add multiple architecture versions of the same driver.</p>
<h3>Creating the Task Sequence</h3>
<p>To get MDT to actually *do* something with the operating system(s) you’ve imported, you’ll have to create what is called a “Task Sequence”.  In MDT parlance, this is the “logic” that drives MDT – it’ll tell MDT what drives to format, what version of Windows to install, and any applications, hot fixes/updates, and drivers you configure in MDT.  To create your first task sequence, right-click on the “Task Sequences” subfolder in your deployment share, and select “New Task Sequence” from the dropdown:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/005.png"><img style="display: inline; border-width: 0px;" title="New Task Sequence" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/005_thumb.png" border="0" alt="New Task Sequence" width="244" height="256" /></a></p>
<p>Once the wizard comes up, you’ll need to give the Task Sequence a unique ID number in the “Task sequence ID” box, as well as a name (this is the name that will show up in the list of operating systems to deploy, so consider using the name of the version of Windows the task sequence will install).  Enter any comments in the comment box, and click “Next”:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/006.png"><img style="display: inline; border-width: 0px;" title="New Task Sequence Wizard" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/006_thumb.png" border="0" alt="New Task Sequence Wizard" width="404" height="333" /></a></p>
<p>Choose the “Standard Client Task Sequence” from the drop-down list (or “Standard Server Task Sequence”, if this is a server OS), and click “Next”:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/007.png"><img style="display: inline; border-width: 0px;" title="Standard Client Task Sequence" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/007_thumb.png" border="0" alt="Standard Client Task Sequence" width="404" height="333" /></a></p>
<p>Select the version of Windows you want the Task Sequence to install from the list, and click “Next”:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/008.png"><img style="display: inline; border-width: 0px;" title="Select an OS" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/008_thumb.png" border="0" alt="Select an OS" width="404" height="334" /></a></p>
<p>At this point in the wizard, you can enter a product key (or not), set the registered Name and Organization, set the IE homepage, and configure the Administrator Password (or not).  Once you’ve done all this and finished the wizard, the task sequence will now show up in the Task Sequence list, but it’s not complete just yet if you want to edit the unattended file and change some of the advanced options (like the default time zone, in my example).  If you want to leave everything as-is, skip to the next section.  However, if you do want to edit the file, you’ll need to right-click the Task Sequence and select “Properties” from the drop-down:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/012.png"><img style="display: inline; border-width: 0px;" title="Properties" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/012_thumb.png" border="0" alt="Properties" width="404" height="111" /></a></p>
<p>Once the properties of the Task Sequence opens up, click on the “OS Info” tab, and click the “Edit Unattend.xml” button to open the unattended file in the Windows System Image Manager (WSIM) for editing:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/014.png"><img style="display: inline; border-width: 0px;" title="OS Info" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/014_thumb.png" border="0" alt="OS Info" width="404" height="359" /></a></p>
<p>Again, for this example, I want to edit the Time Zone.  To do this, once WSIM has the unattend.xml file open, expand the 4 specialize component and select “Microsoft-Windows-Shell-Setup_neutral” from the list (note that this says amd64 at the beginning because this is an x64 image – if you’re editing an x86 image, it will say x86 at the beginning).  From here, you can edit the default (Pacific Standard Time) with the full name of the Time Zone you want (I’ve entered “Eastern Standard Time”):</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/015.png"><img style="display: inline; border-width: 0px;" title="Unattend.xml editing" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/015_thumb.png" border="0" alt="Unattend.xml editing" width="404" height="322" /></a></p>
<p>Once you’re done editing the unattend file, close the WSIM window and save the file when prompted.</p>
<h3>Putting it all together</h3>
<p>The last steps involve updating the deployment share with the changes made, and building the media we’re going to use to copy to the USB key.  First, you will need to update the deployment share, by right-clicking on the deployment share root folder, and selecting “Update Deployment Share” from the drop-down:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/039.png"><img style="display: inline; border-width: 0px;" title="Update Deployment Share" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/039_thumb.png" border="0" alt="Update Deployment Share" width="244" height="172" /></a></p>
<p>This will cause the deployment share to update, and you will see progress indicated in a wizard window that will look like the image below, and when it’s done, click the “Finish” button:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/040.png"><img style="display: inline; border-width: 0px;" title="Updating Deployment Share" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/040_thumb.png" border="0" alt="Updating Deployment Share" width="404" height="333" /></a></p>
<p>Next, you’ll need to actually create the media.  To do this, expand the “Advanced Configuration” folder in the deployment share, and right-click the “Media” folder and select “New Media” from the drop-down:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/031.png"><img style="display: inline; border-width: 0px;" title="New Media" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/031_thumb.png" border="0" alt="New Media" width="244" height="329" /></a></p>
<p>Once the wizard opens, you’ll need to point the Media path to a folder that will contain the exported media &#8211; note that you will have to create this folder as well, as the current version (beta2) does not do this.  Also note that it appears (from some comments and my own testing) that the media share path <strong>cannot</strong> contain spaces (again, this is beta2, so we’ll wait to see if this problem continues in the RCs), or the creation wizard will fail.  I’m currently investigating this to see why this is, although it does seem fairly repeatable.  Use underscores or dashes if you want to name it something that would otherwise contain a space.  The New Media Wizard will look like the following:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/032.png"><img style="display: inline; border-width: 0px;" title="New Media Wizard" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/032_thumb.png" border="0" alt="New Media Wizard" width="404" height="333" /></a></p>
<p>Again, use the “Browse” button to create the folder as necessary, and make sure this is also on a drive with ample space, as all of your OS files and applications will be stored here, as well as an .ISO file that can be burned to a DVD (if it’s small enough).  Once you’ve selected a folder, click “Next” to create the share.</p>
<p>Once the creation of the media share is complete, you’ll see it in the list of Media available to be created.  Right-click on the new media and select “Properties”:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/033.png"><img style="display: inline; border-width: 0px;" title="Properties" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/033_thumb.png" border="0" alt="Properties" width="404" height="130" /></a></p>
<p>Click the “Rules” tab, and add one field at the end, called “_SMSTSORGNAME” and set it equal to what you want the Unattended progress bar to call your deployment (you’ll see later what I mean by this) – I’ve named mine “cluberti’s imaging stick” for this example:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/035.png"><img style="display: inline; border-width: 0px;" title="Editing media rules" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/035_thumb.png" border="0" alt="Editing media rules" width="404" height="331" /></a></p>
<p>Next, click the “Edit Bootstrap.ini button, and add the same field with the same name.  Once you’re done, save the file, and then click OK:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/036.png"><img style="display: inline; border-width: 0px;" title="Bootstrap.ini" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/036_thumb.png" border="0" alt="Bootstrap.ini" width="404" height="157" /></a></p>
<p>Lastly, right-click the new media entry and select “Update Media Content” from the drop-down.  This will actually create the content folder and the .ISO in the media share, and it <strong><em>WILL</em></strong> take a long time the first time you do this, so <strong>be patient</strong>:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/040_3.png"><img style="display: inline; border-width: 0px;" title="Be patient!" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/040_thumb_3.png" border="0" alt="Be patient!" width="404" height="333" /></a></p>
<p>Once the wizard completes successfully and you click “Finish”, your media is now ready to be copied to your USB key – just put your USB key into the machine, and use Windows Explorer to copy the contents of the “Content” folder in the media share to your USB key:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/041.png"><img style="display: inline; border-width: 0px;" title="Copy this to your USB key" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/041_thumb.png" border="0" alt="Copy this to your USB key" width="404" height="322" /></a></p>
<h3>Seeing it in action</h3>
<p>I’m going to show you what this looks like from my deployment media in a Hyper-V VM, so you can see what the end-product will look like.  Note that basically ALL of this can be automated via entries into the “Rules” tab and Bootstrap.ini of the media share (or even the Deployment Share folder – the same settings can be seen in the properties of this folder) and entries into the Task Sequence (which I’m leaving for another post.</p>
<p>Without further ado, see the task sequence in action:</p>
<p><a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/050.png"><img style="display: inline; border-width: 0px;" title="050" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/050_thumb.png" border="0" alt="050" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/051.png"><img style="display: inline; border-width: 0px;" title="051" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/051_thumb.png" border="0" alt="051" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/052.png"><img style="display: inline; border-width: 0px;" title="052" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/052_thumb.png" border="0" alt="052" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/053.png"><img style="display: inline; border-width: 0px;" title="053" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/053_thumb.png" border="0" alt="053" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/054.png"><img style="display: inline; border-width: 0px;" title="054" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/054_thumb.png" border="0" alt="054" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/055.png"><img style="display: inline; border-width: 0px;" title="055" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/055_thumb.png" border="0" alt="055" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/056.png"><img style="display: inline; border-width: 0px;" title="056" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/056_thumb.png" border="0" alt="056" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/057.png"><img style="display: inline; border-width: 0px;" title="057" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/057_thumb.png" border="0" alt="057" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/058.png"><img style="display: inline; border-width: 0px;" title="058" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/058_thumb.png" border="0" alt="058" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/059.png"><img style="display: inline; border-width: 0px;" title="059" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/059_thumb.png" border="0" alt="059" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/060.png"><img style="display: inline; border-width: 0px;" title="060" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/060_thumb.png" border="0" alt="060" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/061.png"><img style="display: inline; border-width: 0px;" title="061" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/061_thumb.png" border="0" alt="061" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/062.png"><img style="display: inline; border-width: 0px;" title="062" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/062_thumb.png" border="0" alt="062" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/064.png"><img style="display: inline; border-width: 0px;" title="064" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/064_thumb.png" border="0" alt="064" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/065.png"><img style="display: inline; border-width: 0px;" title="065" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/065_thumb.png" border="0" alt="065" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/067.png"><img style="display: inline; border-width: 0px;" title="067" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/067_thumb.png" border="0" alt="067" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/069.png"><img style="display: inline; border-width: 0px;" title="069" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/069_thumb.png" border="0" alt="069" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/070.png"><img style="display: inline; border-width: 0px;" title="070" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/070_thumb.png" border="0" alt="070" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/071.png"><img style="display: inline; border-width: 0px;" title="071" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/071_thumb.png" border="0" alt="071" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/073.png"><img style="display: inline; border-width: 0px;" title="073" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/073_thumb.png" border="0" alt="073" width="204" height="172" /></a> <a href="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/075.png"><img style="display: inline; border-width: 0px;" title="075" src="http://www.cluberti.com/images/MDT2010anddeploymentfromaUSBkey_1135D/075_thumb.png" border="0" alt="075" width="204" height="172" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cluberti.com/blog/2009/08/10/mdt-2010-and-deployment-from-a-usb-key/feed/</wfw:commentRss>
		<slash:comments>93</slash:comments>
		</item>
	</channel>
</rss>

