<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>AlexSemi's Blog</title><link>http://blogs.msdn.com/b/alex_semi/</link><description>Alexey Semibratov's Blog on OSD/SCCM/MDT
</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>New view - Real IP address based on v_GS_NETWORK_ADAPTER_CONFIGURATION and calculated Subnet field (not a subnet Mask!!!)</title><link>http://blogs.msdn.com/b/alex_semi/archive/2013/01/30/new-view-real-ip-address-based-on-v-gs-network-adapter-configuration-and-calculated-subnet-field-not-a-subnet-mask.aspx</link><pubDate>Wed, 30 Jan 2013 17:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10389544</guid><dc:creator>alexsemi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=10389544</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2013/01/30/new-view-real-ip-address-based-on-v-gs-network-adapter-configuration-and-calculated-subnet-field-not-a-subnet-mask.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Another custom query and a function for me. Basically, IP address is a mutivalue property, and sometimes discovery finds supernets if it can't figure out the subnet mask. That means, if you break your 10.0.0.0 subnet, it still assumes class&amp;nbsp;A network, so under&lt;/p&gt;
&lt;p&gt;v_RA_System_IPAddresses and&amp;nbsp;&lt;span style="font-size: x-small;"&gt; v_RA_System_IPSubnets &lt;/span&gt;you'll see 10.0.0.0 and 255.0.0.0, when actually it's a class C subnet. So, the only reliable source of this information is inventory, v_gs_network_adapter_configuration. There are two problems with this inventory class that reflects Win32_NetworkAdapterConfiguration class:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;It got all possible virtual adapters and it's very "noisy"&lt;/li&gt;
&lt;li&gt;It does not contain the subnet, you'll have to do the math yourself,&amp;nbsp;under "Sunbet" field it has the subnet mask&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So, here is&amp;nbsp;the solution.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;First is the view&lt;/strong&gt;, I called it &lt;strong&gt;v_gs_RealIPv4&amp;nbsp;&lt;/strong&gt;,&amp;nbsp;it tries to do it's best trying to find the only one and real IP address per machine. It gives priority to one that comes from DHCP, then it takes static ones with DNS Suffix, then it takes any valid IP address with gateway, then any address at all. If there are multiple IP addresses, it gives priority to the one with max adapter ID (kind of randomization between equal adapters).&lt;/p&gt;
&lt;p&gt;&amp;nbsp;The second one is the scalar&amp;nbsp;function &lt;strong&gt;CustomGetSubnet&lt;/strong&gt; that takes IP address and Subnet Mask and returns IP Subnet.&lt;/p&gt;
&lt;p&gt;I strongly recommend &lt;span style="background-color: #ff0000;"&gt;&lt;strong&gt;NOT to create those objects in production CM Database!&lt;/strong&gt;&lt;/span&gt; Create a side database on the same SQL instance, and call it CM_Supplemental, for example. Then you can refrence it in your reports or queries like this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre class="scroll"&gt;&lt;code class="mysql"&gt;SELECT Name0, v_gs_RealIPv4.* FROM &lt;br /&gt; v_r_system inner join CM_Supplemental..v_gs_RealIPv4 &lt;br /&gt; ON v_r_system.ResourceID = v_gs_RealIPv4.ResourceID&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is the code. Change &lt;strong&gt;P01&lt;/strong&gt; to your side code and execute this T-SQL code.&lt;/p&gt;
&lt;pre class="scroll"&gt;&lt;code class="mysql"&gt;CREATE VIEW [dbo].[v_gs_RealIPv4]&lt;br /&gt; AS&lt;br /&gt; &lt;br /&gt; SELECT &lt;br /&gt; NAC.ResourceID,&lt;br /&gt; CASE&lt;br /&gt; WHEN &lt;br /&gt; PATINDEX('%,%',NAC.IPAddress0) &amp;gt; 0 THEN SUBSTRING(NAC.IPAddress0, 1, PATINDEX('%,%', NAC.IPAddress0)-1)&lt;br /&gt; ELSE NAC.IPAddress0 &lt;br /&gt; END AS IPAddress,&lt;br /&gt; CASE&lt;br /&gt; WHEN &lt;br /&gt; PATINDEX('%,%',NAC.IPSubnet0) &amp;gt; 0 THEN SUBSTRING(NAC.IPSubnet0, 1, PATINDEX('%,%', NAC.IPSubnet0)-1)&lt;br /&gt; ELSE NAC.IPSubnet0 &lt;br /&gt; END AS SubnetMask,&lt;br /&gt; dbo.CustomGetSubnet(NAC.IPAddress0, NAC.IPSubnet0) AS Subnet,&lt;br /&gt; NAC.ServiceName0&lt;br /&gt; from CM_P01..v_GS_NETWORK_ADAPTER_CONFIGURATION NAC INNER JOIN&lt;br /&gt; (&lt;br /&gt; SELECT ResourceID, MAX(Index0) as MxIndex FROM &lt;br /&gt; (&lt;br /&gt; -- First - list those with default gateway and and DHCPServer&lt;br /&gt; select * from CM_P01..v_GS_NETWORK_ADAPTER_CONFIGURATION &lt;br /&gt; where IPEnabled0 = 1&lt;br /&gt; and IPAddress0 is not NULL&lt;br /&gt; and DefaultIPGateway0 is not Null&lt;br /&gt; and DHCPServer0 is not NULL&lt;br /&gt; and DNSDomain0 is not NULL&lt;br /&gt; -- Second - thos that don't have default gateway and those are only adapters on the system, i.e. no other adapter with a gateway&lt;br /&gt; UNION&lt;br /&gt; SELECT * from CM_P01..v_GS_NETWORK_ADAPTER_CONFIGURATION A where&lt;br /&gt; IPEnabled0 = 1&lt;br /&gt; and IPAddress0 is not NULL&lt;br /&gt; and not exists (&lt;br /&gt; select * from CM_P01..v_GS_NETWORK_ADAPTER_CONFIGURATION B where&lt;br /&gt; A.ResourceID=B.ResourceID&lt;br /&gt; and IPAddress0 is not NULL&lt;br /&gt; and DefaultIPGateway0 is not Null&lt;br /&gt; )&lt;br /&gt; -- Static IPs with default gateway&lt;br /&gt; UNION&lt;br /&gt; select * from CM_P01..v_GS_NETWORK_ADAPTER_CONFIGURATION where&lt;br /&gt; IPEnabled0 = 1 AND&lt;br /&gt; IPAddress0 is not NULL&lt;br /&gt; and DefaultIPGateway0 is not Null&lt;br /&gt; AND ResourceID in (&lt;br /&gt; (&lt;br /&gt; select ResourceID from CM_P01..v_R_System&lt;br /&gt; where &lt;br /&gt; ResourceID not in&lt;br /&gt; (&lt;br /&gt; select ResourceID from CM_P01..v_GS_NETWORK_ADAPTER_CONFIGURATION &lt;br /&gt; where IPEnabled0 = 1&lt;br /&gt; and IPAddress0 is not NULL&lt;br /&gt; and DefaultIPGateway0 is not Null&lt;br /&gt; and DHCPServer0 is not NULL&lt;br /&gt; and DNSDomain0 is not NULL&lt;br /&gt; )&lt;br /&gt; ))&lt;br /&gt; ) A&lt;br /&gt; group By ResourceID&lt;br /&gt; ) D ON NAC.ResourceID = D.ResourceID and NAC.Index0 = D.MxIndex&lt;br /&gt; &lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;And here is the function that calculates the subnet:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre class="scroll"&gt;&lt;code class="mysql"&gt;CREATE FUNCTION [dbo].[CustomGetSubnet](@IPAddress varchar(255), @IPSubnet varchar(255))&lt;br /&gt; RETURNS varchar(255)&lt;br /&gt; AS&lt;br /&gt; BEGIN&lt;br /&gt; &lt;br /&gt; DECLARE @Return varchar(255)&lt;br /&gt; &lt;br /&gt; --Split out IP v6&lt;br /&gt; IF PATINDEX('%,%', @IpAddress) &amp;gt; 0&lt;br /&gt; SELECT @IPAddress = SUBSTRING(@IPAddress, 1, PATINDEX('%,%', @IpAddress)-1)&lt;br /&gt; &lt;br /&gt; IF PATINDEX('%,%', @IPSubnet) &amp;gt; 0&lt;br /&gt; SELECT @IPSubnet = SUBSTRING(@IPSubnet, 1, PATINDEX('%,%', @IPSubnet)-1)&lt;br /&gt; &lt;br /&gt; IF PATINDEX('%.%', @IpAddress) &amp;gt; 0 AND PATINDEX('%.%', @IPSubnet) &amp;gt; 0&lt;br /&gt; BEGIN&lt;br /&gt; -- First Octet&lt;br /&gt; SELECT @Return = CAST(SUBSTRING(@IPAddress,1,PATINDEX('%.%',@IPAddress)-1) as Integer) &amp;amp; CAST(SUBSTRING(@IPSubnet,1,PATINDEX('%.%',@IPSubnet)-1) as Integer)&lt;br /&gt; SELECT @IPAddress = SUBSTRING(@IPAddress, PATINDEX('%.%', @IPAddress)+1, 1024)&lt;br /&gt; SELECT @IPSubnet = SUBSTRING(@IPSubnet, PATINDEX('%.%', @IPSubnet)+1, 1024)&lt;br /&gt; ---Second Octet&lt;br /&gt; &lt;br /&gt; SELECT @Return = @Return + '.' + CAST(CAST(SUBSTRING(@IPAddress,1,PATINDEX('%.%',@IPAddress)-1) as Integer) &amp;amp; CAST(SUBSTRING(@IPSubnet,1,PATINDEX('%.%',@IPSubnet)-1) as Integer) as varchar(max))&lt;br /&gt; SELECT @IPAddress = SUBSTRING(@IPAddress, PATINDEX('%.%', @IPAddress)+1, 1024)&lt;br /&gt; SELECT @IPSubnet = SUBSTRING(@IPSubnet, PATINDEX('%.%', @IPSubnet)+1, 1024)&lt;br /&gt; --Third Octet&lt;br /&gt; &lt;br /&gt; SELECT @Return = @Return + '.' + CAST(CAST(SUBSTRING(@IPAddress,1,PATINDEX('%.%',@IPAddress)-1) as Integer) &amp;amp; CAST(SUBSTRING(@IPSubnet,1,PATINDEX('%.%',@IPSubnet)-1) as Integer) as varchar(max))&lt;br /&gt; SELECT @IPAddress = SUBSTRING(@IPAddress, PATINDEX('%.%', @IPAddress)+1, 1024)&lt;br /&gt; SELECT @IPSubnet = SUBSTRING(@IPSubnet, PATINDEX('%.%', @IPSubnet)+1, 1024)&lt;br /&gt; --Fourth octet&lt;br /&gt; &lt;br /&gt; SELECT @Return = @Return + '.' + CAST(CAST(@IPAddress as Integer) &amp;amp; CAST(@IPSubnet as Integer) as varchar(max))&lt;br /&gt; SELECT @IPAddress = SUBSTRING(@IPAddress, PATINDEX('%.%', @IPAddress)+1, 1024)&lt;br /&gt; SELECT @IPSubnet = SUBSTRING(@IPSubnet, PATINDEX('%.%', @IPSubnet)+1, 1024)&lt;br /&gt; &lt;br /&gt; END&lt;br /&gt; &lt;br /&gt; Return @Return&lt;br /&gt; &lt;br /&gt; END&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10389544" width="1" height="1"&gt;</description></item><item><title>Modified Administrative Security &gt; "Administrative users security assignments" report with effective rights</title><link>http://blogs.msdn.com/b/alex_semi/archive/2013/01/29/modified-administrative-security-gt-quot-administrative-users-security-assignments-quot-report-with-effective-rights.aspx</link><pubDate>Tue, 29 Jan 2013 20:38:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10389286</guid><dc:creator>alexsemi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=10389286</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2013/01/29/modified-administrative-security-gt-quot-administrative-users-security-assignments-quot-report-with-effective-rights.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;One of most useful reports is Administrative Security &amp;gt; Administrative users security assignments. It shows you Configuration Manager administrative users with rights, assigned to them.&lt;/p&gt;
&lt;p&gt;The only problem with that report, is that it shows you only groups and users you added as directly as Administrative Users. But, for example, if you have NA\JDoe and you want to see what kind of access that guy has and you don't want to enumerate all his groups in AD manually, this report may come handy.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Upload it to your SSRS with Reporting Point role, change DataSource pointing to the one that Config Manager created for you, and enjoy :)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10389286" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-38-92-86/Administrative-users-security-assignments-_2D00_-with-users.zip" length="5592" type="application/zip" /><category domain="http://blogs.msdn.com/b/alex_semi/archive/tags/SMS/">SMS</category></item><item><title>Computer Make / Model with Lenovo real models</title><link>http://blogs.msdn.com/b/alex_semi/archive/2013/01/23/computer-make-model-with-lenovo-real-models.aspx</link><pubDate>Wed, 23 Jan 2013 22:47:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10387735</guid><dc:creator>alexsemi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=10387735</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2013/01/23/computer-make-model-with-lenovo-real-models.aspx#comments</comments><description>&lt;p&gt;After looking at a couple of reports / SQL queries for Lenovo models, I realized that they have some drawbacks.&lt;/p&gt;
&lt;p&gt;Lenovo stores its model in a different class, called Win32_ComputerSystemProduct and the name for the field is "Version". So, for SCCM, we need to enable it in Inventory first, but we're not going to get all inventory immediately, but wait a minute, we actually need just _one_ computer with that model to report to see all of them. And here is what I came up with. First query&amp;nbsp;mimics v_gs_ComputerSystem, second is a report with CollectionID filter.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre class="scroll"&gt;&lt;code class="mysql"&gt;SELECT ResourceID, Manufacturer0,&lt;br /&gt; (&lt;br /&gt; CASE &lt;br /&gt; WHEN CSP.Model0 IS NULL THEN CS.Model0&lt;br /&gt; WHEN CS.Manufacturer0 IN ('LENOVO','IBM') THEN CSP.Model0&lt;br /&gt; ELSE CS.Model0&lt;br /&gt; END&lt;br /&gt; ) AS Model0&lt;br /&gt; FROM v_GS_COMPUTER_SYSTEM CS LEFT OUTER JOIN&lt;br /&gt; (&lt;br /&gt; SELECT Name0 as LenovoModel, Version0 as Model0 FROM v_GS_COMPUTER_SYSTEM_PRODUCT&lt;br /&gt; group by Name0, Version0&lt;br /&gt; ) CSP ON CS.Model0 = CSP.LenovoModel&lt;/code&gt;&lt;/pre&gt;
&lt;pre class="scroll"&gt;&lt;code class="mysql"&gt;&lt;br /&gt; SELECT Manufacturer0, Model0, COUNT(1) As [Count] FROM &lt;br /&gt; &lt;br /&gt; ( SELECT ResourceID, Manufacturer0,&lt;br /&gt; (&lt;br /&gt; CASE &lt;br /&gt; WHEN CSP.Model0 IS NULL THEN CS.Model0&lt;br /&gt; WHEN CS.Manufacturer0 IN ('LENOVO','IBM') THEN CSP.Model0&lt;br /&gt; ELSE CS.Model0&lt;br /&gt; END&lt;br /&gt; ) AS Model0&lt;br /&gt; FROM v_GS_COMPUTER_SYSTEM CS LEFT OUTER JOIN&lt;br /&gt; (&lt;br /&gt; SELECT Name0 as LenovoModel, Version0 as Model0 FROM v_GS_COMPUTER_SYSTEM_PRODUCT&lt;br /&gt; group by Name0, Version0&lt;br /&gt; ) CSP ON CS.Model0 = CSP.LenovoModel&lt;br /&gt; ) SmartModel INNER JOIN v_FullCollectionMembership FCM ON SmartModel.ResourceID = FCM.ResourceID&lt;br /&gt; &lt;br /&gt; WHERE FCM.CollectionID = @CollectionID&lt;br /&gt; &lt;br /&gt; GROUP BY Manufacturer0, Model0&lt;br /&gt; ORDER BY COUNT(1) Desc&lt;/code&gt;&lt;/pre&gt;
&lt;pre class="scroll"&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre class="scroll"&gt;&amp;nbsp;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10387735" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/b/alex_semi/archive/tags/SMS/">SMS</category></item><item><title>Script, that populates base variable with packages and programs based on Computer's AD group membership.</title><link>http://blogs.msdn.com/b/alex_semi/archive/2012/10/09/script-that-populates-base-variable-with-packages-and-programs-based-on-computer-s-ad-group-membership.aspx</link><pubDate>Tue, 09 Oct 2012 22:15:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10358022</guid><dc:creator>alexsemi</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=10358022</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2012/10/09/script-that-populates-base-variable-with-packages-and-programs-based-on-computer-s-ad-group-membership.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is the script, that will find all groups computer belongs to and if they start with some special prefix (defined in the code as AD_GROUP_PREFIX constant), it will take a description, that's using the same format as a base variable for Install Software step (PackageID:Program Name) and will add it to the variable defined in BASE_VARIABLE constant. Run it before Install Software step, and by just adding computers to AD groups you will get the software installed. Put this script under "Scripts\Custom" folder on your MDT Package.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10358022" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-35-80-22/InstallSoftwareBasedOnGroupMembership.txt" length="3648" type="text/plain" /></item><item><title>LoadState captures the same profile twice for users that were migrated with ADMT/Quest tools.</title><link>http://blogs.msdn.com/b/alex_semi/archive/2012/09/25/loadstate-captures-the-same-profile-twice-for-users-that-were-migrated-with-admt-quest-tools.aspx</link><pubDate>Tue, 25 Sep 2012 19:02:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10353150</guid><dc:creator>alexsemi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=10353150</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2012/09/25/loadstate-captures-the-same-profile-twice-for-users-that-were-migrated-with-admt-quest-tools.aspx#comments</comments><description>&lt;p&gt;You may run in a situation, when LoadState captures the same profile two or more times. This happens if there are two or more SIDs under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList have a value for ProfileImagePath pointing to the same folder.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Excluding the old domain with /ue:OLDDOMAIN\* does not help if offline scenario. So the only way to fix it would be deleting old orphan entries from registry. Attached script does exactly that.&lt;/p&gt;
&lt;p&gt;It takes&amp;nbsp; two parameters:&lt;br /&gt;OldDomainSID and NewDomainSID.&lt;/p&gt;
&lt;p&gt;It enumerates profiles from&lt;br /&gt;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList&lt;/p&gt;
&lt;p&gt;If it finds a profile from new&lt;br /&gt;domain, it looks for the profile pointing to the same folder in old domain then&lt;br /&gt;deletes that profile record in registry.&lt;br /&gt;&lt;br /&gt;Put this script under "Scripts\Custom" folder in your MDT package, run it before User State Capture step for UDI or ZTI/LTI like this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;cscript.exe "%DeployRoot%\Scripts\Custom\FixProfilesBeforeUSMT.wsf" /OldDomainSID:S-1-5-21-1111111111-776500477-1237804090 /NewDomainSID:S-1-5-21-2222222222-3324038498-27948981&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can grab old domain and new domain SIDs from the same registry key of affected computer: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList , just take out the part after last dash.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10353150" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-35-31-50/FixProfilesBeforeUSMT.txt" length="7280" type="text/plain" /></item><item><title>Updated reports - now for CM 2012</title><link>http://blogs.msdn.com/b/alex_semi/archive/2012/04/11/updated-reports-now-for-cm-2012.aspx</link><pubDate>Wed, 11 Apr 2012 18:50:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10292801</guid><dc:creator>alexsemi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=10292801</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2012/04/11/updated-reports-now-for-cm-2012.aspx#comments</comments><description>&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/alex_semi/archive/2012/03/19/one-old-and-2-new-compliance-reports.aspx?wa=wsignin1.0"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/alex_semi/archive/2012/03/19/one-old-and-2-new-compliance-reports.aspx?wa=wsignin1.0"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/alex_semi/archive/2012/03/19/one-old-and-2-new-compliance-reports.aspx?wa=wsignin1.0"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/alex_semi/archive/2012/03/19/one-old-and-2-new-compliance-reports.aspx?wa=wsignin1.0"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/alex_semi/archive/2012/03/19/one-old-and-2-new-compliance-reports.aspx?wa=wsignin1.0"&gt;&lt;br /&gt;&lt;/a&gt;I converted reports I created for CM 2007 to 2012 format:&amp;nbsp;&lt;a href="http://blogs.msdn.com/b/alex_semi/archive/2012/03/19/one-old-and-2-new-compliance-reports.aspx?wa=wsignin1.0"&gt;http://blogs.msdn.com/b/alex_semi/archive/2012/03/19/one-old-and-2-new-compliance-reports.aspx?wa=wsignin1.0&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/alex_semi/archive/2012/03/19/one-old-and-2-new-compliance-reports.aspx?wa=wsignin1.0"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/alex_semi/archive/2012/03/19/one-old-and-2-new-compliance-reports.aspx?wa=wsignin1.0"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/b/alex_semi/archive/2012/03/19/one-old-and-2-new-compliance-reports.aspx?wa=wsignin1.0"&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10292801" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-29-28-01/Compliance-Report-with-break-down-by-months.zip" length="8347" type="application/zip" /></item><item><title>One old and 2 new compliance reports</title><link>http://blogs.msdn.com/b/alex_semi/archive/2012/03/19/one-old-and-2-new-compliance-reports.aspx</link><pubDate>Mon, 19 Mar 2012 20:53:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10285125</guid><dc:creator>alexsemi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=10285125</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2012/03/19/one-old-and-2-new-compliance-reports.aspx#comments</comments><description>&lt;p&gt;Remember "&lt;a href="http://blogs.msdn.com/b/alex_semi/archive/2011/05/03/compliance-report-break-down-by-months.aspx"&gt;Compliance Report, break down by months&lt;/a&gt;"? I created two child reports - one shows break down of patches released specifies month with compliance and if you click on patch it will show you the list of incompliant patches.&lt;/p&gt;
&lt;p&gt;Plus I changed format - now all three reports come as a nice MOF for SCCM 2007&lt;/p&gt;
&lt;p&gt;Here is a demo.&lt;/p&gt;
&lt;p&gt;This is the first report you've probably already seen:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-60-45/4061.figure1.png"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x446/__key/communityserver-blogs-components-weblogfiles/00-00-00-60-45/4061.figure1.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-60-45/4061.figure1.png"&gt;&lt;/a&gt;Let's check out December 2011.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-60-45/3108.figure2.png"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x473/__key/communityserver-blogs-components-weblogfiles/00-00-00-60-45/3108.figure2.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-60-45/3108.figure2.png"&gt;&lt;/a&gt;By clicking on individual patch you can see the list of computers:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-60-45/2425.figure3.png"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x406/__key/communityserver-blogs-components-weblogfiles/00-00-00-60-45/2425.figure3.png" border="0" alt="" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10285125" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-28-51-25/ComplianceReports.zip" length="2709" type="application/zip" /></item><item><title>OS refresh fails with NTLDR can't be found error</title><link>http://blogs.msdn.com/b/alex_semi/archive/2012/02/22/os-refresh-fails-with-ntldr-can-t-be-found-error.aspx</link><pubDate>Wed, 22 Feb 2012 20:53:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10271217</guid><dc:creator>alexsemi</dc:creator><slash:comments>17</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=10271217</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2012/02/22/os-refresh-fails-with-ntldr-can-t-be-found-error.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #ff0000;"&gt;Update.&amp;nbsp;As Avi pointed out in comments to this post, my script does not handle root directories&amp;nbsp;that invalid in&amp;nbsp;Windows FileSystem space, because FSO does not see them when enumerating. I changed it to call of "DIR" command. And now I just delete them. &lt;br /&gt;Another minor (but important!) change was taking out skipping deletion of "RECYCLER" folder from the script. I got a case of invalid&amp;nbsp;names under RECYCLER.&amp;nbsp;Please use at your own risk.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you've been doing XP to Wind 7 migrations in larger scale, you probably came across some computers out there that ended up tossed with NTLD missing error.&lt;/p&gt;
&lt;p&gt;Not nice! After this happens, you'd probably boot and safe user's data from state store, and try to figure out what the hack happened. Looking in smsts.log reveals some details:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;pre class="scroll"&gt;&lt;code class="cplusplus"&gt;Reporting deletion progress.&lt;br /&gt; Unable to delete directory C:\Documents and Settings\***\Local Settings\Temp\OICE_43BCF28F-9C21-4A31-BC1E-52B54828BD6F.0 (0x80070091). Continuing. &lt;br /&gt; Unable to delete directory C:\Documents and Settings\***\Local Settings\Temp\OICE_930D53AE-2288-434E-97DD-C56505BB49CA.0 (0x80070091). Continuing. &lt;br /&gt; Unable to delete directory C:\Documents and Settings\***\Local Settings\Temp (0x80070091). Continuing.&lt;br /&gt; Unable to delete directory C:\Documents and Settings\***\Local Settings (0x80070091). Continuing.&lt;br /&gt; &lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Searching on the internet is giving you some clue. Most of the posts saying it's permissions, so you come up with the script that resets permissions, but this is still happening.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #ff0000;"&gt;&lt;strong&gt;So what's the culprit?&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://stackoverflow.com/questions/4075753/how-to-delete-a-folder-that-name-ended-with-a-dot"&gt;L&lt;/a&gt;et's see what in that folder.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;pre class="scroll"&gt;&lt;code class="js"&gt; Directory of C:\Documents and Settings\***\Local Settings\Temp&lt;br /&gt; &lt;br /&gt; 02/14/2012 05:50 PM &amp;lt;DIR&amp;gt; .&lt;br /&gt; 02/14/2012 05:50 PM &amp;lt;DIR&amp;gt; ..&lt;br /&gt; 02/14/2012 05:50 PM &amp;lt;DIR&amp;gt; OICE_1ED1F44B-623B-49CB-91A9-3D5FF12339E9.0&lt;br /&gt; 02/14/2012 05:50 PM &amp;lt;DIR&amp;gt; OICE_450CAED0-70C4-4B0E-A799-4C20309918BE.0&lt;br /&gt; 0 File(s) 0 bytes&lt;br /&gt; &lt;br /&gt; Directory of C:\Documents and Settings\***\Local Settings\Temp\OICE_1ED1F44B-623B-49CB-91A9-3D5FF12339E9.0&lt;br /&gt; &lt;br /&gt; 02/14/2012 05:50 PM &amp;lt;DIR&amp;gt; .&lt;br /&gt; 02/14/2012 05:50 PM &amp;lt;DIR&amp;gt; ..&lt;br /&gt; 02/13/2012 07:28 PM 0 &lt;span style="color: #ff0000;"&gt;108D235B.&lt;/span&gt;&lt;br /&gt; 1 File(s) 0 bytes&lt;br /&gt; &lt;br /&gt; Directory of C:\Documents and Settings\***\Local Settings\Temp\OICE_450CAED0-70C4-4B0E-A799-4C20309918BE.0&lt;br /&gt; &lt;br /&gt; 02/14/2012 05:50 PM &amp;lt;DIR&amp;gt; .&lt;br /&gt; 02/14/2012 05:50 PM &amp;lt;DIR&amp;gt; ..&lt;br /&gt; 02/13/2012 06:12 PM 0 &lt;span style="color: #ff0000;"&gt;FE182149.&lt;/span&gt;&lt;br /&gt; 1 File(s) 0 bytes&lt;br /&gt; &lt;br /&gt; Total Files Listed:&lt;br /&gt; 2 File(s) 0 bytes&lt;br /&gt; 8 Dir(s) 300,889,800,704 bytes free&lt;/code&gt;&lt;/pre&gt;
&lt;pre class="scroll"&gt;&lt;code class="js"&gt;&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Notice&amp;nbsp;highlighted files. &lt;span style="color: #ff0000;"&gt;They got a dot at the end.&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Bingo! Look at this answer:&lt;a href="http://stackoverflow.com/questions/4075753/how-to-delete-a-folder-that-name-ended-with-a-dot"&gt;&lt;br /&gt;&lt;br /&gt;http://stackoverflow.com/questions/4075753/how-to-delete-a-folder-that-name-ended-with-a-dot&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Looks like OSDApplyOS does not use it to delete files, so we're in trouble.&lt;/p&gt;
&lt;p&gt;So what creates it? I have a guess.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Looks like it's related somehow with Office Isolated Conversion Environment. So,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://support.microsoft.com/kb/935865"&gt;http://support.microsoft.com/kb/935865&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I attached the script you can run if Apply OS Image failed before running Apply OS Image again.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Quick illustration:&lt;br /&gt;&lt;a href="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-blogs-components-weblogfiles/00-00-00-60-45/2021.Retry.png"&gt;&lt;img alt="" src="http://blogs.msdn.com/resized-image.ashx/__size/550x1000/__key/communityserver-blogs-components-weblogfiles/00-00-00-60-45/2021.Retry.png" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;span style="color: #ff0000;"&gt;How to use this script&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span dir="ltr"&gt;This script needs ztiutility.vbs from MDT and it needs setacl.exe from&amp;nbsp;&lt;span&gt;&lt;a title="http://sourceforge.net/projects/setacl/files/" href="http://sourceforge.net/projects/setacl/files/"&gt;http://sourceforge.net/projects/setacl/files/&lt;/a&gt;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span dir="ltr"&gt;If you use MDT, I recommend creating a Custom folder under Scripts on MDT package&amp;nbsp;and copying the script and SetACL.exe into it. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span dir="ltr"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span dir="ltr"&gt;Only If you&amp;nbsp;&lt;span style="color: #ff0000;"&gt;DON'T &lt;/span&gt;use MDT change path to ZTIUtility from parent folder to current folder in the script&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;script language="VBScript" src="..\ZTIUtility.vbs"/&amp;gt;&lt;/p&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;p&gt;&amp;lt;script language="VBScript" src="ZTIUtility.vbs"/&amp;gt;&lt;/p&gt;
&lt;p&gt;Copy SetAcl.exe, ZTIUtility.vbs and the script to a separate package in Configuration Manager.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;ol dir="ltr"&gt;
&lt;li&gt;
&lt;div&gt;Open your task sequence&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Find "Apply Operating System Image" step&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Go to options and select "Continue on error"&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Create a new group, call it "Image Failed to Apply" right below the "Apply Operating System Image" step&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Add a new step of type "Run Command Line" to your new group&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;If you use MDT and followed recommendation to copy it to Scripts\Custom use this command line: &lt;strong&gt;cscript.exe "%DeployRoot%\Scripts\Custom\OSDApplyOSRecovery.wsf"&lt;/strong&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;If you're using a separate package, just use this command line: &lt;strong&gt;cscript.exe "OSDApplyOSRecovery.wsf" &lt;/strong&gt;and Check "Package" and point it to the package you created above.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Call this step "Attempt to recover"&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Go to options and set "Continue on error"&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Copy "Apply Operating System Image" step and paste it under your "Attempt to Recover" step.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;If you're using MDT template, you should see "Logical drive letter stored under variable" under Destination. No changes necessary.&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;If you're not using MDT, and it says "Next Available Partition" you&amp;nbsp;should change it to Specific Disk and Partition and use a proper partition (usually partition 2 disk 0 if formatting for bitlocker)&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Go to options and unselect "Continue on error" only for that step&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Done! :)&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;TEST, TEST AND TEST&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Try to create an "invalid" folder by using mkdir "\\?\C:\Screw my deployment with period at the end."&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Set permissions on it removing &amp;nbsp;Local System and administrators. Start OS Refresh.&lt;/p&gt;
&lt;div dir="ltr"&gt;&amp;nbsp;&lt;span dir="ltr"&gt;Be careful with this script if you save your State Store somewhere else but \StateStore folder! Meaning - if you're running MDT 2010 U1 or earlier integration and pick and alternative location for State Store other then C:\StateStore!&lt;/span&gt;&lt;/div&gt;
&lt;div dir="ltr"&gt;&lt;/div&gt;
&lt;div dir="ltr"&gt;&lt;span dir="ltr"&gt;Thank you.&lt;/span&gt;&lt;/div&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10271217" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-27-12-17/OSDApplyOSRecovery.txt" length="4617" type="text/plain" /></item><item><title>x-mass present! _AUTOMATICALLY_ open all important logs - smsts.log, bdd.log - anything!</title><link>http://blogs.msdn.com/b/alex_semi/archive/2011/12/21/x-mass-present-automatically-open-all-important-logs-smsts-log-bdd-log-anything.aspx</link><pubDate>Thu, 22 Dec 2011 01:34:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10250191</guid><dc:creator>alexsemi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=10250191</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2011/12/21/x-mass-present-automatically-open-all-important-logs-smsts-log-bdd-log-anything.aspx#comments</comments><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;How many times you have been looking for SMSTS.LOG checking all possible locations, finally finding the wrong version, because time in Win PE is off?&lt;/p&gt;
&lt;p&gt;Finally, the pain is over! Attached script, ZTITrace32.wsf will open them for you automatically. &lt;a href="http://downloads.semibratov.com/ZTITrace32/Pic1.jpg" target="_blank"&gt;See the picture.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How it works.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Script Starts another copy of itself in "TSR" mode and terminates&lt;/li&gt;
&lt;li&gt;the new copy looks for trace32.exe in a path - IMPORTNAT, you need to inject right version of trace32 (x86/x64) to your Windows directory on you boot image&lt;/li&gt;
&lt;li&gt;trace32 is getting registered, so it won't ask to associate itselsf with logs&lt;/li&gt;
&lt;li&gt;Input variable&amp;nbsp;LogsToMonitor, which is comma separated list, is getting parsed&lt;/li&gt;
&lt;li&gt;WMI Notification Query to launch on changes in those files is getting registered&lt;/li&gt;
&lt;li&gt;When change occurs, script checks, if there is a trace32.exe with this log is open, if not -&lt;/li&gt;
&lt;li&gt;Script launches trace32.exe with that log. in PE it starts it minimized, in live OS - normal, because you won't see minimized programs in Winlogon session&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;So where to start it from?&lt;/div&gt;
&lt;div&gt;First &amp;nbsp;- to support your first Boot Image boot, inject it to unattend.xml like in attached example&lt;/div&gt;
&lt;div&gt;Second - after each reboot in your task sequence. I recommend to copy it to your MDT package scripts directory and call it like this:&amp;nbsp;&lt;strong&gt;&lt;em&gt;cscript.exe "%deployroot%\scripts\ZTITrace32.wsf" /LogsToMonitor:bdd.log,smsts.log,NomadBranch.log,execmgr.log&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;a href="http://downloads.semibratov.com/ZTITrace32/pic2.jpg" target="_blank"&gt;Example.&lt;br /&gt;&lt;br /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;Enjoy!&lt;/div&gt;
&lt;div&gt;&lt;a href="http://downloads.semibratov.com/ZTITrace32/pic2.jpg" target="_blank"&gt;&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a href="http://downloads.semibratov.com/ZTITrace32/pic2.jpg" target="_blank"&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a href="http://downloads.semibratov.com/ZTITrace32/pic2.jpg" target="_blank"&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;a href="http://downloads.semibratov.com/ZTITrace32/pic2.jpg" target="_blank"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10250191" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-25-01-91/ZTITrace32.zip" length="298687" type="application/zip" /><category domain="http://blogs.msdn.com/b/alex_semi/archive/tags/SMS/">SMS</category><category domain="http://blogs.msdn.com/b/alex_semi/archive/tags/MDT/">MDT</category></item><item><title>Increase CM cache and clean it - 2</title><link>http://blogs.msdn.com/b/alex_semi/archive/2011/12/20/increase-cm-cache-and-clean-it-2.aspx</link><pubDate>Tue, 20 Dec 2011 20:02:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10249714</guid><dc:creator>alexsemi</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=10249714</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2011/12/20/increase-cm-cache-and-clean-it-2.aspx#comments</comments><description>&lt;p&gt;Next version to&amp;nbsp;&lt;a href="http://blogs.msdn.com/b/alex_semi/archive/2011/12/15/increase-cm-cache-and-clean-it.aspx"&gt;http://blogs.msdn.com/b/alex_semi/archive/2011/12/15/increase-cm-cache-and-clean-it.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now the script goes to WMI, and checks, if each cached package required by any of mandatory assignment, and if it&amp;rsquo;s in a future, or recurring, it won&amp;rsquo;t delete.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10249714" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-24-97-14/CCMCacheClean.zip" length="33890" type="application/zip" /></item><item><title>Increase CM cache and clean it</title><link>http://blogs.msdn.com/b/alex_semi/archive/2011/12/15/increase-cm-cache-and-clean-it.aspx</link><pubDate>Thu, 15 Dec 2011 20:42:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10248254</guid><dc:creator>alexsemi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=10248254</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2011/12/15/increase-cm-cache-and-clean-it.aspx#comments</comments><description>&lt;p&gt;Sometimes it's hard to&amp;nbsp;accommodate&amp;nbsp;all needed packages in SCCM cache, so admins usually increase the size of the cache to a few&amp;nbsp;gigabytes. Since SCCM does not clean cache unless it needs to fit some new packages, you will end up with old versions of packages and some not really used stuff there.&lt;/p&gt;
&lt;p&gt;Here is a script, that will increase the cache to 20GB, find all non-referenced versions (old packages, pretty much), it will also find packages, that have not been used in last 7 days (configurable) and delete them from the client cache.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It also includes two reports, one shows computers and how much space was saved, another a summary report, that shows a total of how much was saved, average and a number of computer that ran it.&lt;/p&gt;
&lt;p&gt;Enjoy!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10248254" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-24-82-54/CCMCacheClean.zip" length="29902" type="application/zip" /></item><item><title>Remote Connection to WinPE during SCCM deployments - creating shortcuts with Ticket numbers and IP on a file share </title><link>http://blogs.msdn.com/b/alex_semi/archive/2011/11/29/remote-connection-to-winpe-during-sccm-deployments-creating-shortcuts-with-ticket-numbers-and-ip-on-a-file-share.aspx</link><pubDate>Tue, 29 Nov 2011 23:37:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10242620</guid><dc:creator>alexsemi</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=10242620</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2011/11/29/remote-connection-to-winpe-during-sccm-deployments-creating-shortcuts-with-ticket-numbers-and-ip-on-a-file-share.aspx#comments</comments><description>&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Update - I've found a bug and fixed it. Now you can call this script from PE in OS Refresh scenario as well.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The well known name in Deployment world, Johan Arwidmark wrote an excelent article on adding remote control to MDT/SCCM Boot images.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.deploymentresearch.com/Blog/tabid/62/EntryId/36/Software-Assurance-Pays-Off-Remote-Connection-to-WinPE-during-MDT-SCCM-deployments.aspx"&gt;http://www.deploymentresearch.com/Blog/tabid/62/EntryId/36/Software-Assurance-Pays-Off-Remote-Connection-to-WinPE-during-MDT-SCCM-deployments.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.deploymentresearch.com/Blog/tabid/62/EntryId/36/Software-Assurance-Pays-Off-Remote-Connection-to-WinPE-during-MDT-SCCM-deployments.aspx"&gt;&lt;/a&gt;Here is what he's saying:&lt;/p&gt;
&lt;p&gt;"If you want to automate the connection to the client (for example provide a readymade link), you can create a script that reads the info from inv32.xml and creates a shortcut on the deployment server. Dart Remote Connection Viewer supports command line parameters for TicketNumber, IP Address and Port."&lt;/p&gt;
&lt;p&gt;So I took some time to implement excactly that!&lt;/p&gt;
&lt;p&gt;So, there is already some logic in MDT 2012 B2 for that, I just took his script, added a few parameters (like UNC share, user name, domain and a password to connect) and making it available for you :) Follow all his recommendations, but use files unattend.xml and&amp;nbsp;StartRemoteRecovery.wsf &amp;nbsp; from attachment to this article.&lt;/p&gt;
&lt;p&gt;Don't forget to modify unattend.xml replacing *** with your data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10242620" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-24-26-20/StartRemoteRecovery.zip" length="30950" type="application/zip" /></item><item><title>Sending SCCM Status Messages from MDT Scripts.</title><link>http://blogs.msdn.com/b/alex_semi/archive/2011/11/04/sending-sccm-status-messages-from-mdt-scripts.aspx</link><pubDate>Fri, 04 Nov 2011 13:23:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10233988</guid><dc:creator>alexsemi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=10233988</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2011/11/04/sending-sccm-status-messages-from-mdt-scripts.aspx#comments</comments><description>&lt;p&gt;Recently, I asked Michael Niehaus would it be a good idea to send Events, that normally go to EventShare, to SCCM as a status message. Michael's response was that the challenge was Windows PE.&lt;/p&gt;
&lt;p&gt;But still, if you're using MDT Scripting framework for all your VB Scripts (I do, and you should too, I don't see the reason why you should not :)), instead of reinventing the wheel and scanning through the logs or writing some kind of custom receiver for Event files - why not writing it directly to&amp;nbsp;SCCM database as a status message using client API? This is not going to work in Windows PE, but in live OS it will work just fine.&lt;/p&gt;
&lt;p&gt;I attached two files.&lt;/p&gt;
&lt;p&gt;CustomUtility.vbs is an include file, add it to your WSF under ZTIUtility.vbs, like this:&lt;/p&gt;
&lt;pre class="scroll"&gt;&lt;code class="html"&gt;&amp;lt;job id="ConvertProfiles"&amp;gt;&lt;br /&gt; &amp;lt;script language="VBScript" src="ZTIUtility.vbs"/&amp;gt;&lt;br /&gt; &amp;lt;script language="VBScript" src="CustomUtility.vbs"/&amp;gt;&lt;br /&gt; &amp;lt;script language="VBScript" src="ZTIDataAccess.vbs"/&amp;gt;&lt;br /&gt; &amp;lt;script language="VBScript"&amp;gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So, now you can call something like this in your script:&lt;/p&gt;
&lt;pre class="scroll"&gt;&lt;code class="js"&gt;oLogging2.CreateEvent 78002, LogTypeInfo, "Migrated", Array(sDomainName + "\" + sAccountName, sSID, sMail, oEnvironment.Item("TargetDomain") + "\" + sTargetAccount, sTargetSID, sTargetGUID, sDisplayName, sProfileImagePath) &lt;br /&gt; &lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;There are two parts of SCCM Status message - Attributes and Insert Strings. For attributes, this is how we re-purpose them:&lt;/p&gt;
&lt;p&gt;400 is generally PackageID&amp;nbsp;&lt;br /&gt;401 is generally AdvertID&amp;nbsp;&lt;br /&gt;402 is generally CollectionID, but we use it for EventID&lt;br /&gt;403 is generally User Account initiating action, but we use it for script name&lt;br /&gt;404 is generally a distribution point, but we use it for the text message&lt;/p&gt;
&lt;p&gt;The array of parameters (last input parameter) will be added as Insert Strings.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So, in our example, we know, that first is Old account, then goes SID, etc. Here is an example of query that will retrieve all those events for us (it's also attached to this post):&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;pre class="scroll"&gt;&lt;code class="mysql"&gt;SELECT MachineName, DATEADD(ss,@__timezoneoffset,Time), DisplayName,OldAccount, NewAccount, EMail, Profile, Migrated.RecordID&lt;br /&gt; FROM &lt;br /&gt; (select A.RecordID, A.MachineName, A.Time from dbo.v_StatusMessage A,&lt;br /&gt; v_StatMsgAttributes B&lt;br /&gt; where &lt;br /&gt; A.RecordID = B.RecordID AND&lt;br /&gt; A.MessageID = 39997 AND&lt;br /&gt; B.AttributeID = 402 AND&lt;br /&gt; B.AttributeValue = '78002'&lt;br /&gt; ) Migrated,&lt;br /&gt; (select InsStrValue as DisplayName, RecordID from v_StatMsgInsStrings where InsStrIndex = 6) DisplayName,&lt;br /&gt; (select InsStrValue as OldAccount, RecordID from v_StatMsgInsStrings where InsStrIndex = 0) OldAccount,&lt;br /&gt; (select InsStrValue as NewAccount, RecordID from v_StatMsgInsStrings where InsStrIndex = 3) NewAccount,&lt;br /&gt; (select InsStrValue as EMail, RecordID from v_StatMsgInsStrings where InsStrIndex = 2) EMail,&lt;br /&gt; (select InsStrValue as Profile, RecordID from v_StatMsgInsStrings where InsStrIndex = 7) Profile&lt;br /&gt; where Migrated.RecordID = DisplayName.RecordID AND&lt;br /&gt; Migrated.RecordID = OldAccount.RecordID AND&lt;br /&gt; Migrated.RecordID = NewAccount.RecordID AND&lt;br /&gt; Migrated.RecordID = EMail.RecordID AND&lt;br /&gt; Migrated.RecordID = Profile.RecordID&lt;br /&gt; ORDER BY Time DESC&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;strong&gt;Do you like it?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10233988" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-23-39-88/CustomUtility.zip" length="1448" type="application/zip" /></item><item><title>Compliance report, break down by months</title><link>http://blogs.msdn.com/b/alex_semi/archive/2011/05/03/compliance-report-break-down-by-months.aspx</link><pubDate>Tue, 03 May 2011 13:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10160399</guid><dc:creator>alexsemi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=10160399</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2011/05/03/compliance-report-break-down-by-months.aspx#comments</comments><description>&lt;p&gt;Instead of maintaining endless Update Lists with patches from each month, I created this custom report, breaking down by Months.&lt;/p&gt;
&lt;p&gt;Creterias:&lt;/p&gt;
&lt;p&gt;1. Category: Security patches&lt;/p&gt;
&lt;p&gt;2. Prodcuts: All&lt;/p&gt;
&lt;p&gt;3. Severity: Critical and Important&lt;/p&gt;
&lt;p&gt;4. One missing patch brings entire computer to incomplicane.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is the query (copy/paste it to the report)&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;SELECT &lt;span class="spelle"&gt;D&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;MonthPosted&lt;/span&gt;, Compliant,
Incompliant, cast(Compliant / ( (Compliant + Incompliant) /100.0) as decimal(5,2) ) as &lt;span class="spelle"&gt;PercentCompliant&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;FROM&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;(&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;Select &lt;span class="spelle"&gt;MonthPosted&lt;/span&gt;, Count(1) as
Compliant FROM &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;(&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;SELECT &lt;span class="spelle"&gt;MonthPosted&lt;/span&gt;, &lt;span class="spelle"&gt;ResourceID&lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;FROM
(SELECT TOP (100) PERCENT &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;ResourceID&lt;/span&gt;, &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;Status&lt;/span&gt;, CAST(DATEPART(&lt;span class="spelle"&gt;yyyy&lt;/span&gt;, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;&lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;DatePosted&lt;/span&gt;) AS &lt;span class="spelle"&gt;varchar&lt;/span&gt;(255)) + '-' + RIGHT('0' + CAST(DATEPART(mm, &lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;DatePosted&lt;/span&gt;) AS VARCHAR(255)), 2) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;AS &lt;span class="spelle"&gt;MonthPosted&lt;/span&gt;, COUNT(1) AS Count&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;FROM &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt; INNER JOIN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;&lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt; ON &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;CI_ID&lt;/span&gt; = &lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;CI_ID&lt;/span&gt; INNER JOIN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;&lt;span class="spelle"&gt;v_R_System&lt;/span&gt; ON &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;ResourceID&lt;/span&gt; = &lt;span class="spelle"&gt;v_R_System&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;ResourceID&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;WHERE
(v_R_System.Obsolete0 = 0) AND (&lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;Severity&lt;/span&gt; IN (8, 10)) AND (&lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;IsSuperseded&lt;/span&gt; = 0) AND (&lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;IsEnabled&lt;/span&gt; = 1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;GROUP BY &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;ResourceID&lt;/span&gt;, &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;Status&lt;/span&gt;, CAST(DATEPART(&lt;span class="spelle"&gt;yyyy&lt;/span&gt;, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;&lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;DatePosted&lt;/span&gt;) AS &lt;span class="spelle"&gt;varchar&lt;/span&gt;(255)) + '-' + RIGHT('0' + CAST(DATEPART(mm, &lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;DatePosted&lt;/span&gt;) AS VARCHAR(255)), 2)) A&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;where Status =3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;AND not exists &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;(&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;SELECT &lt;span class="spelle"&gt;B&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;MonthPosted&lt;/span&gt;, &lt;span class="spelle"&gt;B&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;ResourceID&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;FROM
(SELECT TOP (100) PERCENT &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;ResourceID&lt;/span&gt;, &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;Status&lt;/span&gt;, CAST(DATEPART(&lt;span class="spelle"&gt;yyyy&lt;/span&gt;, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;&lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;DatePosted&lt;/span&gt;) AS &lt;span class="spelle"&gt;varchar&lt;/span&gt;(255)) + '-' + RIGHT('0' + CAST(DATEPART(mm, &lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;DatePosted&lt;/span&gt;) AS VARCHAR(255)), 2) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;AS &lt;span class="spelle"&gt;MonthPosted&lt;/span&gt;, COUNT(1) AS Count&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;FROM &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt; INNER JOIN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;&lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt; ON &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;CI_ID&lt;/span&gt; = &lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;CI_ID&lt;/span&gt; INNER JOIN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;&lt;span class="spelle"&gt;v_R_System&lt;/span&gt; ON &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;ResourceID&lt;/span&gt; = &lt;span class="spelle"&gt;v_R_System&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;ResourceID&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;WHERE
(v_R_System.Obsolete0 = 0) AND (&lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;Severity&lt;/span&gt; IN (8, 10)) AND (&lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;IsSuperseded&lt;/span&gt; = 0) AND (&lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;IsEnabled&lt;/span&gt; = 1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;GROUP BY &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;ResourceID&lt;/span&gt;, &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;Status&lt;/span&gt;, CAST(DATEPART(&lt;span class="spelle"&gt;yyyy&lt;/span&gt;, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;&lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;DatePosted&lt;/span&gt;) AS &lt;span class="spelle"&gt;varchar&lt;/span&gt;(255)) + '-' + RIGHT('0' + CAST(DATEPART(mm, &lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;DatePosted&lt;/span&gt;) AS VARCHAR(255)), 2)) B&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;where Status =2 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;and &lt;span class="spelle"&gt;B&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;MonthPosted&lt;/span&gt; = &lt;span class="spelle"&gt;A&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;MonthPosted&lt;/span&gt; and &lt;span class="spelle"&gt;B&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;ResourceID&lt;/span&gt; = &lt;span class="spelle"&gt;A&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;ResourceID&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;Group By &lt;span class="spelle"&gt;MonthPosted&lt;/span&gt;, &lt;span class="spelle"&gt;ResourceID&lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;Group By &lt;span class="spelle"&gt;MonthPosted&lt;/span&gt;, &lt;span class="spelle"&gt;ResourceID&lt;/span&gt;
&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;) C&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;Group By &lt;span class="spelle"&gt;MonthPosted&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;) D,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;( SELECT &lt;span class="spelle"&gt;MonthPosted&lt;/span&gt;, Count(1) as
Incompliant&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;FROM
(SELECT TOP (100) PERCENT &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;ResourceID&lt;/span&gt;, &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;Status&lt;/span&gt;, CAST(DATEPART(&lt;span class="spelle"&gt;yyyy&lt;/span&gt;, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;&lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;DatePosted&lt;/span&gt;) AS &lt;span class="spelle"&gt;varchar&lt;/span&gt;(255)) + '-' + RIGHT('0' + CAST(DATEPART(mm, &lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;DatePosted&lt;/span&gt;) AS VARCHAR(255)), 2) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;AS &lt;span class="spelle"&gt;MonthPosted&lt;/span&gt;, COUNT(1) AS Count&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;FROM &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt; INNER JOIN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;&lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt; ON &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;CI_ID&lt;/span&gt; = &lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;CI_ID&lt;/span&gt; INNER JOIN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;&lt;span class="spelle"&gt;v_R_System&lt;/span&gt; ON &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;ResourceID&lt;/span&gt; = &lt;span class="spelle"&gt;v_R_System&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;ResourceID&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;WHERE
(v_R_System.Obsolete0 = 0) AND (&lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;Severity&lt;/span&gt; IN (8, 10)) AND (&lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;IsSuperseded&lt;/span&gt; = 0) AND (&lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;IsEnabled&lt;/span&gt; = 1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;GROUP BY &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;ResourceID&lt;/span&gt;, &lt;span class="spelle"&gt;v_UpdateComplianceStatus&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;Status&lt;/span&gt;, CAST(DATEPART(&lt;span class="spelle"&gt;yyyy&lt;/span&gt;, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;&lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;DatePosted&lt;/span&gt;) AS &lt;span class="spelle"&gt;varchar&lt;/span&gt;(255)) + '-' + RIGHT('0' + CAST(DATEPART(mm, &lt;span class="spelle"&gt;v_UpdateInfo&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;DatePosted&lt;/span&gt;) AS VARCHAR(255)), 2)) F&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;where Status =2 &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;Group By &lt;span class="spelle"&gt;MonthPosted&lt;/span&gt; ) E&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;strong&gt;&lt;span style="font-size: medium;"&gt;where &lt;span class="spelle"&gt;D&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;MonthPosted&lt;/span&gt; = &lt;span class="spelle"&gt;E&lt;/span&gt;&lt;span class="spelle"&gt;.&lt;/span&gt;&lt;span class="spelle"&gt;MonthPosted&lt;/span&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p style="padding-left: 30px;"&gt;&lt;span style="font-size: medium;"&gt;&lt;strong&gt;order by &lt;span class="spelle"&gt;MonthPosted&lt;/span&gt; &lt;span class="spelle"&gt;Desc&lt;/span&gt;&lt;/strong&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10160399" width="1" height="1"&gt;</description></item><item><title>Creating faster OEM Images with OSD and MDT.</title><link>http://blogs.msdn.com/b/alex_semi/archive/2011/01/18/creating-faster-oem-images-with-osd-and-mdt.aspx</link><pubDate>Wed, 19 Jan 2011 00:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10117363</guid><dc:creator>alexsemi</dc:creator><slash:comments>5</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=10117363</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2011/01/18/creating-faster-oem-images-with-osd-and-mdt.aspx#comments</comments><description>&lt;h1 style="text-align: justify; margin: 24pt 0in 0pt;"&gt;&lt;span style="color: #365f91;"&gt;&lt;span style="font-family: Cambria;"&gt;Creating faster OEM Images with OSD and MDT.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;h2 style="text-align: justify; margin: 10pt 0in 0pt;"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="color: #4f81bd;"&gt;&lt;span style="font-family: Cambria;"&gt;Introduction&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;OEM scenario is where you prepare the reference computer and duplicate the hard drive using any tool or hardware duplicator. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Microsoft offers two products to accomplish OEM image creation. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpFirst"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;1.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Operating System Deployment from System Center Configuration Manager&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;2.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Microsoft Deployment toolkit&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Let&amp;rsquo;s compare two solutions&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 style="text-align: justify; margin: 10pt 0in 0pt;"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="color: #4f81bd;"&gt;&lt;span style="font-family: Cambria;"&gt;OSD&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h3 style="text-align: justify; margin: 10pt 0in 0pt;"&gt;&lt;span style="color: #4f81bd;"&gt;&lt;span style="font-family: Cambria;"&gt;&lt;span style="font-size: medium;"&gt;Pros:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="font-size: medium;"&gt;Capable to lay down WIM image without having to run setup.exe. In OEM scenario it speeds up the process a lot&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3 style="text-align: justify; margin: 10pt 0in 0pt;"&gt;&lt;span style="color: #4f81bd;"&gt;&lt;span style="font-family: Cambria;"&gt;&lt;span style="font-size: medium;"&gt;Cons:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Image is not truly self-contained. When duplicated computer starts up, it requires active Advertisement from Management point&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h2 style="text-align: justify; margin: 10pt 0in 0pt;"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="color: #4f81bd;"&gt;&lt;span style="font-family: Cambria;"&gt;MDT:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;h3 style="text-align: justify; margin: 10pt 0in 0pt;"&gt;&lt;span style="color: #4f81bd;"&gt;&lt;span style="font-family: Cambria;"&gt;&lt;span style="font-size: medium;"&gt;Pros:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="font-size: medium;"&gt;Does not require active advertisement, can be completely self-contained&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;h3 style="text-align: justify; margin: 10pt 0in 0pt;"&gt;&lt;span style="color: #4f81bd;"&gt;&lt;span style="font-family: Cambria;"&gt;&lt;span style="font-size: medium;"&gt;Cons:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Always uses setup.exe. In OEM scenario, it means that image will be extracted from locally stored WIM file back to the hard drive.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;o:p&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;b style="mso-bidi-font-weight: normal;"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="font-size: large;"&gt;So, how to make your OEM image self-contained and fast? The solution, &amp;ldquo;best of both worlds&amp;rdquo;, would be using SCCM OSD to prepare reference computer, and MDT Media on the local drive to complete cloned installation. Some numbers - for x64 6.5GB Windows 7 image it takes about &lt;span style="color: #ff0000;"&gt;10 minutes instead of 30 minutes&lt;/span&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="line-height: 115%; font-family: 'Calibri','sans-serif'; font-size: 11pt; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;"&gt;&lt;br clear="all" style="page-break-before: always; mso-special-character: line-break;" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;h2 style="text-align: justify; margin: 10pt 0in 0pt;"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="color: #4f81bd;"&gt;&lt;span style="font-family: Cambria;"&gt;Prerequisites&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpFirst"&gt;&lt;span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-size: medium;"&gt;&amp;middot;&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="font-size: medium;"&gt;Working SCCM 2007 SP2 Site. This does not have to be your production site, you can prepare image for the customer in the lab, and move to production when ready.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-size: medium;"&gt;&amp;middot;&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="font-size: medium;"&gt;MDT 2010 Update 1 installed on the same computer as a site server&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-size: medium;"&gt;&amp;middot;&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;Your reference Windows 7 WIM image, created using automated MDT Task Sequence (out of scope here, see &lt;/span&gt;&lt;a href="http://blogs.msdn.com/b/alex_semi/archive/2009/07/16/images-builder.aspx"&gt;&lt;span style="font-family: Calibri; color: #0000ff; font-size: medium;"&gt;http://blogs.msdn.com/b/alex_semi/archive/2009/07/16/images-builder.aspx&lt;/span&gt;&lt;/a&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="font-size: medium;"&gt; for instance)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="font-family: Symbol; mso-fareast-font-family: Symbol; mso-bidi-font-family: Symbol;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-size: medium;"&gt;&amp;middot;&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Files from &amp;ldquo;FastOEMImage.zip&amp;rdquo;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;o:p&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;1.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Configure ConfigMgr Integration if not done yet by going to All Programs, Microsoft Deployment Toolkit, Configure ConfigMgr Integration. Run elevated.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;2.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Pick first, default option called &amp;ldquo;Install the ConfigMGR extensions.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;3.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Add you reference Windows 7 Image to ConfigMgr&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;span style="color: #365f91;"&gt;&lt;span style="font-family: Cambria;"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-60-45/3515.3.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-no-proof: yes;"&gt;&lt;v:shapetype coordsize="21600,21600" o:spt="75" o:preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f" id="_x0000_t75"&gt;&lt;v:stroke joinstyle="miter"&gt;&lt;/v:stroke&gt;&lt;v:formulas&gt;&lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @0 1 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum 0 0 @1"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @2 1 2"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @3 21600 pixelWidth"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @3 21600 pixelHeight"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @0 0 1"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @6 1 2"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @7 21600 pixelWidth"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @8 21600 0"&gt;&lt;/v:f&gt;&lt;v:f eqn="prod @7 21600 pixelHeight"&gt;&lt;/v:f&gt;&lt;v:f eqn="sum @10 21600 0"&gt;&lt;/v:f&gt;&lt;/v:formulas&gt;&lt;v:path o:extrusionok="f" gradientshapeok="t" o:connecttype="rect"&gt;&lt;/v:path&gt;&lt;o:lock v:ext="edit" aspectratio="t"&gt;&lt;/o:lock&gt;&lt;/v:shapetype&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;4.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;Add distribution point to just added Custom Image&lt;/span&gt;&lt;span style="mso-no-proof: yes;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt; &lt;br /&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-60-45/5807.4.png" border="0" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;5.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;Right Click on Task Sequences, Create Microsoft Deployment Task Sequence&lt;br /&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-60-45/3568.5.png" border="0" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="mso-spacerun: yes;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;6.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;Select OEM Preload Task Sequence (Pre-OEM)&lt;br /&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-60-45/0044.6.png" border="0" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes;"&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;7.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Call Task Sequence PRELOAD-OEM&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;8.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Create a new Boot Image package. I recommend keeping Packages sources under the same location, i.e. C:\Packages. Recommended locations for each Package:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;a.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Boot Image:&lt;span style="mso-spacerun: yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span style="color: #0000ff;"&gt;&lt;span style="mso-field-code: ' HYPERLINK ';"&gt;&lt;span class="MsoHyperlink"&gt;\\&amp;lt;servername&amp;gt;\c$\packages\BootImage&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;b.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;MDT Package: &lt;span style="text-decoration: underline;"&gt;&lt;span style="color: #0000ff;"&gt;&lt;span style="mso-field-code: ' HYPERLINK ';"&gt;&lt;span class="MsoHyperlink"&gt;\\&amp;lt;servername&amp;gt;\c$\packages\MDTPackage&lt;/span&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;c.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Settings Package: &lt;span style="mso-field-code: ' HYPERLINK ';"&gt;&lt;span class="MsoHyperlink"&gt;&lt;span style="text-decoration: underline;"&gt;&lt;span style="color: #0000ff;"&gt;\\&amp;lt;servername&amp;gt;\c$\packages\Settings\&amp;lt;NameOfTheImage&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;9.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Open Microsoft Deployment Toolkit&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;10.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;You can use existing Deployment Share or, you can&amp;nbsp;create a new&amp;nbsp;one&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;11.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;In case you want to use existing one (multi-purpose Deployment Share), you should create a separate Selection Profile&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;12.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Create a folder called Post-OEM under Applications, Out-Of-Box Drivers, and Task Sequences.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;13.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Under Task Sequences\Post-OEM create a new Custom Task Sequence, call it POST-OEM with ID &amp;ndash; POST-OEM&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;14.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Replace &amp;lt;Deployement Share&amp;gt;\Control\POST-OEM\ts.xml with file from attached FastOEMImage.zip&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;15.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;Create a selection profile, call it Post-OEM and include respective Post-OEM folders from Applications, Out-of-Box Drivers and Task Sequences&lt;br /&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-60-45/0458.15.png" border="0" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes;"&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;16.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;Create a new Media, call it &amp;ldquo;Post-OEM&amp;rdquo;, with location under C:\Packages\POST-OEM-MEDIA&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-60-45/3250.16.png" border="0" /&gt;&lt;br /&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="mso-no-proof: yes;"&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;17.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Make sure that you select the right architecture and Generate ISO image is not selected&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;18.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Choose selection profile &amp;ldquo;Post-OEM&amp;rdquo;, the one that you created in previous steps&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;19.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Replace C:\Packages\POST-OEM-MEDIA\Content\Deploy\Control\customsettings.ini with the file from attached FastOEMImage.zip&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;20.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Customize Media DS Rules if needed by changing default password, suppressing/enabling dialogs, etc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;21.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Right click on the Deployment Media and select &amp;ldquo;Update Media Content&amp;rdquo;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;22.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Go to C:\Packages\POST-OEM-MEDIA\Content\Deploy and copy install.cmd and activate.txt from attached FastOEMImage.zip to this folder&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;23.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;Go back to SCCM console, go to Software Distribution, Packages and create a new Package. Call it &amp;ldquo;Post-OEM Injection&amp;rdquo; , Setting Data Source to C:\Packages\POST-OEM-MEDIA\Content&lt;/span&gt;&lt;/p&gt;
&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-60-45/5710.23.png" border="0" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes;"&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;24.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Add Distribution Point&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;25.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Go to Operating System Deployment, Task Sequences, Right click on your PRELOAD-OEM task sequence, Edit&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;26.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Find and highlight &amp;ldquo;Prepare Computer for OEM Capture&amp;rdquo; step&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;27.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Go to Add, General, Run Command Line&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;28.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Call new step &amp;ldquo;LTI Post-OEM Injection&amp;rdquo;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;29.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Enter DEPLOY\install.cmd %OSDisk% for Command line&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;30.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;Check Package and select &amp;ldquo;Post-OEM Injection&amp;rdquo;&lt;/span&gt;&lt;/p&gt;
&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-60-45/3666.30.png" border="0" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes;"&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;31.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;Right Click on PRELOAD-OEM, Choose Create Task Sequence Media&lt;/span&gt;&lt;/p&gt;
&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-60-45/3755.31.png" border="0" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes;"&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;32.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Select &amp;ldquo;Stand Alone Media&amp;rdquo; and click &amp;ldquo;Next&amp;rdquo;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;33.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Select USB flash drive or DVD image and make sure that the right drive letter selected&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;34.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Answer &amp;ldquo;Yes&amp;rdquo; to the warning&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;35.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Uncheck &amp;ldquo;Protect Media with a password&amp;rdquo;, click next&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;36.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Click Next&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;37.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;In Distribution Points hit &amp;ldquo;Add&amp;rdquo; button in the middle and click &amp;ldquo;Next&amp;rdquo;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;38.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;In Add variables click &amp;ldquo;Next&amp;rdquo; skipping the prompt&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;39.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;In Summary click &amp;ldquo;Next&amp;rdquo;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;40.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Wait about 20 minutes until completion prompt&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;41.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;Insert just created media to any of the computers or VM&lt;/span&gt;&lt;/p&gt;
&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-60-45/7888.41.png" border="0" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes;"&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;42.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Answer all questions by default&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;43.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;After computer reboot and you see this Deployment Wizard prompt , turn off the computer with power off button&lt;/span&gt;&lt;/p&gt;
&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-60-45/6811.43.png" border="0" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes;"&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;44.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;Take out the drive or capture it with any duplication tool. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="font-size: medium;"&gt;&lt;span style="font-family: Calibri;"&gt;&lt;br /&gt;Now we have the image to give to OEM!&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;45.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;When running on duplicated drive, it will walk you through prompts and restore the computer from Pre-OEM state&lt;/span&gt;&lt;/p&gt;
&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-60-45/6281.45.png" border="0" /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes;"&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&lt;span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"&gt;&lt;span style="mso-list: Ignore;"&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;46.&lt;/span&gt;&lt;span style="font: 7pt 'Times New Roman';"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;Then, it will run Task Sequence in standard MDT LTI and Shutdown the computer if you used scripts attached to this article.&lt;br /&gt;&lt;/span&gt;&lt;span style="mso-no-proof: yes;"&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpLast"&gt;&lt;o:p&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;img src="http://blogs.msdn.com/resized-image.ashx/__size/550x0/__key/CommunityServer-Blogs-Components-WeblogFiles/00-00-00-60-45/4666.46.png" border="0" /&gt;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;
&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;span style="font-family: Calibri; font-size: medium;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/o:p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoListParagraphCxSpMiddle"&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10117363" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-11-73-63/FastOEMImage.zip" length="3457" type="application/x-zip-compressed" /><category domain="http://blogs.msdn.com/b/alex_semi/archive/tags/SMS/">SMS</category><category domain="http://blogs.msdn.com/b/alex_semi/archive/tags/MDT/">MDT</category></item><item><title>Collecting SCCM computer object last logon time.</title><link>http://blogs.msdn.com/b/alex_semi/archive/2010/10/12/collecting-sccm-computer-object-last-logon-time.aspx</link><pubDate>Tue, 12 Oct 2010 23:26:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10075039</guid><dc:creator>alexsemi</dc:creator><slash:comments>4</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=10075039</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2010/10/12/collecting-sccm-computer-object-last-logon-time.aspx#comments</comments><description>&lt;p&gt;Sometimes it may be usefull to see when the last time computer account contacted domain, so you could see which records are old and long time gone.&lt;/p&gt;
&lt;p&gt;First you need to add an attribute to AD discovery.&lt;/p&gt;
&lt;p&gt;Go to site management, open your site, Site Settings, Discovery Methods, open Active Directory System Discovery&lt;/p&gt;
&lt;p&gt;Go to Active Directory Attribute&lt;/p&gt;
&lt;p&gt;Click yellow start, and add "lastLogon"&lt;/p&gt;
&lt;p&gt;Kick off Active Directory System Discovery&lt;/p&gt;
&lt;p&gt;After it's collected, you can run a query like this:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
&lt;p&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;
&lt;p&gt;select&lt;/p&gt;
&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font size="2" color="#0000ff"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: #ff00ff; font-size: x-small;"&gt;&lt;span style="color: #ff00ff; font-size: x-small;"&gt;DATEADD&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;hh&lt;/span&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;,&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: #ff00ff; font-size: x-small;"&gt;&lt;span style="color: #ff00ff; font-size: x-small;"&gt;cast&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;((&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;LastLogon0 &lt;/span&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;/&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;600000000&lt;/span&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;))/&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; 60 &lt;/span&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;as&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;bigint&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;),&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: #ff00ff; font-size: x-small;"&gt;&lt;span style="color: #ff00ff; font-size: x-small;"&gt;cast&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;(&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #ff0000; font-size: x-small;"&gt;&lt;span style="color: #ff0000; font-size: x-small;"&gt;'1601-1-1'&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;as&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;datetime2&lt;/span&gt;&lt;/span&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;) &lt;/span&gt;&lt;/span&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;as &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt;&amp;nbsp;LastLogonDay,&amp;nbsp;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;&lt;span style="color: #808080; font-size: x-small;"&gt;*&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;from&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; v_R_System &lt;/span&gt;&lt;/p&gt;
&lt;span style="color: #0000ff; font-size: x-small;"&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;&lt;font size="2" color="#0000ff"&gt;&lt;font size="2" color="#0000ff"&gt;
&lt;p&gt;order&lt;/p&gt;
&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;font size="2" color="#0000ff"&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;/font&gt;&lt;/span&gt;
&lt;p&gt;&lt;span style="font-size: x-small;"&gt; &lt;/span&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;by&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: x-small;"&gt; LastLogonDay &lt;/span&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;&lt;span style="color: #0000ff; font-size: x-small;"&gt;desc&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;/p&gt;
&lt;/p&gt;
&lt;p&gt;So, you can see which computers just logged on to domain, but don't have client installed, for instance.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10075039" width="1" height="1"&gt;</description></item><item><title>Associate log files with Trace32.exe</title><link>http://blogs.msdn.com/b/alex_semi/archive/2010/06/07/associate-log-files-with-trace32-exe.aspx</link><pubDate>Mon, 07 Jun 2010 15:04:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:10020961</guid><dc:creator>alexsemi</dc:creator><slash:comments>1</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=10020961</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2010/06/07/associate-log-files-with-trace32-exe.aspx#comments</comments><description>&lt;div&gt;&lt;/div&gt;
&lt;div&gt;It's always a good idea to have Trace32.exe copied to every computer to be able to take a look on the logs, and I usually do it by adding it to the image copying it to \$OEM$\$$ under deployment share, so it's always in %WINDIR% on any computer. Plus, call regedit.exe /s and import this registry file when you build the image to associate all logs and lo_ files to trace32.exe.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Changed extension of the attached file to REG, copy it to Scripts folder and call it some time early in TS with this command line:&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;regedit.exe /S "%SCRIPTROOT%\LogFilesTrace32.reg"&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=10020961" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-10-02-09-61/LogFilesTrace32.txt" length="1654" type="text/plain" /></item><item><title>ZTIWindowsUpdate.WSF does not install all patches</title><link>http://blogs.msdn.com/b/alex_semi/archive/2010/03/17/ztiwindowsupdate-wsf-does-not-install-all-patches.aspx</link><pubDate>Wed, 17 Mar 2010 13:51:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9980397</guid><dc:creator>alexsemi</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=9980397</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2010/03/17/ztiwindowsupdate-wsf-does-not-install-all-patches.aspx#comments</comments><description>&lt;P&gt;ZTIWindowsUpdate.wsf is the script that goes to Microsoft Update or internal WSUS server and install all approved updates from there. It is a part of automated image build process I've been creating for all of my customers.&lt;/P&gt;
&lt;P&gt;In MDT 2010 this script was optimized to reduce the number of reboots. To accomplish it, the script now remembers all installed patches, and does not install them if they have been already installed. &lt;/P&gt;
&lt;P&gt;The problem is that some patches need to be re-installed.&amp;nbsp;Let's say we run this script for the first time, then install some applications overwriting newer files&amp;nbsp;and some patches become applicable again, but second run of ZTIWindowsUpdate.wsf won't reapply the patch due to reasons above. With help of Keith Garner, I wrote a simple script that will zero the list of installed updates. It's attached here, copy WSF script to your MDT share scripts folder, and&amp;nbsp;add actions to your Task Sequence like shown here:&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;IMG src="http://downloads.semibratov.com/DeleteListOfInstalledUpdates.png" mce_src="http://downloads.semibratov.com/DeleteListOfInstalledUpdates.png"&gt;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9980397" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-09-98-03-97/DeleteListOfInstalledUpdates.zip" length="50049" type="application/x-zip-compressed" /></item><item><title>Script to add specific packages to all distribution points</title><link>http://blogs.msdn.com/b/alex_semi/archive/2010/02/11/script-to-add-some-packages-to-all-distribution-points.aspx</link><pubDate>Thu, 11 Feb 2010 19:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9962146</guid><dc:creator>alexsemi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=9962146</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2010/02/11/script-to-add-some-packages-to-all-distribution-points.aspx#comments</comments><description>&lt;META name=Generator content="Microsoft Word 14 (filtered)"&gt;
&lt;STYLE&gt;
&lt;!--
 /* Font Definitions */
 @font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin-top:0in;
	margin-right:0in;
	margin-bottom:10.0pt;
	margin-left:0in;
	line-height:115%;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
p.MsoQuote, li.MsoQuote, div.MsoQuote
	{mso-style-link:"Quote Char";
	margin-top:0in;
	margin-right:0in;
	margin-bottom:10.0pt;
	margin-left:0in;
	line-height:115%;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";
	color:black;
	font-style:italic;}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.QuoteChar
	{mso-style-name:"Quote Char";
	mso-style-link:Quote;
	color:black;
	font-style:italic;}
.MsoChpDefault
	{font-family:"Calibri","sans-serif";}
.MsoPapDefault
	{margin-bottom:10.0pt;
	line-height:115%;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--&gt;
&lt;/STYLE&gt;

&lt;DIV class=WordSection1&gt;
&lt;P class=MsoNormal&gt;Script to add some packages to all distribution points&lt;/P&gt;
&lt;P class=MsoNormal&gt;As your SCCM hierarchy grows, you might found that you spend more and more time adding packages to new distribution points. In SCCM, for BDP, there is a way to add a package automatically.&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;IMG style="WIDTH: 477px; HEIGHT: 541px" src="http://downloads.semibratov.com/1.png" width=477 height=541 mce_src="http://downloads.semibratov.com/1.png"&gt;&lt;/P&gt;
&lt;P class=MsoNormal&gt;This does not happen momentarily, so I wrote this simple script that will add all DPs to the package tagged with the word “$ALLDPS” in the description:&lt;/P&gt;
&lt;P class=MsoNormal mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNoSpacing&gt;Const Site_Code="HQ2"&lt;/P&gt;
&lt;P class=MsoNoSpacing&gt;Set loc = CreateObject("WbemScripting.SWbemLocator") &lt;BR&gt;Dim WbemServices &lt;BR&gt;Set WbemServices = loc.ConnectServer( , "root\SMS\site_" &amp;amp; Site_Code)&lt;/P&gt;
&lt;P class=MsoNoSpacing&gt;Call AddDPs("SMS_Package")&lt;BR&gt;Call AddDPs("SMS_DriverPackage")&lt;BR&gt;Call AddDPs("SMS_SoftwareUpdatesPackage")&lt;BR&gt;Call AddDPs("SMS_ImagePackage")&lt;BR&gt;Call AddDPs("SMS_BootImagePackage")&lt;/P&gt;
&lt;P class=MsoNoSpacing&gt;&lt;BR&gt;Sub AddDPs(PackageClass)&lt;/P&gt;
&lt;P class=MsoNoSpacing&gt;Set AllPackages = wbemServices.ExecQuery("Select * From " &amp;amp; PackageClass &amp;amp; " WHERE Description IS LIKE ""%$ALLDPS%""") &lt;BR&gt;For Each Package in AllPackages&lt;BR&gt;&amp;nbsp;Set AllDPs = wbemServices.ExecQuery("Select * From SMS_SystemResourceList WHERE RoleName='SMS Distribution Point' AND NALPath IS NOT LIKE ""%SMSPXEIMAGES%""")&lt;BR&gt;&amp;nbsp;For Each DP In AllDPs &lt;BR&gt;&amp;nbsp;&amp;nbsp;Set Site = WbemServices.Get("SMS_Site='" &amp;amp; DP.SiteCode &amp;amp; "'") &lt;BR&gt;&amp;nbsp;&amp;nbsp;Set newDP = WbemServices.Get("SMS_DistributionPoint").SpawnInstance_() &lt;BR&gt;&amp;nbsp;&amp;nbsp;newDP.ServerNALPath = DP.NALPath &lt;BR&gt;&amp;nbsp;&amp;nbsp;newDP.PackageID = Package.PackageID &lt;BR&gt;&amp;nbsp;&amp;nbsp;newDP.SiteCode = DP.SiteCode &lt;BR&gt;&amp;nbsp;&amp;nbsp;newDP.SiteName = Site.SiteName &lt;BR&gt;&amp;nbsp;&amp;nbsp;newDP.Put_&lt;BR&gt;&amp;nbsp;Next&lt;BR&gt;Next&lt;BR&gt;End Sub&lt;/P&gt;
&lt;P class=MsoNoSpacing mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNoSpacing mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNoSpacing&gt;Just schedule it to run, for instance, every 30 minutes, and don’t forget to add “$ALLDPS” to the description of your package.&lt;/P&gt;
&lt;P class=MsoNoSpacing mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal&gt;&lt;IMG style="WIDTH: 404px; HEIGHT: 487px" id=" 0" src="http://downloads.semibratov.com/2.png" width=404 height=487 mce_src="http://downloads.semibratov.com/2.png"&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9962146" width="1" height="1"&gt;</description></item><item><title>Patch management notifications dilemma </title><link>http://blogs.msdn.com/b/alex_semi/archive/2010/02/05/patch-management-notifications-dilemma.aspx</link><pubDate>Fri, 05 Feb 2010 15:08:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9958831</guid><dc:creator>alexsemi</dc:creator><slash:comments>2</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=9958831</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2010/02/05/patch-management-notifications-dilemma.aspx#comments</comments><description>&lt;p&gt;It's always been challenging to choose either to check "Hide all deployments from end users" in "Software Updates Client Agent Properties".&lt;/p&gt;&lt;p&gt;If you decide to suppress it - you won't be able to patch the computers manually. It may be challenging for servers, where administrators want to do it manually, with notifications of service interruption involved, and so on.&lt;/p&gt;&lt;p&gt;If you don't suppress them, you'll face two challenges:&lt;/p&gt;&lt;p&gt;1. If you rely on Maintenance Windows, even if there is no maintenance window available, but deployment is active (after start time), your users will receive task bar notification&lt;/p&gt;&lt;p&gt;2. If your update fails, users will see it.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;You may want to prevent it by setting "Hide updates" on all computers except servers. So, you set the site wide setting to "Hide" (check the box) and distribute the setting that will unhide it where needed (Servers and, for example, your "Patch testing group")&lt;/p&gt;&lt;p&gt;&amp;nbsp;Here is a VB script for that:&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom:7.5pt;line-height:11.25pt;background:#DDDDDD"&gt;&lt;span style="font-size:10.0pt;font-family:Courier;color:black"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;' Initialize the updatesDeployment variable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom:7.5pt;line-height:11.25pt;background:#DDDDDD"&gt;&lt;span style="font-size:10.0pt;font-family:Courier;color:black"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;dim updatesDeployment&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom:7.5pt;line-height:11.25pt;background:#DDDDDD"&gt;&lt;span style="font-size:10.0pt;font-family:Courier;color:black"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;' Create the COM object.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom:7.5pt;line-height:11.25pt;background:#DDDDDD"&gt;&lt;span style="font-size:10.0pt;font-family:Courier;color:black"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;set updatesDeployment = CreateObject ("UDA.CCMUpdatesDeployment")&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom:7.5pt;line-height:11.25pt;background:#DDDDDD"&gt;&lt;span style="font-size:10.0pt;font-family:Courier;color:black"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;' Set interactive mode on the client by using the SetUserExperienceFlag method&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom:7.5pt;line-height:11.25pt;background:#DDDDDD"&gt;&lt;span style="font-size:10.0pt;font-family:Courier;color:black"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;' and the newUserExperienceFlag (set with a value of 1) passed in.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom:7.5pt;line-height:11.25pt;background:#DDDDDD"&gt;&lt;span style="font-size:10.0pt;font-family:Courier;color:black"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;updatesDeployment.SetUserExperienceFlag 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin-bottom:7.5pt;line-height:11.25pt;background:#DDDDDD"&gt;&lt;font class="Apple-style-span" face="Courier"&gt;&lt;br&gt;&lt;/font&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Reference:&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&amp;nbsp;&lt;a href="http://msdn.microsoft.com/en-us/library/cc145097.aspx"&gt;http://msdn.microsoft.com/en-us/library/cc145097.aspx&lt;/a&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;a href="http://msdn.microsoft.com/en-us/library/cc143858.aspx"&gt;http://msdn.microsoft.com/en-us/library/cc143858.aspx&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9958831" width="1" height="1"&gt;</description></item><item><title>Report, showing all collections computer belongs to</title><link>http://blogs.msdn.com/b/alex_semi/archive/2010/01/13/report-showing-all-collections-computer-belongs-to.aspx</link><pubDate>Wed, 13 Jan 2010 15:25:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9947818</guid><dc:creator>alexsemi</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=9947818</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2010/01/13/report-showing-all-collections-computer-belongs-to.aspx#comments</comments><description>&lt;P&gt;Here is an SCCM report, that takes computer name and shows all collections that computer belongs to&lt;/P&gt;
&lt;P&gt;Query used in this report:&lt;/P&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;select&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; C&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;Name0&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; B&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;CollectionID&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;B&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;Name &lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;from&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; v_ClientCollectionMembers A&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; &lt;/P&gt;
&lt;P&gt;v_Collection B&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;,&lt;/P&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;
&lt;P&gt;v_R_System C &lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#0000ff size=2&gt;&lt;FONT color=#0000ff size=2&gt;
&lt;P&gt;where&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; A&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;CollectionID&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;B&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;CollectionID &lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;
&lt;P&gt;and&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; A&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;ResourceID &lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; C&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;ResourceID &lt;/P&gt;&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;
&lt;P&gt;and&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; C&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;Name0&lt;/FONT&gt;&lt;FONT color=#808080 size=2&gt;&lt;FONT color=#808080 size=2&gt;=&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size=2&gt; @Name&lt;/P&gt;&lt;/FONT&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9947818" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-09-94-78-18/All-Collections_2C00_-Computer-Belongs-to.MOF" length="2792" type="application/octet-stream" /></item><item><title>Adding config.xml, generated by scanstate.exe /getconfig, to your migration.</title><link>http://blogs.msdn.com/b/alex_semi/archive/2010/01/12/adding-config-xml-generated-by-scanstate-exe-getconfig-to-your-migration.aspx</link><pubDate>Tue, 12 Jan 2010 15:32:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9947148</guid><dc:creator>alexsemi</dc:creator><slash:comments>3</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=9947148</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2010/01/12/adding-config-xml-generated-by-scanstate-exe-getconfig-to-your-migration.aspx#comments</comments><description>&lt;P&gt;After you have fixed the problem with scanstate.exe can't access&amp;nbsp;down level&amp;nbsp;manifests, (&lt;A href="http://blogs.msdn.com/alex_semi/archive/2009/12/10/when-upgrading-or-reinstalling-windows-xp-to-windows-7-using-usmt-4-0-to-migrate-system-and-user-state-settings-like-wallpaper-and-network-printer-mappings-are-not-migrated.aspx" mce_href="http://blogs.msdn.com/alex_semi/archive/2009/12/10/when-upgrading-or-reinstalling-windows-xp-to-windows-7-using-usmt-4-0-to-migrate-system-and-user-state-settings-like-wallpaper-and-network-printer-mappings-are-not-migrated.aspx"&gt;http://blogs.msdn.com/alex_semi/archive/2009/12/10/when-upgrading-or-reinstalling-windows-xp-to-windows-7-using-usmt-4-0-to-migrate-system-and-user-state-settings-like-wallpaper-and-network-printer-mappings-are-not-migrated.aspx&lt;/A&gt;)&lt;/P&gt;
&lt;P&gt;you may found that now it's migrating too much - for instance, the "windows classic" theme is getting migrated from XP and your migrated customers are getting non-aero look of their Windows 7.&lt;/P&gt;
&lt;P&gt;To tell it not to migrate the theme, you should use config.xml file. First, create one by running scanstate.exe /genconfig:yourconfig.xml on your source XP machine. Find the "theme" keyword and set migrate="no"&lt;/P&gt;
&lt;P&gt;Then, copy captured file&amp;nbsp;to your x86 USMT4 package folder.&lt;/P&gt;
&lt;P&gt;So, now, if you use MDT extensions, you should see it under C:\_SMSTaskSequence\USMT\config.xml&lt;/P&gt;
&lt;P&gt;Then, you need to set OSDMigrateAdditionalCaptureOptions to /config:"C:\_SMSTaskSequence\USMT\config.xml" in "set variable" step in your Task Sequence right after "Capture Network Settings".&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9947148" width="1" height="1"&gt;</description></item><item><title>When upgrading or reinstalling Windows XP to Windows 7 using USMT 4.0 to migrate system and user state, settings like Wallpaper and Network Printer mappings are not migrated.</title><link>http://blogs.msdn.com/b/alex_semi/archive/2009/12/10/when-upgrading-or-reinstalling-windows-xp-to-windows-7-using-usmt-4-0-to-migrate-system-and-user-state-settings-like-wallpaper-and-network-printer-mappings-are-not-migrated.aspx</link><pubDate>Fri, 11 Dec 2009 01:00:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9935335</guid><dc:creator>alexsemi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=9935335</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2009/12/10/when-upgrading-or-reinstalling-windows-xp-to-windows-7-using-usmt-4-0-to-migrate-system-and-user-state-settings-like-wallpaper-and-network-printer-mappings-are-not-migrated.aspx#comments</comments><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Update: MDT 2010 Update 1 addresses this issue.&amp;nbsp;&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Frank Rojas came up with much&amp;nbsp;simpler idea of just adding an extra step to the task sequence, here is how:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://blogs.technet.com/configurationmgr/archive/2010/02/10/solution-when-using-usmt-4-in-an-sccm-2007-sp2-osd-task-sequence-files-are-captured-successfully-but-not-settings.aspx"&gt;http://blogs.technet.com/configurationmgr/archive/2010/02/10/solution-when-using-usmt-4-in-an-sccm-2007-sp2-osd-task-sequence-files-are-captured-successfully-but-not-settings.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This works both for OSD by itself and MDT+OSD.&lt;/p&gt;
&lt;p&gt;The following content is retired.&lt;/p&gt;
&lt;p&gt;Levi Stevens describes this issue here:&amp;nbsp;&lt;a href="http://blogs.technet.com/configmgrteam/archive/2009/12/01/known-issue-migrating-from-windows-xp-to-windows-7-with-usmt-when-used-with-configmgr-2007-sp2-os-deployment-may-not-migrate-all-settings.aspx"&gt;http://blogs.technet.com/configmgrteam/archive/2009/12/01/known-issue-migrating-from-windows-xp-to-windows-7-with-usmt-when-used-with-configmgr-2007-sp2-os-deployment-may-not-migrate-all-settings.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If your are using MDT task sequences in OSD, you can take advantage of much&amp;nbsp;simpler&amp;nbsp;solution. Here is how:&lt;/p&gt;
&lt;p&gt;Find ZTIUSERSTATE.WSF script in your Scripts folder in MDT package.&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:8.5pt;font-family:'Verdana','sans-serif'"&gt;Find these lines, which will be located in the ztiuserstate.wsf script at or nearline 1198 (search for "zticopyusmt.txt"): &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top:3.75pt;margin-right:18.75pt;margin-bottom:3.75pt;margin-left:0in;background:#DEDEDE" class="MsoNormal"&gt;&lt;span style="font-size:10.0pt;font-family:'Courier New';color:black"&gt;oUtility.RunWithHeartbeat "cmd.exe/c xcopy /iesryh """ &amp;amp; sUSMTPath &amp;amp; """""" &amp;amp; oUtility.LocalRootPath &amp;amp; "\USMT" &amp;amp;""" 1&amp;gt;&amp;gt; " &amp;amp; oLogging.LogPath &amp;amp;"\zticopyUSMT.txt 2&amp;gt;&amp;gt;&amp;amp;1 "&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top:3.75pt;margin-right:18.75pt;margin-bottom:3.75pt;margin-left:0in;background:#DEDEDE" class="MsoNormal"&gt;&lt;span style="font-size:10.0pt;font-family:'Courier New';color:black"&gt;InstallUSMT4 = oUtility.LocalRootPath&amp;amp; "\USMT" &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:8.5pt;font-family:'Verdana','sans-serif'"&gt;&lt;br /&gt;&lt;br /&gt;Add the following line between the two lines above: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="margin-top:3.75pt;margin-right:18.75pt;margin-bottom:3.75pt;margin-left:0in;background:#DEDEDE" class="MsoNormal"&gt;&lt;span style="font-size:10.0pt;font-family:'Courier New';color:black"&gt;oUtility.RunWithHeartbeat "cmd.exe/c xcopy /iesryh """ &amp;amp; sUSMTPath &amp;amp;"\DlManifests"" """ &amp;amp;oEnv("SystemRoot") &amp;amp; "\system32\DlManifests" &amp;amp;""" 1&amp;gt;&amp;gt; " &amp;amp; oLogging.LogPath &amp;amp;"\zticopyUSMT.txt 2&amp;gt;&amp;gt;&amp;amp;1 "&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:8.5pt;font-family:'Verdana','sans-serif'"&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:8.5pt;font-family:'Verdana','sans-serif'"&gt;After inserting this line, the script should contain this logic: &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10.0pt;font-family:'Courier New';color:black"&gt;&lt;o:p&gt;&lt;span style="font-family: Arial, Helvetica, sans-serif; color: #1f497d; "&gt;oUtility.RunWithHeartbeat"cmd.exe /c xcopy /iesryh """ &amp;amp; sUSMTPath &amp;amp;""" """ &amp;amp; oUtility.LocalRootPath &amp;amp;"\USMT" &amp;amp; """ 1&amp;gt;&amp;gt; " &amp;amp; oLogging.LogPath&amp;amp; "\zticopyUSMT.txt 2&amp;gt;&amp;gt;&amp;amp;1 "&lt;/span&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="color:#1F497D"&gt;oUtility.RunWithHeartbeat"cmd.exe /c xcopy /iesryh """ &amp;amp; sUSMTPath &amp;amp;"\DlManifests"" """ &amp;amp;oEnv("SystemRoot") &amp;amp; "\system32\DlManifests" &amp;amp;""" 1&amp;gt;&amp;gt; " &amp;amp; oLogging.LogPath &amp;amp;"\zticopyUSMT.txt 2&amp;gt;&amp;gt;&amp;amp;1 "&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d; "&gt;InstallUSMT4= oUtility.LocalRootPath &amp;amp; "\USMT"&lt;/span&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Update distribution points for your MDT package.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9935335" width="1" height="1"&gt;</description></item><item><title>Applications picker for SCCM/MDT</title><link>http://blogs.msdn.com/b/alex_semi/archive/2009/12/04/applications-picker-for-sccm-mdt.aspx</link><pubDate>Sat, 05 Dec 2009 01:18:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9932759</guid><dc:creator>alexsemi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=9932759</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2009/12/04/applications-picker-for-sccm-mdt.aspx#comments</comments><description>&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;BUG:&amp;nbsp;when after implementing&amp;nbsp;this solution the customsettings.ini is not getting processed. Download updated version. Uninstall old one before installing this one.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Recently, I was&amp;nbsp;moving my customer from MDT to&amp;nbsp;OSD with&amp;nbsp;MDT extensions, and&amp;nbsp;I was puzzled&amp;nbsp;how to make a list of applications show up as a dialog before running a task sequence. MDT comes with a simple Computer Name dialog. I extended it with domain join credentials, local admin password, and, the most important part - applications picker. It goes to SCCM DB, and&amp;nbsp;finds all programs from packages&amp;nbsp;tagged word "Image" in the programm's description. &lt;/P&gt;
&lt;H2&gt;So,&amp;nbsp;here is&amp;nbsp;how&amp;nbsp;to install&amp;nbsp;and configure it:&lt;/H2&gt;
&lt;UL&gt;
&lt;LI&gt;Install the package, attached to this post on any x64 machine with MDT and WAIK installed. It installs all needed files under c:\Program Files\Microsoft Deployment Toolkit\ExtensionsByAlexSemi. &lt;/LI&gt;
&lt;LI&gt;Supplemental Database.&lt;/LI&gt;
&lt;UL&gt;
&lt;LI&gt;You will need a database, sitting next to your production SCCM database on the same server. I usually call it SMS_Supplemental.&lt;/LI&gt;
&lt;LI&gt;Open StoredProcedures.sql in SQL Query analyzer, and change SMS_&amp;lt;YOUR SITE CODE&amp;gt; to your SMS DB. Switch to your supplemental DB and run the query that will create SP for you. &lt;/LI&gt;
&lt;LI&gt;I've found it easier to deal with SQL security (sorry, I know it doable without it, but I prefer simplicity here), so I create a SQL login, call it something like "MDTdatareader" and assign the password to it. I gave this account rights to&amp;nbsp;read&amp;nbsp;from necessary objects and execute my queries. Logon with this account and try to run 3 stored procedures you just created. To make sure they work.&lt;/LI&gt;&lt;/UL&gt;
&lt;LI&gt;Modify SCCM_Bootstrap.ini changing domainnames, accounts, etc. Everything that ends with "=" need to be filled up&lt;/LI&gt;
&lt;LI&gt;CreateMDT Boot image using MDT extensions integrated with SCCM. Don't forget pre-execution hook checkbox.&lt;/LI&gt;
&lt;LI&gt;Add imagex.exe from WAIK for x64 to your path variable in environment&lt;/LI&gt;
&lt;LI&gt;In the elevated command prompt change the current folder and run &lt;BR&gt;alter_winpe.cmd &amp;lt;Path to the MDT image&amp;gt;. This will add needed files to your image&lt;/LI&gt;
&lt;LI&gt;Update distribution points for your boot image.&lt;/LI&gt;
&lt;LI&gt;Now, indicate some of the programs you want to publish in OSD by going to its comment and adding the word "image" into comment field. It can be anywhere in the comment field.&lt;/LI&gt;
&lt;LI&gt;Done. If you did everything right, you'll be able to see your program in the list of applications, like on the screenshot.&lt;/LI&gt;&lt;/UL&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Does it break any existing stuff?&lt;/H2&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't alter any of the standard files except wizard.hta, but even if you have customized wizard.hta, you can just add two includes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;lt;script language="vbscript" type="text/vbscript" src="ZTIConfigFile.vbs"&amp;gt; &amp;lt;/script&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;lt;script language="vbscript" type="text/vbscript" src="ZTIDataAccess.vbs"&amp;gt; &amp;lt;/script&amp;gt;&lt;/P&gt;
&lt;P&gt;My script that alters image uses the standard scripts from MDT templates folder.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;H2&gt;Here is&amp;nbsp;what this program does in addition to applications picker:&lt;/H2&gt;
&lt;UL&gt;
&lt;LI&gt;1. Suppresses cscript.exe command window like it &lt;A href="http://blogs.msdn.com/alex_semi/archive/2009/11/30/suppress-cscript-windows.aspx" target=_blank mce_href="http://blogs.msdn.com/alex_semi/archive/2009/11/30/suppress-cscript-windows.aspx"&gt;described here&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;2. Retrieves the old computer name by serial number. Meaning, if you're re-imaging the computer, it will show up old computer name even if you replace the hard drive ;)&lt;/LI&gt;&lt;/UL&gt;
&lt;H2&gt;&amp;nbsp;What are the&amp;nbsp;limitations?&lt;/H2&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;No folders. Sorry, SCCM does not expose folders structure in views&lt;/DIV&gt;&lt;/LI&gt;
&lt;LI&gt;
&lt;DIV mce_keep="true"&gt;No bundles. And you can't use dependent programs if you had an idea to do it that way, not supported in the task sequence&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;
&lt;H2&gt;What are the alternatives?&lt;/H2&gt;
&lt;P mce_keep="true"&gt;&lt;A href="http://blogs.technet.com/osd/" mce_href="http://blogs.technet.com/osd/"&gt;Modena&lt;/A&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;Why would you consider using this instead of Modena?&lt;/P&gt;
&lt;P mce_keep="true"&gt;Well, my program, first, does not require any extra config files (I find it kinda cool :)), second - if you have existing investment in MDT, you would probably like to stay with MDT. Otherwise, I'd recommend using Modena.&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9932759" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-09-93-27-59/ExtensionsByAlexSemi.msi" length="893952" type="application/octet-stream" /></item><item><title>Hide cscript.exe window for MDT general purpose wizard hook</title><link>http://blogs.msdn.com/b/alex_semi/archive/2009/11/30/suppress-cscript-windows.aspx</link><pubDate>Mon, 30 Nov 2009 21:23:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9930404</guid><dc:creator>alexsemi</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://blogs.msdn.com/b/alex_semi/rsscomments.aspx?WeblogPostID=9930404</wfw:commentRss><comments>http://blogs.msdn.com/b/alex_semi/archive/2009/11/30/suppress-cscript-windows.aspx#comments</comments><description>&lt;P&gt;As you could&amp;nbsp;notice at &lt;A href="http://blogs.technet.com/mniehaus/archive/2009/09/30/mdt-2010-new-feature-20-general-purpose-configmgr-wizard.aspx" mce_href="http://blogs.technet.com/mniehaus/archive/2009/09/30/mdt-2010-new-feature-20-general-purpose-configmgr-wizard.aspx"&gt;this post&lt;/A&gt; by Michael Niehaus, on a back there is a big "dos" window with a script being running.&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://blogs.technet.com/blogfiles/mniehaus/WindowsLiveWriter/MDT2010NewFeature20GeneralPurposeConfigM_D290/image_2.png" mce_src="http://blogs.technet.com/blogfiles/mniehaus/WindowsLiveWriter/MDT2010NewFeature20GeneralPurposeConfigM_D290/image_2.png"&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;This happens because OSD always runs&amp;nbsp;windows scripts in pre-exec hook&amp;nbsp;with CSCRIPT.EXE, even if you specify WSCRIPT.EXE in the command line.&lt;/P&gt;
&lt;P mce_keep="true"&gt;In order to&amp;nbsp;hide it,&amp;nbsp;simply&amp;nbsp;copy files&amp;nbsp;to your C:\Program Files\Microsoft Deployment Toolkit\SCCM\ folder with&amp;nbsp;files from archive attached to this post.&lt;/P&gt;
&lt;P mce_keep="true"&gt;You will need to rebuild your MDT boot image or mount it and update files there. Keep in mind that tsconfig.ini resides in the root folder.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;SPAN style="FONT-FAMILY: Calibri, sans-serif; COLOR: rgb(31,73,125); FONT-SIZE: 15px" class=Apple-style-span&gt;If you don’t want to re-create your MDT boot image, you can replacetsconfig.ini in the existing source WIM with mine tsconfig.ini and place two EXE in Deploy\scripts.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;PS: Tricky part was to make it both x86/x64. Thanks god %PROCESSOR_ARCHITECTURE% worked in the command line.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Update: you'll always have to manualy add AMD64ZTIMediaHook.exe and x86ZTIMediaHook.exe files to Deploy\Scripts folder in your image. Even for new boot images, after you create them.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9930404" width="1" height="1"&gt;</description><enclosure url="http://blogs.msdn.com/cfs-file.ashx/__key/communityserver-components-postattachments/00-09-93-04-04/C_2D00_Program-Files_2D00_Microsoft-Deployment-Toolkit_2D00_SCCM.zip" length="655115" type="application/x-zip-compressed" /></item></channel></rss>