<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Xtreme Deployment &#187; Uncategorized</title>
	<atom:link href="http://deployment.xtremeconsulting.com/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://deployment.xtremeconsulting.com</link>
	<description></description>
	<lastBuildDate>Wed, 14 Jul 2010 08:00:49 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='deployment.xtremeconsulting.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://1.gravatar.com/blavatar/b9093c8c9e93cd7e588b4bcd70ac2032?s=96&#038;d=http://s2.wp.com/i/buttonw-com.png</url>
		<title>Xtreme Deployment &#187; Uncategorized</title>
		<link>http://deployment.xtremeconsulting.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://deployment.xtremeconsulting.com/osd.xml" title="Xtreme Deployment" />
	<atom:link rel='hub' href='http://deployment.xtremeconsulting.com/?pushpress=hub'/>
		<item>
		<title>Introduction</title>
		<link>http://deployment.xtremeconsulting.com/2010/06/23/introduction/</link>
		<comments>http://deployment.xtremeconsulting.com/2010/06/23/introduction/#comments</comments>
		<pubDate>Wed, 23 Jun 2010 19:53:32 +0000</pubDate>
		<dc:creator>Micah Rowland</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://deployment.xtremeconsulting.com/?p=295</guid>
		<description><![CDATA[My name is Micah Rowland and I have been added to the Xtreme Deployment consulting group as an expert in automation and reverse engineering. As we all know, some of the tasks that customers ask of us to accomplish during the MDT process are very simple to do manually, but in the background, are tricky [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=295&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>My name is Micah Rowland and I have been added to the Xtreme Deployment consulting group as an expert in automation and reverse engineering. As we all know, some of the tasks that customers ask of us to accomplish during the MDT process are very simple to do manually, but in the background, are tricky to nail down when we go to automate the same processes.  In my posts, I hope to reveal undocumented aspects to the Windows operating system and show how to develop automation around these processes. Let&#8217;s get started!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmintner.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmintner.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmintner.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmintner.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tmintner.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tmintner.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tmintner.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tmintner.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmintner.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmintner.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmintner.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmintner.wordpress.com/295/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmintner.wordpress.com/295/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmintner.wordpress.com/295/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=295&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deployment.xtremeconsulting.com/2010/06/23/introduction/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/e5d625f8daa701b969ef654f169de4e5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ioamnesia</media:title>
		</media:content>
	</item>
		<item>
		<title>Assign Drivers to Computer Makes and Models</title>
		<link>http://deployment.xtremeconsulting.com/2010/03/11/assign-drivers-to-computer-makes-and-models/</link>
		<comments>http://deployment.xtremeconsulting.com/2010/03/11/assign-drivers-to-computer-makes-and-models/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 17:00:35 +0000</pubDate>
		<dc:creator>keithga</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tmintner.wordpress.com/?p=284</guid>
		<description><![CDATA[Speaking of Make and Models&#8230; one of the things I&#8217;ve been experimenting with lately is mixing driver management styles (grouping by Make+Model vs PnPID).     Make/Model Match Historically, if you had different hardware platforms, and you wanted to install drivers on each type, you would create separate packages for each Make and Model. Then [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=284&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;">Speaking of Make and Models&#8230; one of the things I&#8217;ve been experimenting with lately is mixing driver management styles (grouping by Make+Model vs PnPID). </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;"> </span></p>
<h3>Make/Model Match</h3>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;">Historically, if you had different hardware platforms, and you wanted to install drivers on each type, you would create separate packages for each Make and Model. Then you could query the Make and Model information from the BIOS to determine which package to install.</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;">For example here are four Make+Model examples:</span></p>
<table border="0" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td width="200" valign="top"><strong>Make</strong></td>
<td width="200" valign="top"><strong>Model</strong></td>
</tr>
<tr>
<td width="200" valign="top">Dell</td>
<td width="200" valign="top">D630</td>
</tr>
<tr>
<td width="200" valign="top">Dell</td>
<td width="200" valign="top">D830</td>
</tr>
<tr>
<td width="200" valign="top">HP</td>
<td width="200" valign="top">DC7800</td>
</tr>
<tr>
<td width="200" valign="top">HP</td>
<td width="200" valign="top">DC7900</td>
</tr>
</tbody>
</table>
<p><span style="font-family:&amp;font-size:10pt;"></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;">The disadvantage of this method is that you have to update the driver packages when new Models come along, and it’s also possible that you might keep multiple instances of the same driver package across many Make and Model repositories.</span> </p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;"> </span></p>
<h3>PnP-ID Match</h3>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;">With MDT, ZTIDrivers.wsf was designed to do things in a different manner. Instead of downloading drivers and grouping them based on Make/Model, you would import the driver directly into MDT, MDT would parse the driver package, and MDT would install the driver package on the machine if the Plug and Play ID matched. </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;">For example, Windows might search for Plug and Play ID’s that look like:</span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;"> </span></p>
<pre>PCI\VEN_1099&amp;DEV_0242&amp;SUBSYS_02429005&amp;REV_01
PCI\VEN_1099&amp;DEV_0242&amp;SUBSYS_02429005
PCI\VEN_1099&amp;DEV_0242&amp;CC_010401
PCI\VEN_1099&amp;DEV_0242&amp;CC_0104
PCI\VEN_1099&amp;DEV_0242&amp;REV_01
PCI\VEN_1099&amp;DEV_0242
PCI\VEN_1099&amp;CC_010401
PCI\VEN_1099&amp;CC_0104
PCI\VEN_1099
PCI\CC_010401
PCI\CC_0104</pre>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;">Generally this system works better than copying based on Make and Model except for a few points: </span></p>
<ul>
<li>
<div class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;">You must import the drivers in a correct fashion so MDT can parse the INF files, and so each driver package is a seperate entry (</span><span style="font-family:&amp;font-size:10pt;">more on importing drivers later…)</span></div>
</li>
<li>
<div class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;">Some PC Makers only certify (support?) a subset of driver versions, so it is possible that MDT <em>may</em> give Windows the latest non-certified version of a driver.</span></div>
</li>
<li>
<div class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;">There also may be compatibility problems with specific drivers. When placed on some other platforms. (However IMHO, if a driver *can* be installed on a machine, but crashes the machine, then that is a bug of the driver).</span></div>
</li>
</ul>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;"> </span></p>
<h3>Hybrid Make-Model + PnPID Match Solution</h3>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;">For my MDT environments, </span><span style="font-family:&amp;font-size:10pt;">I don&#8217;t want to place all drivers into Make/Model groupings by <span style="font-family:&amp;"><em>default</em></span>, since I loose the advantages of ZTIDrivers.wsf where it copy by PnPID. </span><span style="font-family:&amp;font-size:10pt;">For example, I have the drivers for my Dell D620 integrated now, but it&#8217;s good to know that I probably have good coverage for any D820&#8242;s out there since they share mostly the same components. </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="font-family:&amp;font-size:10pt;">I&#8217;ve seen some MDT implementations that totally throw away the ZTIDrivers.wsf PnPID style in favor of maintaining a manual mapping of drivers to Make+Model. However, I do concede, that there are some drivers out there that &#8220;&#8230; do not play nicely with others&#8230;&#8221;, and need to be quarantined somehow, and according to a make+model works well.</span><span style="color:black;"> </span></p>
<p></span></p>
<p class="MsoNormal" style="margin:0;">
<p class="MsoNormal" style="margin:0;"><span style="color:black;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="color:black;">Create a Folder Structure in MDT Workbench:</span></p>
<table border="0" cellspacing="0" cellpadding="2" width="400">
<tbody>
<tr>
<td width="400" valign="top"><strong>Common</strong></p>
<p>    Audio</p>
<p>    Networking</p>
<p>        Intel</p>
<p>        Marvel</p>
<p>    Storage</p>
<p>    Video</p>
<p><strong>Dell</p>
<p></strong>    <strong>Common</strong></p>
<p>        Audio</p>
<p>        Networking</p>
<p>        Storage</p>
<p>    D620</p>
<p><strong>Hewlett-Packard</strong><strong></p>
<p></strong>    <strong>Common</strong></p>
<p>    DC7800</p>
<p>        Audio</p>
<p>        Networking</p>
<p>        Storage</p>
<p><strong>WinPE</strong></td>
</tr>
</tbody>
</table>
<p class="MsoNormal" style="margin:0;">
<p class="MsoNormal" style="margin:0;"><span style="color:black;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="color:black;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="color:black;"> </span></p>
<p class="MsoNormal" style="margin:0;"><span style="color:black;">Then in your CustomSettings.ini file, you can add the following:</span> </p>
<pre>DriverGroups001=Common

DriverGroups002=%Make%\Common

DriverGroups003=%Make%\%Model%

DriverSelectionProfile=Nothing</pre>
<p>(Note that DriverSelectionProfile=nothing is required if using DriverGroups).</p>
<p>%Make% and %Model% will be auto-expanded in the customsettings.ini file with the Make and Model values from the system BIOS.</p>
<ul>
<li>If you have a driver that will work for all Makes and Models, then place it under \Common.</li>
<li>If you have a driver that is only supported for a single Manufacturer, then place it under \%Make%\Common.</li>
<li>If you have a driver that only works on a specific Make and Model, then place it under \%Make%\%Model%.</li>
</ul>
<p>This should allow you to use generic drivers by default, moving drivers to specific makes and models when required.</p>
<p>Keith</p>
<address><a href="http://keithga.com"><span style="color:#993300;">Keith Garner</span></a><span style="color:#993300;"> is a Deployment Specialist with </span><a href="http://deployment.xtremeconsulting.com/"><span style="color:#993300;">Xtreme Consulting Group</span></a></address>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmintner.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmintner.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmintner.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmintner.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tmintner.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tmintner.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tmintner.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tmintner.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmintner.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmintner.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmintner.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmintner.wordpress.com/284/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmintner.wordpress.com/284/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmintner.wordpress.com/284/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=284&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deployment.xtremeconsulting.com/2010/03/11/assign-drivers-to-computer-makes-and-models/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ba37c28620c8ba69ccbbfad7a905e203?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">keithga</media:title>
		</media:content>
	</item>
		<item>
		<title>Water Water everywhere&#8230;</title>
		<link>http://deployment.xtremeconsulting.com/2010/01/07/water-water-everywhere/</link>
		<comments>http://deployment.xtremeconsulting.com/2010/01/07/water-water-everywhere/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 07:30:58 +0000</pubDate>
		<dc:creator>keithga</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tmintner.wordpress.com/?p=263</guid>
		<description><![CDATA[I was walking in through the Lobby of Microsoft building 18 yesterday, and someone came in to tell the receptionist that there was a burst water main leaking in the building. Unfortunately, this is a normal occurrence in Microsoft Building 18. And has happened every year since 2007, and typically localized arround the Microsoft Deployment [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=263&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was walking in through the Lobby of Microsoft building 18 yesterday, and someone came in to tell the receptionist that there was a burst water main leaking in the building. Unfortunately, this is a <strong><em>normal</em></strong> occurrence in Microsoft Building 18. And has happened <strong><em>every</em></strong> year since 2007, and typically localized arround the Microsoft Deployment Toolkit team members.</p>
<p>Luckily, this year, we found most Team Members, and we were disconnecting machines from power before the flood waters came. And were also able to get critical machines out before the moving crews came to cart the equipment out to an undisclosed location during repairs.</p>
<p>For example, here is what the office of Mike Niehaus looked like yesterday.</p>
<p><a href="http://tmintner.files.wordpress.com/2010/01/img_1625.jpg"><img style="display:inline;border:0;" title="IMG_1625" src="http://tmintner.files.wordpress.com/2010/01/img_1625_thumb.jpg?w=244&#038;h=184" border="0" alt="IMG_1625" width="244" height="184" /></a></p>
<p>His entire office is now completely bare, and cleaning crews are doing their thing.</p>
<p>It’s been a crazy start to 2010! Hopefully things will calm down and I&#8217;ll start posting more soon.</p>
<p>Keith</p>
<address><a href="http://keithga.com"><span style="color:#993300;">Keith Garner</span></a><span style="color:#993300;"> is a Deployment Specialist with </span><a href="http://deployment.xtremeconsulting.com/"><span style="color:#993300;">Xtreme Consulting Group</span></a></address>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmintner.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmintner.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmintner.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmintner.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tmintner.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tmintner.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tmintner.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tmintner.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmintner.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmintner.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmintner.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmintner.wordpress.com/263/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmintner.wordpress.com/263/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmintner.wordpress.com/263/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=263&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deployment.xtremeconsulting.com/2010/01/07/water-water-everywhere/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ba37c28620c8ba69ccbbfad7a905e203?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">keithga</media:title>
		</media:content>

		<media:content url="http://tmintner.files.wordpress.com/2010/01/img_1625_thumb.jpg" medium="image">
			<media:title type="html">IMG_1625</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Know You are Using Scripts from MDT 2010</title>
		<link>http://deployment.xtremeconsulting.com/2009/11/17/how-to-know-you-are-using-scripts-from-mdt-2010/</link>
		<comments>http://deployment.xtremeconsulting.com/2009/11/17/how-to-know-you-are-using-scripts-from-mdt-2010/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 19:59:48 +0000</pubDate>
		<dc:creator>tmintner</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tmintner.wordpress.com/2009/11/17/how-to-know-you-are-using-scripts-from-mdt-2010/</guid>
		<description><![CDATA[We’ve had a few emails over the last few weeks where certain variables or actions in the task sequence in MDT 2010 were either not functioning at all or were not behaving as expected.&#160; After looking at the log files, it was pretty clear that a mixture of MDT 2008 boot images were being used [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=216&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>We’ve had a few emails over the last few weeks where certain variables or actions in the task sequence in MDT 2010 were either not functioning at all or were not behaving as expected.&#160; After looking at the log files, it was pretty clear that a mixture of MDT 2008 boot images were being used with MDT 2010.&#160; So how can you tell if you are using a MDT 2010 boot image?&#160; The easiest way to tell is to look in the bdd.log file.&#160; IN MDT 2010 we added a version line to each of the scripts that are run so if in the first 15 or so lines of the BDD.LOG you do not see this: Microsoft Deployment Toolkit version: 5.0.1641.0 , then your boot images are probably running scripts from MDT 2008.</p>
<p>&#160;</p>
<p>To fix this you would, right click on the DeploymentShare and choose Update.&#160; Then you would choose Completely regenerate the boot images as shown below:</p>
<p><a href="http://tmintner.files.wordpress.com/2009/11/image4.png"><img style="border-bottom:0;border-left:0;display:inline;border-top:0;border-right:0;" title="image" border="0" alt="image" src="http://tmintner.files.wordpress.com/2009/11/image_thumb4.png?w=244&#038;h=202" width="244" height="202" /></a> </p>
<p>&#160;</p>
<p>Now that your boot images are updated you will either need to burn new CDs or re-import the boot images into WDS</p>
<p>&#160;</p>
<p>- Tim Mintner</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmintner.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmintner.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmintner.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmintner.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tmintner.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tmintner.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tmintner.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tmintner.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmintner.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmintner.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmintner.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmintner.wordpress.com/216/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmintner.wordpress.com/216/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmintner.wordpress.com/216/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=216&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deployment.xtremeconsulting.com/2009/11/17/how-to-know-you-are-using-scripts-from-mdt-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/240858a50784c41cedfbc35048e21064?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tmintner</media:title>
		</media:content>

		<media:content url="http://tmintner.files.wordpress.com/2009/11/image_thumb4.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Validation: Passing the MDT 2008 Certification Exam</title>
		<link>http://deployment.xtremeconsulting.com/2009/11/12/validation-passing-the-mdt-2008-certification-exam/</link>
		<comments>http://deployment.xtremeconsulting.com/2009/11/12/validation-passing-the-mdt-2008-certification-exam/#comments</comments>
		<pubDate>Thu, 12 Nov 2009 19:00:22 +0000</pubDate>
		<dc:creator>keithga</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tmintner.wordpress.com/?p=182</guid>
		<description><![CDATA[Took the Microsoft Deployment Toolkit 2008 Certification exam today. I passed!!! I’ve been an in-depth Microsoft technical guy for 14 years now, yet I’ve never gotten around to actually taking any Certification test before. And I figured that since I was on the Dev team for MDT 2008, I’d start with 070-635 (Microsoft Deployment Toolkit [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=182&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Took the Microsoft Deployment Toolkit 2008 Certification exam today.</p>
<p><strong>I passed!!!</strong></p>
<p>I’ve been an in-depth Microsoft technical guy for 14 years now, yet I’ve never gotten around to actually taking any Certification test before.</p>
<p>And I figured that since I was on the Dev team for MDT 2008, I’d start with 070-635 (Microsoft Deployment Toolkit 2008, Desktop Deployment). I took the test cold, no studying.</p>
<p>It was kind of weird going back and taking the test for MDT 2008. There have been two product releases since then, MDT 2008 Update 1 and MDT 2010. And I’ve been working on Windows 7/MDT 2010 components now for about a full year.</p>
<p>I’d take some more exams, but I had to pay for this one out of my own pocket. Perhaps in the new year.</p>
<p>Tim Mintner mentioned once that he took this test as well. Which wasn’t really fair, since he helped write the questions. :^)</p>
<p>Keith</p>
<address><a href="http://keithga.com"><span style="color:#993300;">Keith Garner</span></a><span style="color:#993300;"> is a Deployment Specialist with </span><a href="http://deployment.xtremeconsulting.com/"><span style="color:#993300;">Xtreme Consulting Group</span></a></address>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmintner.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmintner.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmintner.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmintner.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tmintner.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tmintner.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tmintner.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tmintner.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmintner.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmintner.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmintner.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmintner.wordpress.com/182/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmintner.wordpress.com/182/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmintner.wordpress.com/182/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=182&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deployment.xtremeconsulting.com/2009/11/12/validation-passing-the-mdt-2008-certification-exam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ba37c28620c8ba69ccbbfad7a905e203?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">keithga</media:title>
		</media:content>
	</item>
		<item>
		<title>How to delete files that won&#8217;t delete</title>
		<link>http://deployment.xtremeconsulting.com/2009/11/11/how-to-delete-files-that-wont-delete/</link>
		<comments>http://deployment.xtremeconsulting.com/2009/11/11/how-to-delete-files-that-wont-delete/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 20:38:05 +0000</pubDate>
		<dc:creator>keithga</dc:creator>
				<category><![CDATA[MDT 2010]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tmintner.wordpress.com/?p=125</guid>
		<description><![CDATA[One of the frustrations when working with beta software is dealing with constant changes and little support for cross-build (not major version) upgrading. During the development cycle for MDT 2010, one component that had constant change was the Windows Automated Installation Kit. MDT requires several components from the WAIK to perform correctly, so we were [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=125&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>One of the frustrations when working with beta software is dealing with constant changes and little support for cross-build (not major version) upgrading.</p>
<p>During the development cycle for MDT 2010, one component that had constant change was the Windows Automated Installation Kit. MDT requires several components from the WAIK to perform correctly, so we were constantly upgrading.</p>
<p>One of the components, the WIMGAPI.dll was particularly nasty. The WAIK installer would set the permissions on the file so regular users could not delete it, and the intra-build upgrades didn’t replace the file automatically. Luckily, if you are using the final released (RTM) version of the WAIK, and upgrading from a previously released version, you should be OK.</p>
<h4>Why are these files so hard to delete?</h4>
<p>Windows protects some installed files by giving only the “Trusted Installer” account access to the file, and explicitly denying everyone else access, including administrators and the SYSTEM account.</p>
<p>Running the icacls.exe command on wimgapi.dll reveals:</p>
<pre>NT SERVICE\TrustedInstaller:(F)
BUILTIN\Administrators:(RX)
NT AUTHORITY\SYSTEM:(RX)
BUILTIN\Users:(RX)</pre>
<p>The problem is that normal users and administrators don’t have full access to the file and are not allowed to modify the permissions.</p>
<h4>How to Modify “Trusted Installer” files</h4>
<p>If you ever find yourself in the situation where you need to modify/delete files that are &#8220;trusted installer&#8221; protected, here is what I do:</p>
<ol>
<li>Start up an elevated command prompt (with administrator privileges).</li>
<li>Run “<em>icacls.exe &lt;file&gt;</em>” to see the current permissions.</li>
<li>Run “<em>TakeOwn.exe /f &lt;file&gt;</em>” to change ownership.</li>
<li>Run “<em>icacls.exe &lt;file&gt; /reset</em>” to change permissions.</li>
<li>Run “<em>icacls.exe &lt;file&gt;</em>” to display the new permissions.</li>
</ol>
<h4>Example:</h4>
<p><a href="http://tmintner.files.wordpress.com/2009/10/icacls.png"><img style="display:inline;border-width:0;" title="icacls" src="http://tmintner.files.wordpress.com/2009/10/icacls_thumb.png?w=244&#038;h=138" border="0" alt="icacls" width="244" height="138" /></a> </p>
<p>Keith</p>
<address><a href="http://keithga.com"><span style="color:#993300;">Keith Garner</span></a><span style="color:#993300;"> is a Deployment Specialist with </span><a href="http://deployment.xtremeconsulting.com/"><span style="color:#993300;">Xtreme Consulting Group</span></a></address>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmintner.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmintner.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmintner.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmintner.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tmintner.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tmintner.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tmintner.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tmintner.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmintner.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmintner.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmintner.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmintner.wordpress.com/125/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmintner.wordpress.com/125/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmintner.wordpress.com/125/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=125&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deployment.xtremeconsulting.com/2009/11/11/how-to-delete-files-that-wont-delete/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ba37c28620c8ba69ccbbfad7a905e203?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">keithga</media:title>
		</media:content>

		<media:content url="http://tmintner.files.wordpress.com/2009/10/icacls_thumb.png" medium="image">
			<media:title type="html">icacls</media:title>
		</media:content>
	</item>
		<item>
		<title>Export &amp; share MDT Applications (New Tool)</title>
		<link>http://deployment.xtremeconsulting.com/2009/11/06/export-share-mdt-applications-new-tool/</link>
		<comments>http://deployment.xtremeconsulting.com/2009/11/06/export-share-mdt-applications-new-tool/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 19:00:12 +0000</pubDate>
		<dc:creator>keithga</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tmintner.wordpress.com/?p=169</guid>
		<description><![CDATA[New for MDT 2010 Presented here is the MDT Application Export Tool (MDTAppExport.exe). This tool will export the settings for a selected Application in MDT 2010 into a Powershell *.ps1 script file. This portable powershell script file can be used to import the Application settings into another instance of MDT 2010. One of the coolest [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=169&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>New for MDT 2010</em></p>
<p>Presented here is the MDT Application Export Tool (MDTAppExport.exe). This tool will export the settings for a selected Application in MDT 2010 into a Powershell *.ps1 script file. This portable powershell script file can be used to import the Application settings into another instance of MDT 2010.</p>
<p>One of the coolest new features of MDT 2010 is the new Powershell Programming interface. This interface makes it possible for 3rd party programs to Read, Manipulate, and Create settings in your MDT 2010 environment.</p>
<p>Still, Powershell is a relatively new programming language. And many IT Pros may still be unfamiliar with it. Which makes this tool so cool, you can create powershell scripts without knowing powershell.</p>
<h4>Advantages</h4>
<p>Exporting to Powershell provides a good way to share Application metadata between MDT 2010 Shares:</p>
<ul>
<li>Upgrade your existing MDT 2008 Deployment Share to MDT 2010, and extract out all of your applications for archival.</li>
<li>Move individual applications between test and production environments without copying other items still in test.</li>
<li>Use Powershell scripts as a way to document/store the settings for each application in your environment.</li>
<li>Share your solutions to difficult/complex application installations to IT Community Forums (please don’t share software files you don’t have the rights to redistribute :^) ).</li>
</ul>
<h4>Notes</h4>
<p>While running the Application Script Export Tool Wizard, Simply select one of the Deployment Shares already present in the Microsoft Deployment Toolkit 2010 Workbench. Then Select the Applications you wish to export, and the Target location they should be exported to.</p>
<p>Most applications should export without trouble 97-98% of the time. However it is generally a good idea to review the settings created by the tool to ensure that everything is correct.</p>
<p>This script will create one Powershell *.ps1 script file for each item selected in the wizard. If an Application has dependencies defined in the MDT 2010 Workbench, then the dependencies will also be included in the same *.ps1 file.</p>
<p>All Source Files imported into the Deployment Workbench when the Application was created will be copied to the Target Location.</p>
<p><strong>Limitations</strong></p>
<ul>
<li>You must have MDT 2010 installed on the same machine this tool is running on.</li>
<li>You must have your Deployment Share visible in the MDT 2010 Deployment workbench.</li>
<li>This tool will create one *.ps1 for each application Selected, and all dependent applications will be imported to the same *.ps1 file.</li>
<li>If you have hidden and or non-enabled applications defined, they will also be Displayed in the Application Script Export Tool Wizard.</li>
<li>This tool will create scripts with the –hidden and –enabled settings as defined in the workbench.</li>
<li>This tool will *<strong>not</strong>* export the Language Field. Language Field is not used in ZTIApplications.wsf</li>
<li>If you are exporting Sources, the files must be located in the Deployment Share, meaning that you can’t have a %ResourceRoot% at a different location from the %DeployRoot%.</li>
<li>If there were any errors in copying the Sources to the Target, there should be an<br />
“# ERROR – &lt;something&gt;”<br />
line present in the source.</li>
<li>Please ensure that all application items imported into MDT are placed in their own directory. Installing more than one Application Item from the same directory may result in duplicate files in the MDT system.</li>
</ul>
<h4>Links</h4>
<p><a href="http://deploymentlive.com/blog/MDTApplicationExport.zip">MDTApplicationExport.zip</a></p>
<h4>Further</h4>
<p>This tool has tremendous potential. Beyond just coping application settings between MDT 2010 Servers.</p>
<p>We are already using this tool here at Xtreme Consulting Services to create “repositories” of applications that can be used to quickly build out MDT 2010 deployments for our customers. A fullly functional MDT 2010 Litetouch Deployment System setup on site in Hours, not Days, or Weeks.</p>
<p>It could also be the start of a public repository of Applications for MDT Administrators. Although I have not yet figured out a great hosting site for this kind of community/forum. Have some ideas, drop me a line.</p>
<p><strong>Update</strong>: 11/13/09 &#8211; I updated the tool to generate scripts that support Powershell v1.0 better, and to fix a problem with applications with spaces in the shortname.</p>
<p>Keith</p>
<address><a href="http://keithga.com"><span style="color:#993300;">Keith Garner</span></a><span style="color:#993300;"> is a Deployment Specialist with </span><a href="http://deployment.xtremeconsulting.com/"><span style="color:#993300;">Xtreme Consulting Group</span></a></address>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmintner.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmintner.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmintner.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmintner.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tmintner.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tmintner.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tmintner.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tmintner.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmintner.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmintner.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmintner.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmintner.wordpress.com/169/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmintner.wordpress.com/169/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmintner.wordpress.com/169/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=169&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deployment.xtremeconsulting.com/2009/11/06/export-share-mdt-applications-new-tool/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ba37c28620c8ba69ccbbfad7a905e203?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">keithga</media:title>
		</media:content>
	</item>
		<item>
		<title>Capturing Debug Information from Client Scripts (New tool)</title>
		<link>http://deployment.xtremeconsulting.com/2009/11/05/capturing-debug-information-from-client-scripts/</link>
		<comments>http://deployment.xtremeconsulting.com/2009/11/05/capturing-debug-information-from-client-scripts/#comments</comments>
		<pubDate>Thu, 05 Nov 2009 19:30:48 +0000</pubDate>
		<dc:creator>keithga</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tmintner.wordpress.com/?p=118</guid>
		<description><![CDATA[(New for MDT 2010) From my previous post, I wrote that for MDT 2010, there is a new common command line parameter called “/debugcapture”. This command line parameter will disable the common MDT error handling functions and let any errors echo out to the console. This is great when calling MDT Client scripts directly from [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=118&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><em>(New for MDT 2010)</em></p>
<p>From my previous post, I wrote that for MDT 2010, there is a new common command line parameter called “/debugcapture”. This command line parameter will disable the common MDT error handling functions and let any errors echo out to the console.</p>
<p>This is great when calling MDT Client scripts directly from cscript.exe, however it is not helpful when calling from within a MDT Litetouch Task Sequence. Since the MDT 2010 Litetouch Stand Alone Task Sequencer does not capture the output from the client scripts for logging.</p>
<h4>Introducing ZTICscript</h4>
<p>To solve this problem, I developed a wrapper script called ZTICScript. It will call a client script with the new /debugcapture flag, capture any error output, and copy the error lines to the standard bdd.log system.</p>
<p>It’s been really great when developing new client scripts that may have errors, and speeds up the identification of bad code. As I mentioned in my earlier post, using the information captured with the /debugcapture flag, I can identify the line number and sometimes the variable name of of any errors.</p>
<p>Another cool thing about getting the output from /debugcapture rather than from the default error handler, is that it can also capture compile time errors. For example, if you have written a script with an unterminated string:</p>
<pre>wscript.echo "Unterminated string</pre>
<p>These errors are nasty, since the bdd.log will not display any errors from the script. Sometimes you may need to go into the smsts.log file to find out which script it was executing when it failed.</p>
<h3>Step 1 – Modify your TS.xml file.</h3>
<p>Open up your Ts.xml file ( %deployroot%\control\&lt;dir&gt;\ts.xml ), or ( %programfiles%\microsoft deployment toolkit\templates\client.xml ), and replace every instance of</p>
<pre>cscript.exe</pre>
<p>with</p>
<pre>cmd.exe /c %scriptroot%\zticscript.cmd</pre>
<p>For example, if you are trying to capture debugging information from the ZTINextPhase.wsf script, the command line should look like (single line):</p>
<pre>cmd.exe /c %scriptroot%\zticscript.cmd
"%SCRIPTROOT%\ZTINextPhase.wsf"</pre>
<h3>Step 2 – Create ZTICScript.cmd and ZTICScript_log.wsf.</h3>
<p>Get the script files from <a href="http://blog.deploymentlive.com/wp-content/uploads/blog.deploymentlive.com/2009/10/ZTICScript.zip">here</a>, and copy them to your %DeployRoot%\script directory.</p>
<p>That’s it!</p>
<p>Now, if there are any errors in your script that would normally be caught by the standard MDT Exception Handler, they will instead be output to the console and piped to the bdd.log file. Very helpful in scenarios where normal bdd.log files are not returning the correct information.</p>
<p>Please note, that for some reason, I have been unable to get this script to wrap around LTISysprep.wsf 100% of the time. I just haven’t had the time to debug what’s happening. I think it may have to do with the heavy resource requirements of sysprep.exe.</p>
<h3>Attachments:</h3>
<p><a href="http://blog.deploymentlive.com/wp-content/uploads/blog.deploymentlive.com/2009/10/ZTICScript.zip">ZTICScript.zip</a></p>
<p>Keith</p>
<address><a href="http://keithga.com"><span style="color:#993300;">Keith Garner</span></a><span style="color:#993300;"> is a Deployment Specialist with </span><a href="http://deployment.xtremeconsulting.com/"><span style="color:#993300;">Xtreme Consulting Group</span></a></address>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmintner.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmintner.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmintner.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmintner.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tmintner.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tmintner.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tmintner.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tmintner.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmintner.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmintner.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmintner.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmintner.wordpress.com/118/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmintner.wordpress.com/118/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmintner.wordpress.com/118/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=118&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deployment.xtremeconsulting.com/2009/11/05/capturing-debug-information-from-client-scripts/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ba37c28620c8ba69ccbbfad7a905e203?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">keithga</media:title>
		</media:content>
	</item>
		<item>
		<title>Troubleshooting Database Issues with MDT 2010</title>
		<link>http://deployment.xtremeconsulting.com/2009/11/04/troubleshooting-database-issues-with-mdt-2010/</link>
		<comments>http://deployment.xtremeconsulting.com/2009/11/04/troubleshooting-database-issues-with-mdt-2010/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 20:00:30 +0000</pubDate>
		<dc:creator>tmintner</dc:creator>
				<category><![CDATA[MDT 2010]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[VBscript]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MDT]]></category>
		<category><![CDATA[ztigather]]></category>

		<guid isPermaLink="false">http://tmintner.wordpress.com/?p=155</guid>
		<description><![CDATA[There have been a few really great posts on how to troubleshoot database connection issues with BDD and MDT over the past couple of years.  Ben Hunter wrote a great post on this here: http://blogs.technet.com/benhunter/archive/2007/07/10/bdd-2007-troubleshooting-database-issues.aspx.  However, if you try to do this with MDT 2010 you will get a few errors in the output.  In [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=155&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There have been a few really great posts on how to troubleshoot database connection issues with BDD and MDT over the past couple of years.  Ben Hunter wrote a great post on this here: <a title="http://blogs.technet.com/benhunter/archive/2007/07/10/bdd-2007-troubleshooting-database-issues.aspx" href="http://blogs.technet.com/benhunter/archive/2007/07/10/bdd-2007-troubleshooting-database-issues.aspx">http://blogs.technet.com/benhunter/archive/2007/07/10/bdd-2007-troubleshooting-database-issues.aspx</a>.  However, if you try to do this with MDT 2010 you will get a few errors in the output.  In MDT 2010 the structure of the scripts have changed somewhat and the functionality of ztigather has been extended to also gather additional information that now requires some compiled code.  So with MDT 2010, you can perform the same steps with the following modifications:</p>
<p>1. Create a folder on the client device and copy the following files from the deployment point to this folder:</p>
<ul>
<li>ZTIGather.wsf</li>
<li>ZTIGather.xml</li>
<li>ZTIUtility.vbs</li>
<li>CustomSettings.ini</li>
<li>ZTIDataAccess.vbs (new script file in MDT 2010 for accessing data sources)</li>
<li>Create a Tools folder and create an X86 and X64 folders underneath the Tools folder.  Copy the Microsoft.BDD.Utility.dll file from the Tools\X64 and Tools\X86 folders in your deployment share to your newly created Tools\X86 and Tools\X64 folder</li>
</ul>
<p>  2. Delete C:\MININT directory if it already exists. This folder can also be located at X:\MININT if the C drive is not available.</p>
<p><em><strong>NOTE: </strong>MDT stores configuration and progress information in the MININT folder, if this folder is not removed between tests then the results will be invalid.</em></p>
<p>  3. From the command prompt navigate to the newly created folder and execute the rule processing script using the following command:</p>
<blockquote><p><em>&#8220;cscript.exe ZTIGather.wsf /debug:true&#8221;</em></p></blockquote>
<p>      The script will then be processed and the results outputted to the command prompt and a log file ( .\MININT\SMSOSD\OSDLOGS\ZTIGather.log)</p>
<p><em><strong>NOTE: </strong>The script can be run within Windows PE or the host operating system.</em></p>
<p>  4. Review the results of the script.</p>
<p>Enjoy!</p>
<p>Tim Mintner is a Principal Consultant with Xtreme Consulting Group</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmintner.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmintner.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmintner.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmintner.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tmintner.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tmintner.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tmintner.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tmintner.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmintner.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmintner.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmintner.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmintner.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmintner.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmintner.wordpress.com/155/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=155&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deployment.xtremeconsulting.com/2009/11/04/troubleshooting-database-issues-with-mdt-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/240858a50784c41cedfbc35048e21064?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tmintner</media:title>
		</media:content>
	</item>
		<item>
		<title>Prevent machine from falling asleep.</title>
		<link>http://deployment.xtremeconsulting.com/2009/11/04/prevent-machine-from-falling-asleep/</link>
		<comments>http://deployment.xtremeconsulting.com/2009/11/04/prevent-machine-from-falling-asleep/#comments</comments>
		<pubDate>Wed, 04 Nov 2009 19:00:33 +0000</pubDate>
		<dc:creator>keithga</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://tmintner.wordpress.com/?p=160</guid>
		<description><![CDATA[Erik, asked about a post from last week regarding “Falling asleep on the job (task)&#8221;: Would you mind sharing that tool you wrote ? Also, is ES_CONTINUOUS and ES_SYSTEM_REQUIRED flags cleared when the system is rebooted? What I am thinking of is if you run a util that set the above at the beginning of [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=160&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Erik, asked about a post from last week regarding “Falling asleep on the job (task)&#8221;:</p>
<blockquote><p>Would you mind sharing that tool you wrote <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ?</p>
<p>Also, is ES_CONTINUOUS and ES_SYSTEM_REQUIRED flags cleared when the system is rebooted?</p>
<p>What I am thinking of is if you run a util that set the above at the beginning of the Lite Touch process. Would you need to run another util that that clears the EXECUTION_STATE flag at the end of the Lite Touch sequence? Or will it be cleared automatically when you reboot the computer using a Restart Computer entry in the Task Sequence?</p></blockquote>
<h4><strong>More background</strong></h4>
<p>When you set the Execution state, although you are setting the state of the entire system, the Operating System will only keep track of the requested state during the lifespan of the Thread that made the call. Once the thread (or process) exits, the request is no longer valid, and the system goes back to whatever the last state was.</p>
<p>In MDT 2010, this was easily solved by making the call to SetThreadExecutionState() from within the litetouch.wsf script. Since the Litetouch.wsf script thread stayed alive during the Task Execution phase (in the background), that worked out fine.</p>
<p>Also, the Thread Execution State does not persist across reboots, so cleanup was not necessary, just exit out of litetouch.wsf, and the machine can go into hibernation.</p>
<h4><strong>Side Effects</strong></h4>
<p>This *may* have a side effect. If you choose to display the final Summary Dialog Box at the end of the Litetouch process, the machine will stay alive during that time, until the user comes back to the machine.</p>
<h4><strong>New Tool</strong></h4>
<p>Just in case you have “Other” tasks that require you to keep a machine alive, here is a tool I wrote back in 2005 (cleaned up here). This *.exe tool will keep a Windows Machine alive while it is running. Meaning the machine won’t be able to fall asleep either by hibernate or by suspend.</p>
<p>The tool has to remain running while you want the machine to stay awake. So you can run it with the command line:</p>
<pre>start KeepAlive.exe</pre>
<p>This program is a Windows Program and will run with no user interface. You can see if it’s running by checking the task manager.</p>
<p>When you are done, just run the command again (Either with or without the –close flag:</p>
<pre>KeepAlive.exe</pre>
<p>If KeepAlive.exe detects that another instance of itself is running in the background holding up Thread Execution State, the new instance of KeepAlive.exe will signal to the previous instance to stop and release the Execution State.</p>
<p>The source code is included</p>
<h3>Link</h3>
<p><a href="http://www.deploymentlive.com/blog/KeepAlive.zip">KeepAlive.zip</a></p>
<p>Keith</p>
<address><a href="http://keithga.com"><span style="color:#993300;">Keith Garner</span></a><span style="color:#993300;"> is a Deployment Specialist with </span><a href="http://deployment.xtremeconsulting.com/"><span style="color:#993300;">Xtreme Consulting Group</span></a></address>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tmintner.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tmintner.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tmintner.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tmintner.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tmintner.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tmintner.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tmintner.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tmintner.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tmintner.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tmintner.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tmintner.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tmintner.wordpress.com/160/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tmintner.wordpress.com/160/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tmintner.wordpress.com/160/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=deployment.xtremeconsulting.com&amp;blog=9840217&amp;post=160&amp;subd=tmintner&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://deployment.xtremeconsulting.com/2009/11/04/prevent-machine-from-falling-asleep/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/ba37c28620c8ba69ccbbfad7a905e203?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">keithga</media:title>
		</media:content>
	</item>
	</channel>
</rss>