<?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>Dalle &#38; DXter &#187; Deployment</title>
	<atom:link href="http://poweradmin.se/blog/tag/deployment/feed/" rel="self" type="application/rss+xml" />
	<link>http://poweradmin.se/blog</link>
	<description>The Power Administrators</description>
	<lastBuildDate>Sat, 03 Mar 2012 21:54:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>More Deployment and more PowerShell</title>
		<link>http://poweradmin.se/blog/2011/11/28/more-deployment-and-more-powershell/</link>
		<comments>http://poweradmin.se/blog/2011/11/28/more-deployment-and-more-powershell/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 08:24:12 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[MDT 2012]]></category>
		<category><![CDATA[Mindgrape]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[SCCM 2012]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2011/11/28/more-deployment-and-more-powershell/</guid>
		<description><![CDATA[I will blog more about Deployment and PowerShell from now on. This is my second week at Mindgrape. I will be working more with deployment solutions likeMDT 2010/2012, SCCM 2007/2012 and scripting with PowerShelland Windows Servers. Plus application packaging with &#8230; <a href="http://poweradmin.se/blog/2011/11/28/more-deployment-and-more-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2011%252F11%252F28%252Fmore-deployment-and-more-powershell%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2Fvjx7nb%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22More%20Deployment%20and%20more%20PowerShell%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://poweradmin.se/blog/wp-content/uploads/Drive-Drive-Windows-icon.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Drive-Drive-Windows-icon" border="0" alt="Drive-Drive-Windows-icon" src="http://poweradmin.se/blog/wp-content/uploads/Drive-Drive-Windows-icon_thumb.png" width="128" height="128"></a></p>
<p>I will blog more about Deployment and PowerShell from now on.</p>
<p>This is my second week at <a href="http://www.mindgrape.se/">Mindgrape</a>.</p>
<p>I will be working more with deployment solutions like<br />MDT 2010/2012, SCCM 2007/2012 and scripting with PowerShell<br />and Windows Servers. Plus application packaging with Wise and Admin Studio.</p>
<p>And I will blog at least once a week.</p>
<p>&nbsp;</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:4d827ba9-e2e7-40d4-834a-b3a8de46a48c" class="wlWriterEditableSmartContent">Technorati-taggar: <a href="http://technorati.com/tags/Deployment" rel="tag">Deployment</a>,<a href="http://technorati.com/tags/Mindgrape" rel="tag">Mindgrape</a>,<a href="http://technorati.com/tags/MDT+2012" rel="tag">MDT 2012</a>,<a href="http://technorati.com/tags/SCCM+2012" rel="tag">SCCM 2012</a>,<a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a></div>
<div class="shr-publisher-2779"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F11%2F28%2Fmore-deployment-and-more-powershell%2F' data-shr_title='More+Deployment+and+more+PowerShell'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F11%2F28%2Fmore-deployment-and-more-powershell%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F11%2F28%2Fmore-deployment-and-more-powershell%2F' data-shr_title='More+Deployment+and+more+PowerShell'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2011/11/28/more-deployment-and-more-powershell/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Problem to add and create deployment shares in MDT 2010</title>
		<link>http://poweradmin.se/blog/2011/07/27/problem-to-add-and-create-deployment-shares-in-mdt-2010/</link>
		<comments>http://poweradmin.se/blog/2011/07/27/problem-to-add-and-create-deployment-shares-in-mdt-2010/#comments</comments>
		<pubDate>Wed, 27 Jul 2011 10:54:48 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[MDT 2010]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2011/07/27/problem-to-add-and-create-deployment-shares-in-mdt-2010/</guid>
		<description><![CDATA[I had some problems (major ones) with my local MDT 2010 last night. After a day with lots of scripting against MDT 2010 with PowerShell my MDT 2010 installation just gave me errors when I wanted to add a new &#8230; <a href="http://poweradmin.se/blog/2011/07/27/problem-to-add-and-create-deployment-shares-in-mdt-2010/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2011%252F07%252F27%252Fproblem-to-add-and-create-deployment-shares-in-mdt-2010%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Problem%20to%20add%20and%20create%20deployment%20shares%20in%20MDT%202010%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://poweradmin.se/blog/wp-content/uploads/ammo-4-icon.png"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="ammo-4-icon" border="0" alt="ammo-4-icon" src="http://poweradmin.se/blog/wp-content/uploads/ammo-4-icon_thumb.png" width="100" height="100"></a></p>
<p>I had some problems (major ones) with my local MDT 2010 last night.</p>
<p>After a day with lots of scripting against MDT 2010 with PowerShell my MDT 2010 installation just gave me errors when I wanted to add a new deployment share or when I wanted to open old ones:</p>
<blockquote><p>object reference not set to an instance of an object<br />Microsoft.BDD.Wizards.Controls.DeploymentPointProgress.WizardProcessing</p>
</blockquote>
<p>In my workbench the Deployment Shares folder was empty, no shares there. But when I looked in the user.config file I found that DS004 was in use there.</p>
<p>So my solution was to delete the whole file and restart the workbench.<br />The file can be found here, <font size="2"><strong>C:\Users\currentUser\AppData\Roaming\Microsoft\Microsoft Deployment Toolkit</strong>.</font></p>
<p><font size="2">[Update]<br /></font>DXter sent me this PowerShell oneliner after that I wrote this blog post,&nbsp; </p>
<p>Remove-Item -Path &#8220;$ENV:USERPROFILE\AppData\Roaming\Microsoft\Microsoft Deployment Toolkit\user.config&#8221;</p>
<p>Thanks buddy!</p>
<div class="shr-publisher-2643"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F07%2F27%2Fproblem-to-add-and-create-deployment-shares-in-mdt-2010%2F' data-shr_title='Problem+to+add+and+create+deployment+shares+in+MDT+2010'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F07%2F27%2Fproblem-to-add-and-create-deployment-shares-in-mdt-2010%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F07%2F27%2Fproblem-to-add-and-create-deployment-shares-in-mdt-2010%2F' data-shr_title='Problem+to+add+and+create+deployment+shares+in+MDT+2010'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2011/07/27/problem-to-add-and-create-deployment-shares-in-mdt-2010/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Using Task Sequence as display name during LTI in MDT 2010</title>
		<link>http://poweradmin.se/blog/2011/01/29/using-task-sequence-as-display-name-during-lti-in-mdt-2010/</link>
		<comments>http://poweradmin.se/blog/2011/01/29/using-task-sequence-as-display-name-during-lti-in-mdt-2010/#comments</comments>
		<pubDate>Sat, 29 Jan 2011 19:59:05 +0000</pubDate>
		<dc:creator>DXter</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[DXter]]></category>
		<category><![CDATA[MDT 2010]]></category>
		<category><![CDATA[Microsoft Deployment Toolkit]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2011/01/29/using-task-sequence-as-display-name-during-lti-in-mdt-2010/</guid>
		<description><![CDATA[For some time now, I have had the _SMSTSORGNAME variable in CustomSettings.ini set to “DXter’s Deployment Solution” as a display name during deployments in my home environments. However, since I do a lot of installations in my home environments, sometimes &#8230; <a href="http://poweradmin.se/blog/2011/01/29/using-task-sequence-as-display-name-during-lti-in-mdt-2010/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2011%252F01%252F29%252Fusing-task-sequence-as-display-name-during-lti-in-mdt-2010%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Using%20Task%20Sequence%20as%20display%20name%20during%20LTI%20in%20MDT%202010%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>For some time now, I have had the _SMSTSORGNAME variable in CustomSettings.ini set to “DXter’s Deployment Solution” as a display name during deployments in my home environments. However, since I do a lot of installations in my home environments, sometimes I need to know what I am actually deploying for the moment during the installation process.</p>
<p>&#160;</p>
<p>One of the core strengths of MDT 2010 is its rich set of rules and variables. MDT has a lot of variables by default and one of them is %TaskSequenceName% which is a dynamic value of the name of the task sequence that is currently running.</p>
<p>&#160;</p>
<p>So I thought that I should try to edit my CustomSettings.ini to tell _SMSTSORGNAME to set its value dynamic during installation based on the name of the current task sequence! <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-winkingsmile6.png" /></p>
<p>&#160;</p>
<p>So all I hade to do was to change one line in DeploymentShare\Control\CustomSettings.ini to this:</p>
<p><strong>_SMSTSORGNAME=%TaskSequenceName%</strong></p>
<p>&#160;</p>
<p>That’s it! Now lets try if it works in real life! <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-winkingsmile6.png" /></p>
<p>&#160;</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image464.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb398.png" width="644" height="435" /></a></p>
<p><strong>I select my Windows 7 Enterprise x64 task sequence that also does an online installation of the Swedish language pack.</strong></p>
<p>&#160;</p>
<p>&#160;</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image465.png"><img style="background-image: none; border-right-width: 0px; margin: ; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb399.png" width="644" height="435" /></a></p>
<p><strong>It works like a charm! The organization name in MDT during the installation is now the name of my selected task sequence! <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-winkingsmile6.png" /></strong></p>
<p><strong>&#160;</strong></p>
<p><strong>&#160;</strong></p>
<p>// Fredrik “DXter” Jonsson</p>
<p>&#160;</p>
<p>P.S The Iron Man 2 background in Windows PE is NOT default in MDT 2010. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticon-winkingsmile6.png" /> D.S</p>
<div class="shr-publisher-2304"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F01%2F29%2Fusing-task-sequence-as-display-name-during-lti-in-mdt-2010%2F' data-shr_title='Using+Task+Sequence+as+display+name+during+LTI+in+MDT+2010'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F01%2F29%2Fusing-task-sequence-as-display-name-during-lti-in-mdt-2010%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2011%2F01%2F29%2Fusing-task-sequence-as-display-name-during-lti-in-mdt-2010%2F' data-shr_title='Using+Task+Sequence+as+display+name+during+LTI+in+MDT+2010'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2011/01/29/using-task-sequence-as-display-name-during-lti-in-mdt-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automated boot image management in MDT 2010 and WDS using PowerShell</title>
		<link>http://poweradmin.se/blog/2010/07/25/automated-boot-image-management-in-mdt-2010-and-wds-using-powershell/</link>
		<comments>http://poweradmin.se/blog/2010/07/25/automated-boot-image-management-in-mdt-2010-and-wds-using-powershell/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 12:32:07 +0000</pubDate>
		<dc:creator>DXter</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[PowerShell Blogs]]></category>
		<category><![CDATA[DXter]]></category>
		<category><![CDATA[MDT 2010]]></category>
		<category><![CDATA[Power Shell]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2010/07/25/automated-boot-image-management-in-mdt-2010-and-wds-using-powershell/</guid>
		<description><![CDATA[One of my favorite features in MDT 2010 is that everything you do in the GUI is executing a PowerShell command that is using the cmd-let’s that comes with the MDT 2010 PowerShell snapin. &#160; This gives excellent opportunities for &#8230; <a href="http://poweradmin.se/blog/2010/07/25/automated-boot-image-management-in-mdt-2010-and-wds-using-powershell/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2010%252F07%252F25%252Fautomated-boot-image-management-in-mdt-2010-and-wds-using-powershell%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Automated%20boot%20image%20management%20in%20MDT%202010%20and%20WDS%20using%20PowerShell%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>One of my favorite features in MDT 2010 is that everything you do in the GUI is executing a PowerShell command that is using the cmd-let’s that comes with the MDT 2010 PowerShell snapin. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticonsmile1.png" /></p>
<p>&#160;</p>
<p>This gives excellent opportunities for scripting geeks such as Dalle and myself since we can automate and do exactly everything what the GUI does, since the GUI itself is using PowerShell behind the scenes. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticonwinkingsmile1.png" /></p>
<p>&#160;</p>
<p>This weekend I upgraded my private MDT environment to MDT 2010 Update 1 which was a very smooth operation. I have a very simple MDT environment at home with a single WDS/MDT server. Since I wanted to have the new and cool background picture in Windows PE that comes with Update 1, I had to update the boot images and import them to the WDS server, which in my case was on the same machine.</p>
<p>&#160;</p>
<p>Therefore I created this little PowerShell script that does that for me automatically. The script is using the PowerShell cmd-let <strong>Update-MDTDeploymentShare</strong> and PS-Drive provider that comes with MDT 2010 snaping. It is also using <strong>wdsutil</strong> which is a command line based tool for managing WDS.</p>
<p>&#160;</p>
<p>The script does the following tasks:</p>
<p>1. Generates completely new and updated boot images for your deployment share.</p>
<p>2. Removes you previous LiteTouch boot images from your WDS server.</p>
<p>3. Imports the newly created LiteTouch boot images into your WDS server.</p>
<p>4. Set each boot image as default boot image for respective architecture.</p>
<p>&#160;</p>
<p>&#160;</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image418.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb352.png" width="644" height="420" /></a></p>
<p> <strong>I must say, it works really nice. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticonsmile1.png" /></strong>   <br /> 
<p>&#160;</p>
<p>&#160;</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image419.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" class="wlDisabledImage" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb353.png" width="644" height="382" /></a></p>
<p> <strong>“Do more with less…” – the PowerShell way. <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticonwinkingsmile1.png" /></strong>   <br /> 
<p>&#160;</p>
<p>The script is defaulting to MDT default names, descriptions and file locations. If you have changed any of this, please update the script according to your environment. Some people may ask why I choose to use <strong>Remove-Image</strong> and <strong>Add-Image</strong> and not <strong>Replace-Image.</strong> Well, the answer is quite simple. If I have deleted the boot image in WDS, the script would not be able to execute since there is no image to replace. If we split it up in to two commands, we will always be able to recreate our boot image in WDS regardless if the boot image is present or not, since only the <strong>Remove-Image</strong> command will fail and not the <strong>Add-Image.</strong></p>
<p><strong>&#160;</strong></p>
<p>So right now I have scheduled this script to run on my WDS/MDT server each midnight. If I add any new storage or NIC drivers into MDT, they will be injected automatically into the boot images during the next scheduled generation of boot images during the night and I “never” have to open the WDS console manually again! <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-openmouthedsmile" alt="Open-mouthed smile" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticonopenmouthedsmile.png" /></p>
<p>&#160;</p>
<p>Here is the script (don’t forget to modify it according to your installation):</p>
<p>&#160;</p>
<p><strong>Add-PSSnapIn Microsoft.BDD.PSSnapIn      <br /></strong></p>
<p><strong>New-PSDrive -Name &quot;DS001&quot; -PSProvider MDTProvider -Root &quot;C:\DeploymentShare&quot;      <br /></strong></p>
<p><strong>Update-MDTDeploymentShare -path &quot;DS001:&quot; -Force –Verbose      <br /></strong></p>
<p><strong>wdsutil /Remove-Image /Image:&quot;Lite Touch Windows PE (x86)&quot; /ImageType:Boot /Architecture:x86      <br /></strong></p>
<p><strong>wdsutil /Remove-Image /Image:&quot;Lite Touch Windows PE (x64)&quot; /ImageType:Boot /Architecture:x64      <br /></strong></p>
<p><strong>wdsutil /Verbose /Progress /Add-Image /ImageFile:C:\DeploymentShare\Boot\LiteTouchPE_x86.wim /ImageType:Boot      <br /></strong></p>
<p><strong>wdsutil /Verbose /Progress /Add-Image /ImageFile:C:\DeploymentShare\Boot\LiteTouchPE_x64.wim /ImageType:Boot      <br /></strong></p>
<p><strong>wdsutil /Verbose /Set-Server /BootImage:Boot\x86\images\LiteTouchPE_x86.wim /Architecture:x86      <br /></strong></p>
<p><strong>wdsutil /Verbose /Set-Server /BootImage:Boot\x64\images\LiteTouchPE_x64.wim /Architecture:x64</strong></p>
<p>&#160;</p>
<p>I must say, thank god for <strong>PowerShell</strong>! <img style="border-bottom-style: none; border-right-style: none; border-top-style: none; border-left-style: none" class="wlEmoticon wlEmoticon-redheart" alt="Red heart" src="http://poweradmin.se/blog/wp-content/uploads/wlEmoticonredheart.png" /></p>
<p>&#160;</p>
<p>// Fredrik “DXter” Jonsson</p>
<div class="shr-publisher-2073"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F07%2F25%2Fautomated-boot-image-management-in-mdt-2010-and-wds-using-powershell%2F' data-shr_title='Automated+boot+image+management+in+MDT+2010+and+WDS+using+PowerShell'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F07%2F25%2Fautomated-boot-image-management-in-mdt-2010-and-wds-using-powershell%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F07%2F25%2Fautomated-boot-image-management-in-mdt-2010-and-wds-using-powershell%2F' data-shr_title='Automated+boot+image+management+in+MDT+2010+and+WDS+using+PowerShell'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2010/07/25/automated-boot-image-management-in-mdt-2010-and-wds-using-powershell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deployment Share Sorter</title>
		<link>http://poweradmin.se/blog/2010/01/24/deployment-share-sorter/</link>
		<comments>http://poweradmin.se/blog/2010/01/24/deployment-share-sorter/#comments</comments>
		<pubDate>Sun, 24 Jan 2010 11:40:47 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[PowerShell Blogs]]></category>
		<category><![CDATA[MDT 2010]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2010/01/24/deployment-share-sorter/</guid>
		<description><![CDATA[When working with MDT folders you want to sort the folders by name to make It look better. This is not a task you do in the Workbench. I found a great script for this by Michael Niehaus at Microsoft. &#8230; <a href="http://poweradmin.se/blog/2010/01/24/deployment-share-sorter/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2010%252F01%252F24%252Fdeployment-share-sorter%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Deployment%20Share%20Sorter%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>When working with MDT folders you want to sort   <br />the folders by name to make It look better.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image354.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb288.png" width="244" height="177" /></a> </p>
<p>This is not a task you do in the Workbench.</p>
<p>I found a great script for this by Michael Niehaus   <br />at Microsoft. It can be found <a href="http://blogs.technet.com/mniehaus/archive/2009/09/09/sorting-the-contents-of-an-mdt-2010-deployment-share.aspx" target="_blank">here</a>.</p>
<p>It will sort every folder in the Deployment Share structure.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image355.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb289.png" width="244" height="172" /></a> </p>
<p>The script will sort the structure by making a _TEMP_   <br />folder and move the folder there and then move them    <br />back sorted one by one.</p>
<p>You can do this manually as well in the Workbench   <br />but It’s a big job then.</p>
<p>In my folder structure the comments will be deleted   <br />this way.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image356.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb290.png" width="244" height="202" /></a>&#160; </p>
<p>If I move (copy, paste, delete old folder) a folder    <br />in the Workbench I will get the same result.</p>
<p>The property “Enable this folder” seems to work just fine   <br />with moving folders.</p>
<p>Is this a known bug/feature?</p>
<p>I will write a script that fixes this for me later on next   <br />week. Have to do another script first <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&#160;</p>
<p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:8fb1650e-ea22-4766-9cf7-b66343bd665c" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/PowerShell" rel="tag">PowerShell</a>,<a href="http://technorati.com/tags/Deployment" rel="tag">Deployment</a>,<a href="http://technorati.com/tags/MDT+2010" rel="tag">MDT 2010</a></div></p>
<div class="shr-publisher-1646"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F24%2Fdeployment-share-sorter%2F' data-shr_title='Deployment+Share+Sorter'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F24%2Fdeployment-share-sorter%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F24%2Fdeployment-share-sorter%2F' data-shr_title='Deployment+Share+Sorter'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2010/01/24/deployment-share-sorter/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Manage a remote MDT 2010 solution</title>
		<link>http://poweradmin.se/blog/2010/01/23/manage-a-remote-mdt-2010-solution/</link>
		<comments>http://poweradmin.se/blog/2010/01/23/manage-a-remote-mdt-2010-solution/#comments</comments>
		<pubDate>Sat, 23 Jan 2010 16:14:46 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[MDT 2010]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2010/01/23/manage-a-remote-mdt-2010-solution/</guid>
		<description><![CDATA[This is a follow up on my last blog post about using PowerShell from a Windows 7 machine against a MDT 2010 solution (server). It’s a how to use the Workbench on the Windows 7 machine to manage a MDT &#8230; <a href="http://poweradmin.se/blog/2010/01/23/manage-a-remote-mdt-2010-solution/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2010%252F01%252F23%252Fmanage-a-remote-mdt-2010-solution%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Manage%20a%20remote%20MDT%202010%20solution%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>This is a follow up on my last blog post about   <br />using PowerShell from a Windows 7 machine    <br />against a MDT 2010 solution (server).</p>
<p>It’s a how to use the Workbench on the   <br />Windows 7 machine to manage a MDT 2010 solution    <br />on a remote server.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image349.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb283.png" width="289" height="156" /></a> </p>
<p>First of all you need to go in to the Workbench   <br />and the components section.</p>
<p>Then select Windows Automation Installation Kit x86 or x64   <br />and download it by push the download button. It’s a large    <br />file ~1 GB.</p>
<p>And when It is downloaded, select it again (it’s now under the downloaded section) and push the install button.</p>
<p>Now choose Open Deployment Share on the right side of the workbench.</p>
<p>The path should be like <a href="file://\\server\deploymentshare$">\\server\deploymentshare$</a></p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image350.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb284.png" width="244" height="202" /></a> </p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image351.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb285.png" width="244" height="202" /></a> </p>
<p>Now you got the same view on your Windows 7 machine   <br />as on the MDT 2010 server.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image352.png"><img style="border-bottom: 0px; border-left: 0px; display: inline; border-top: 0px; border-right: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb286.png" width="388" height="209" /></a> </p>
</p>
<p>I love this <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>But I don’t love the WAIK part, 1 GB of installation to be able to   <br />do remote administration is not so good!</p>
<p>&#160;</p>
<p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a7c91569-48c4-4b20-8fe7-6434207ee22c" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/MDT+2010" rel="tag">MDT 2010</a>,<a href="http://technorati.com/tags/Deployment" rel="tag">Deployment</a></div></p>
<div class="shr-publisher-1635"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F23%2Fmanage-a-remote-mdt-2010-solution%2F' data-shr_title='Manage+a+remote+MDT+2010+solution'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F23%2Fmanage-a-remote-mdt-2010-solution%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F23%2Fmanage-a-remote-mdt-2010-solution%2F' data-shr_title='Manage+a+remote+MDT+2010+solution'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2010/01/23/manage-a-remote-mdt-2010-solution/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Adding (your smart card) drivers to your WIM-image using offline servicing</title>
		<link>http://poweradmin.se/blog/2010/01/05/adding-your-smart-card-drivers-to-your-wim-image-using-offline-servicing/</link>
		<comments>http://poweradmin.se/blog/2010/01/05/adding-your-smart-card-drivers-to-your-wim-image-using-offline-servicing/#comments</comments>
		<pubDate>Tue, 05 Jan 2010 14:06:44 +0000</pubDate>
		<dc:creator>DXter</dc:creator>
				<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Gemalto]]></category>
		<category><![CDATA[PKI]]></category>
		<category><![CDATA[DXter]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2010/01/05/adding-your-smart-card-drivers-to-your-wim-image-using-offline-servicing/</guid>
		<description><![CDATA[Yesterday in my last post Always include your smart card drivers in your deployment image! I said that you should always include your mini drivers for your smart cards in your deployment image. Dalle thought that I should do a &#8230; <a href="http://poweradmin.se/blog/2010/01/05/adding-your-smart-card-drivers-to-your-wim-image-using-offline-servicing/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2010%252F01%252F05%252Fadding-your-smart-card-drivers-to-your-wim-image-using-offline-servicing%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Adding%20%28your%20smart%20card%29%20drivers%20to%20your%20WIM-image%20using%20offline%20servicing%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Yesterday in my last post <a href="http://poweradmin.se/blog/2010/01/04/always-include-your-smart-card-drivers-in-your-deployment-image/">Always include your smart card drivers in your deployment image! </a>I said that you should always include your mini drivers for your smart cards in your deployment image. Dalle thought that I should do a follow up with a step by step on how to do so. <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Personally, I really like and use the Gemalto .NET cards. So first we go to <a href="http://catalog.update.microsoft.com/">http://catalog.update.microsoft.com/</a> and search for “Gemalto .NET”.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image288.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb222.png" width="594" height="368" /></a></p>
<p>&#160;</p>
<p>&#160;</p>
<p>In this example we to save the cab file on my desktop.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image289.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb223.png" width="531" height="298" /></a></p>
<p>&#160;</p>
<p>&#160;</p>
<p>If we take a look at my desktop, we can clearly see that I now have a new folder called &quot;Gemalto &#8211; Input &#8211; Gemalto Minidriver for .NET Smart Card&quot; with a cab file in it.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image290.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb224.png" width="525" height="319" /></a></p>
<p>&#160;</p>
<p>&#160;</p>
<p>Now we need to prepare our cab file. We extract the content of our cab file using Windows Explorer (or WinRAR) and remove the original cab file.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image291.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb225.png" width="525" height="371" /></a></p>
<p>&#160;</p>
<p>&#160;</p>
<p>Now we have our prepared driver that is ready to be injected into our WIM-file. <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  On my desktop I have a Windows 7 Enterprise x64 WIM image. I open up DISM and mount the the image to my mount directory with the command <strong>dism /mount-wim /wimfile:install.wim /index:1 /mountdir:c:\mount</strong></p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image292.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb226.png" width="522" height="265" /></a></p>
<p>&#160;</p>
<p>&#160;</p>
<p>If we open up C:\mount we can clearly see that the our WIM-image has been mounted in our mount folder.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image293.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb227.png" width="523" height="262" /></a></p>
<p>&#160;</p>
<p>&#160;</p>
<p>First we query our mounted WIM-file for drivers to confirm that it doesn’t have our Gemalto .NET driver with the command <strong>dism /image:c:\mount /get-drivers</strong>.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image294.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb228.png" width="524" height="266" /></a></p>
<p>&#160;</p>
<p>&#160;</p>
<p>Clearly, we have only one OEM driver right now. Now lets try to add our driver using the command <strong>dism /image:c:\mount /add-driver /driver:&quot;Gemalto &#8211; Input &#8211; Gemalto Minidriver for .NET Smart Card&quot; /recurse</strong>. Now DISM will search that folder for any drivers and will add them to our image.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image301.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb235.png" width="525" height="267" /></a></p>
<p>&#160;</p>
<p>&#160;</p>
<p>Lets try <strong>dism /image:c:\mount /get-drivers </strong>again to confirm that our driver has really been installed.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image296.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb230.png" width="523" height="331" /></a></p>
<p>&#160;</p>
<p>&#160;</p>
<p>Now our Gemalto .NET driver is injected in our WIM-file! Sweet! <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Now all we need to do is to unmount our image and commit the changes using the command <strong>dism /unmount-wim /mountdir:c:\mount /commit</strong>.</p>
<p><a href="http://poweradmin.se/blog/wp-content/uploads/image297.png"><img style="border-right-width: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="http://poweradmin.se/blog/wp-content/uploads/image_thumb231.png" width="527" height="305" /></a></p>
<p>&#160;</p>
<p>&#160;</p>
<p>Thats it folks! Now our image has our Gemalto.NET minidriver installed and you can straight away import the image to your WDS/MDT/SCCM deployment solution. Now when you insert your smartcard in a deployed client, it will automatically install the Gemalto.NET driver from the local driver store. Pretty cool huh? <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&#160;</p>
<p>&#160;</p>
<p>Like <a href="http://en.wikipedia.org/wiki/Raymond_Stantz">Raymond Stantz</a> in the Ghostbusters said: “Well that wasn&#8217;t such a chore now, was it?” <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>&#160;</p>
<p>&#160;</p>
<p>// Fredrik “DXter” Jonsson</p>
<div class="shr-publisher-1344"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F05%2Fadding-your-smart-card-drivers-to-your-wim-image-using-offline-servicing%2F' data-shr_title='Adding+%28your+smart+card%29+drivers+to+your+WIM-image+using+offline+servicing'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F05%2Fadding-your-smart-card-drivers-to-your-wim-image-using-offline-servicing%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F05%2Fadding-your-smart-card-drivers-to-your-wim-image-using-offline-servicing%2F' data-shr_title='Adding+%28your+smart+card%29+drivers+to+your+WIM-image+using+offline+servicing'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2010/01/05/adding-your-smart-card-drivers-to-your-wim-image-using-offline-servicing/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Always include your smart card drivers in your deployment image!</title>
		<link>http://poweradmin.se/blog/2010/01/04/always-include-your-smart-card-drivers-in-your-deployment-image/</link>
		<comments>http://poweradmin.se/blog/2010/01/04/always-include-your-smart-card-drivers-in-your-deployment-image/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 18:42:44 +0000</pubDate>
		<dc:creator>DXter</dc:creator>
				<category><![CDATA[Gemalto]]></category>
		<category><![CDATA[PKI]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[DXter]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2010/01/04/always-include-your-smart-card-drivers-in-your-deployment-image/</guid>
		<description><![CDATA[One of the cool things in Windows 7 and Windows Server 2008 R2 is the dynamic installation of card modules through WSUS/Windows Updates. This means that if you insert a smart card into your Windows 7 box it is automatically &#8230; <a href="http://poweradmin.se/blog/2010/01/04/always-include-your-smart-card-drivers-in-your-deployment-image/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2010%252F01%252F04%252Falways-include-your-smart-card-drivers-in-your-deployment-image%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Always%20include%20your%20smart%20card%20drivers%20in%20your%20deployment%20image%21%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>One of the cool things in Windows 7 and Windows Server 2008 R2 is the dynamic installation of card modules through WSUS/Windows Updates. This means that if you insert a smart card into your Windows 7 box it is automatically installed through Windows Update. This is really cool and can simplify smart card installations a lot for home users and external partners.</p>
<p>Now people ask, what about the Gemalto .NET cards? They are using the Microsoft Base CSP and their drivers are included in Windows Vista. Yes, it is true that the Base CSP and the drivers for Gemalto .NET are included in Vista. <strong>But they are not included in Windows 7! Only the Base CSP is installed by default in Windows 7 / Windows Server 2008R2!</strong></p>
<p>For a regular user, this usually is not a problem. Windows 7 can even install the necessary mini driver at the login prompt and will do so by default. But administrators may have bigger problems. Lets go through the requirements for this dynamic installation of smart cards to work:</p>
<p>&#160;</p>
<p>1. The client has access to Windows Update/WSUS using the local network or internet.</p>
<p>2. The card is compliant with the Microsoft Base CSP and has it’s card modules available on Windows Update.</p>
<p>3. The system automatically installs drivers for your hardware through Windows Update (which is disable by default on Windows Server 2008 R2)</p>
<p>&#160;</p>
<p>The funny thing for administrator is this: Say that you have a security policy that says that administrators can only authenticate them self using smart cards. They try to login to Windows Server 2008 R2 box and can not login since the drivers for the card are not installed and will not be installed automatically (by default). In other words, you need to authenticate with your smart card to be able to install the the mini driver for your smart card. <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  The same thing applies if the card module is not on Windows Update or if the machine has no network or internet access to be able to install the driver.</p>
<p>&#160;</p>
<p>So what happens if I add my card drivers to the driver store in my MDT/WDS solution? Won’t it be installed when the client is being installed? <strong>No. The UPNP scan only reports available hardware and install the necessary drivers for the exact hardware the client is using. If the smart card is not inserted during installation, the drivers for it will not be installed!</strong></p>
<p>&#160;</p>
<p>How do we resolve this issue? Well, if we have SCCM we can make the driver package for Gemalto .NET a mandatory package that will be installed with the operating system no matter what. If you don’t have SCCM, a very easy way to deal with this is to inject the drivers to your WIM image using offline servicing. In other words:</p>
<p><strong>Always include your smart card drivers in your deployment image! <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </strong></p>
<p><strong>&#160;</strong></p>
<p><strong>Update: A step by step guide can be found here: <a title="http://poweradmin.se/blog/2010/01/05/adding-your-smart-card-drivers-to-your-wim-image-using-offline-servicing/" href="http://poweradmin.se/blog/2010/01/05/adding-your-smart-card-drivers-to-your-wim-image-using-offline-servicing/">http://poweradmin.se/blog/2010/01/05/adding-your-smart-card-drivers-to-your-wim-image-using-offline-servicing/</a></strong></p>
<p><strong>&#160;</strong></p>
<p>// Fredrik “DXter” Jonsson</p>
<div class="shr-publisher-1319"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F04%2Falways-include-your-smart-card-drivers-in-your-deployment-image%2F' data-shr_title='Always+include+your+smart+card+drivers+in+your+deployment+image%21'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F04%2Falways-include-your-smart-card-drivers-in-your-deployment-image%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2010%2F01%2F04%2Falways-include-your-smart-card-drivers-in-your-deployment-image%2F' data-shr_title='Always+include+your+smart+card+drivers+in+your+deployment+image%21'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2010/01/04/always-include-your-smart-card-drivers-in-your-deployment-image/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>New Author to poweradmin.se</title>
		<link>http://poweradmin.se/blog/2009/10/18/new-author-to-poweradmin-se/</link>
		<comments>http://poweradmin.se/blog/2009/10/18/new-author-to-poweradmin-se/#comments</comments>
		<pubDate>Sun, 18 Oct 2009 15:07:49 +0000</pubDate>
		<dc:creator>Dalle</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Author]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[DXter]]></category>
		<category><![CDATA[PKI]]></category>

		<guid isPermaLink="false">http://poweradmin.se/blog/2009/10/18/new-author-to-poweradmin-se/</guid>
		<description><![CDATA[My good friend Fredrik “DXter” Jonsson will join me from now on and be Co-Author for this blog. He is one of the best I know on PKI and Ubuntu. And he is also very good on Active Directory and &#8230; <a href="http://poweradmin.se/blog/2009/10/18/new-author-to-poweradmin-se/">Continue reading <span class="meta-nav">&#8594;</span></a>
No related posts.]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_blue" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fpoweradmin.se%252Fblog%252F2009%252F10%252F18%252Fnew-author-to-poweradmin-se%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22New%20Author%20to%20poweradmin.se%22%20%7D);"></div>
<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>My good friend Fredrik “DXter” Jonsson will join   <br />me from now on and be Co-Author for this blog.</p>
<p>He is one of the best I know on PKI and Ubuntu.   <br />And he is also very good on Active Directory and    <br />Deployment.</p>
<p>DXter will do a presentation of him self as fast has   <br />he can <img src='http://poweradmin.se/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Welcome my friend and thank you for being my Co-Author.</p>
<p>&#160;</p>
<div style="padding-bottom: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: none; padding-top: 0px" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:99725ae2-1360-422e-8a7b-b5b43f187fb4" class="wlWriterEditableSmartContent">Technorati Tags: <a href="http://technorati.com/tags/DXter" rel="tag">DXter</a>,<a href="http://technorati.com/tags/Author" rel="tag">Author</a>,<a href="http://technorati.com/tags/PKI" rel="tag">PKI</a>,<a href="http://technorati.com/tags/Deployment" rel="tag">Deployment</a></div>
<div class="shr-publisher-889"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:60px;'><a class='shareaholic-fblike' data-shr_layout='box_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2009%2F10%2F18%2Fnew-author-to-poweradmin-se%2F' data-shr_title='New+Author+to+poweradmin.se'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2009%2F10%2F18%2Fnew-author-to-poweradmin-se%2F'></a><a class='shareaholic-googleplusone' data-shr_size='tall' data-shr_count='true' data-shr_href='http%3A%2F%2Fpoweradmin.se%2Fblog%2F2009%2F10%2F18%2Fnew-author-to-poweradmin-se%2F' data-shr_title='New+Author+to+poweradmin.se'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://poweradmin.se/blog/2009/10/18/new-author-to-poweradmin-se/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

