<?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</title>
	<atom:link href="http://www.cluberti.com/blog/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>Wow &#8211; I&#8217;ve been absent!</title>
		<link>http://www.cluberti.com/blog/2012/01/05/wow-ive-been-absent/</link>
		<comments>http://www.cluberti.com/blog/2012/01/05/wow-ive-been-absent/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 03:26:01 +0000</pubDate>
		<dc:creator>cluberti</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.cluberti.com/blog/?p=222</guid>
		<description><![CDATA[Sorry about that.  Once MDT 2012 and ConfigMgr 2012 are RTM, I&#8217;ll have more content.  For now, hopefully what&#8217;s here will satiate you until then! affiliate program]]></description>
			<content:encoded><![CDATA[<p>Sorry about that.  Once MDT 2012 and ConfigMgr 2012 are RTM, I&#8217;ll have more content.  For now, hopefully what&#8217;s here will satiate you until then!</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/2012/01/05/wow-ive-been-absent/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MDOP 2011 R2 released</title>
		<link>http://www.cluberti.com/blog/2011/08/01/mdop-2011-r2-released/</link>
		<comments>http://www.cluberti.com/blog/2011/08/01/mdop-2011-r2-released/#comments</comments>
		<pubDate>Mon, 01 Aug 2011 22:36:23 +0000</pubDate>
		<dc:creator>cluberti</dc:creator>
				<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.cluberti.com/blog/?p=219</guid>
		<description><![CDATA[Probably one of the best things to come out of Microsoft in the client space, MDOP has now hit R2 in 2011.  This release gives us RTM code for the bitlocker administration console (MBAM), as well as bringing the diagnostic PE environment (DaRT) up to v7.0 (which includes being able to RDP into the PE [...]]]></description>
			<content:encoded><![CDATA[<p>Probably one of the best things to come out of Microsoft in the client space, MDOP has now hit R2 in 2011.  This release gives us RTM code for the bitlocker administration console (MBAM), as well as bringing the diagnostic PE environment (DaRT) up to v7.0 (which includes being able to RDP into the PE image).  Also included is AIS 2.0, which is supposed to make it easier to get the big picture of your software inventory in the UI:</p>
<p><a href="http://windowsteamblog.com/windows/b/business/archive/2011/08/01/mdop-2011-r2-now-available-for-download.aspx">http://windowsteamblog.com/windows/b/business/archive/2011/08/01/mdop-2011-r2-now-available-for-download.aspx</a></p>
<p>Available for download from your VL site, MSDN/Technet, and supposedly to Intune Subscribers (not sure how that works yet, but I&#8217;m looking into Intune).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cluberti.com/blog/2011/08/01/mdop-2011-r2-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using xbootmgr to trace boot, shutdown, and reboot performance issues</title>
		<link>http://www.cluberti.com/blog/2011/07/22/using-xbootmgr-to-trace-boot-shutdown-and-reboot-performance-issues/</link>
		<comments>http://www.cluberti.com/blog/2011/07/22/using-xbootmgr-to-trace-boot-shutdown-and-reboot-performance-issues/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 17:03:27 +0000</pubDate>
		<dc:creator>cluberti</dc:creator>
				<category><![CDATA[Performance]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.cluberti.com/blog/2011/07/22/using-xbootmgr-to-trace-boot-shutdown-and-reboot-performance-issues/</guid>
		<description><![CDATA[Microsoft has created a toolset called the Windows Performance Toolkit, or WPT, to help developers and users visualize and troubleshoot performance issues.  One of the tools in this toolset is specifically designed to assist with capturing traces of boot, shutdown, or reboot cycles, and can provide insight into drivers, services, winlogon, explorer, disk and CPU [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft has created a toolset called the Windows Performance Toolkit, or WPT, to help developers and users visualize and troubleshoot performance issues.  One of the tools in this toolset is specifically designed to assist with capturing traces of boot, shutdown, or reboot cycles, and can provide insight into drivers, services, winlogon, explorer, disk and CPU utilization, and even help with seeing things like disk fragmentation and driver load order.</p>
<h2>Installing the tools</h2>
<p>Before gathering any data, you will first need to download the installation packages necessary to install the Windows Performance Toolkit on your Windows 7 machine.  The Windows Performance Toolkit is a part of the Windows 7 SDK, but you won’t need to install the entire SDK to get the WPT installation files if you follow this guide.  First, you need to <a title="download the Windows 7 SDK" href="http://msdn.microsoft.com/en-us/windowsserver/bb980924.aspx">download the Windows 7 SDK</a>, which is a 500K web installer (click the “Install Now” link).  Once you start the installation, you only need to check the “Windows Performance Toolkit” checkbox under the “Redistributable Packages” section – uncheck EVERYTHING else:<br />
<a href="http://www.cluberti.com/images/SDK_PerfToolkit.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/SDK_PerfToolkit.png" alt="" /></a></p>
<p>After you click next, it will download (only) the installation .MSI packages needed to actually install the WPT. Once the download of the files is complete and you exit the SDK installer, you will need to actually install the version of the WPT that matches the architecture of your OS (the x86 MSI on a 32bit Windows 7 machine, the x64 MSI on a 64bit Windows 7 machine). The downloaded .MSI files will be located (by default) in C:\Program Files\Microsoft SDKs\Windows\v7.1\Redist\Windows Performance Toolkit:<br />
<a href="http://www.cluberti.com/images/SDK_PerfToolkit_Redist.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/SDK_PerfToolkit_Redist.png" alt="" /></a></p>
<p>Install the correct .MSI that matches the architecture (32bit or 64bit) of your Windows 7 install, taking all the default options and performing a &#8220;Complete&#8221; installation.</p>
<p>Last, you will need to open an <a href="http://www.sevenforums.com/tutorials/783-elevated-command-prompt.html" target="_blank">ELEVATED CMD PROMPT</a> to execute any of the trace options described in this guide.</p>
<h2>Creating a BOOT trace:</h2>
<p>First, you will need have that elevated CMD prompt open.  Second, to generate a boot trace, you will need to type the following command into the CMD prompt, and press the ENTER key to execute it – note that this command is ALL ONE LINE</p>
<pre class="brush: plain; title: ; notranslate">xbootmgr –trace boot -traceFlags BASE+LATENCY+DISK_IO_INIT+DISPATCHER+DRIVERS+FILE_IO+FILE_IO_INIT+NETWORKTRACE+PERF_COUNTER+POWER+PRIORITY+REGISTRY -postBootDelay 300 -resultPath C:\Boot_Trace</pre>
<p>This command will cause your machine to shut down and reboot automatically.  Once the system restarts, please log back in (as necessary) as soon as possible to minimize the size of the resulting trace file.  Once logged in, the system will present a dialog box letting you know that it is waiting 120 seconds (it will count down) before finishing the trace.  DO NOT use your computer to do anything during this time – let the countdown finish and trace files generate:<br />
<a href="http://www.cluberti.com/images/xbootmgr/boot.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/xbootmgr/boot.png" alt="" /></a><br />
<img style="margin: 5px;" src="http://www.cluberti.com/images/xbootmgr/capture_finish.png" alt="" /></p>
<p>Once the trace is complete, you will find a (large) .ETL file and a log file in C:\Boot_Trace.  This .ETL file can then be analyzed either by yourself or by other support personnel.</p>
<h2>Creating a Shutdown trace:</h2>
<p>First, you will need have that elevated CMD prompt open. Second, to generate a boot trace, you will need to type the following command into the CMD prompt, and press the ENTER key to execute it – note that this command is ALL ONE LINE:</p>
<pre class="brush: plain; title: ; notranslate">xbootmgr –trace shutdown -traceFlags BASE+LATENCY+DISK_IO_INIT+DISPATCHER+DRIVERS+FILE_IO+FILE_IO_INIT+NETWORKTRACE+PERF_COUNTER+POWER+PRIORITY+REGISTRY -resultPath C:\Shutdown_Trace</pre>
<p>This command will cause your machine to shut down and reboot automatically. Once the system restarts, please log back in (as necessary) as soon as possible.  Once logged in, the system will present a dialog box letting you know that it is waiting 120 seconds (it will count down) before rebooting your machine A SECOND TIME.  DO NOT click the countdown dialog, or in any other way utilize your computer to do anything during this time – let the countdown finish and the system restart:<br />
<a href="http://www.cluberti.com/images/xbootmgr/shutdown.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/xbootmgr/shutdown.png" alt="" /></a></p>
<p>Again, once the system restarts a second time, please log back in (as necessary) as soon as possible.  This time, the trace will finalize:<br />
<a href="http://www.cluberti.com/images/xbootmgr/capture_finish.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/xbootmgr/capture_finish.png" alt="" /></a></p>
<p>Once the trace is complete, you will find a (large) .ETL file and a log file in C:\Boot_Trace. This .ETL file can then be analyzed either by yourself or by other support personnel.</p>
<h2>Creating a REBOOT trace:</h2>
<p>First, you will need have that elevated CMD prompt open. Second, to generate a boot trace, you will need to type the following command into the CMD prompt, and press the ENTER key to execute it – note that this command is ALL ONE LINE:</p>
<pre class="brush: plain; title: ; notranslate">xbootmgr –trace rebootCycle -traceFlags BASE+LATENCY+DISK_IO_INIT+DISPATCHER+DRIVERS+FILE_IO+FILE_IO_INIT+NETWORKTRACE+PERF_COUNTER+POWER+PRIORITY+REGISTRY -resultPath C:\reboot_Trace</pre>
<p>This command will cause your machine to shut down and reboot automatically. Once the system restarts, please log back in (as necessary) as soon as possible. Once logged in, the system will present a dialog box letting you know that it is waiting 120 seconds (it will count down) before rebooting your machine A SECOND TIME. DO NOT click the countdown dialog, or in any other way utilize your computer to do anything during this time – let the countdown finish and the system restart:<br />
<a href="http://www.cluberti.com/images/xbootmgr/reboot.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/xbootmgr/reboot.png" alt="" /></a></p>
<p>Again, once the system restarts a second time, please log back in (as necessary) as soon as possible. This will start another 120 second countdown, and reboot your machine A THIRD TIME.  As before, DO NOT utilize your computer during this time – let the countdown finish (again) and the system restart (again):<br />
<a href="http://www.cluberti.com/images/xbootmgr/reboot_2.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/xbootmgr/reboot_2.png" alt="" /></a></p>
<p>Once the system restarts a third time, please log back in (as necessary) as soon as possible. This time, the trace will finalize:<br />
<a href="http://www.cluberti.com/images/xbootmgr/capture_finish.png" target="_blank"><img style="margin: 5px;" src="http://www.cluberti.com/images/xbootmgr/capture_finish.png" alt="" /></a></p>
<p>Once the trace is complete, you will find a (large) .ETL file and a log file in C:\Boot_Trace. This .ETL file can then be analyzed either by yourself or by other support personnel.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cluberti.com/blog/2011/07/22/using-xbootmgr-to-trace-boot-shutdown-and-reboot-performance-issues/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<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>
]]></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>Changing the look</title>
		<link>http://www.cluberti.com/blog/2011/06/18/changing-the-look/</link>
		<comments>http://www.cluberti.com/blog/2011/06/18/changing-the-look/#comments</comments>
		<pubDate>Sun, 19 Jun 2011 03:19:00 +0000</pubDate>
		<dc:creator>cluberti</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.cluberti.com/blog/?p=184</guid>
		<description><![CDATA[The blog has looked the same since August 2009, so I thought it was time to change the way the site looks and is laid out a bit.  There&#8217;s a bit more color here and the right-hand panes for navigation have been moved around a bit, but that should be it for now.]]></description>
			<content:encoded><![CDATA[<p>The blog has looked the same since August 2009, so I thought it was time to change the way the site looks and is laid out a bit.  There&#8217;s a bit more color here and the right-hand panes for navigation have been moved around a bit, but that should be it for now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cluberti.com/blog/2011/06/18/changing-the-look/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 setup debugging and disconnect on first boot?</title>
		<link>http://www.cluberti.com/blog/2011/05/27/windows-7-setup-debugging-and-disconnect-on-first-boot/</link>
		<comments>http://www.cluberti.com/blog/2011/05/27/windows-7-setup-debugging-and-disconnect-on-first-boot/#comments</comments>
		<pubDate>Fri, 27 May 2011 04:08:46 +0000</pubDate>
		<dc:creator>cluberti</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Windows]]></category>

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

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

		<guid isPermaLink="false">http://www.cluberti.com/blog/?p=165</guid>
		<description><![CDATA[I&#8217;ve been working on updating my lab hardware &#8211; finally got a nice box to run 2008 R2 and Hyper-v, so I&#8217;m installing SP1 and my VMs so I can try to crank the next post out.  I haven&#8217;t forgotten, but sickness and the job keep me busy.  The next &#8220;real&#8221; post is indeed coming [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been working on updating my lab hardware &#8211; finally got a nice box to run 2008 R2 and Hyper-v, so I&#8217;m installing SP1 and my VMs so I can try to crank the next post out.  I haven&#8217;t forgotten, but sickness and the job keep me busy.  The next &#8220;real&#8221; post is indeed coming soon, hopefully in the next few days.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cluberti.com/blog/2011/03/11/finally-getting-around-to-building-my-lab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

