<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>(iBoyd) &#187; Work</title>
	<atom:link href="http://iboyd.net/index.php/category/work/feed/" rel="self" type="application/rss+xml" />
	<link>http://iboyd.net</link>
	<description></description>
	<lastBuildDate>Thu, 22 Mar 2012 14:24:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>SCCM: Content downloaded to the client does not match the content specified in the content source</title>
		<link>http://iboyd.net/index.php/2009/01/11/sccm-content-downloaded-to-the-client-does-not-match-the-content-specified-in-the-content-source/</link>
		<comments>http://iboyd.net/index.php/2009/01/11/sccm-content-downloaded-to-the-client-does-not-match-the-content-specified-in-the-content-source/#comments</comments>
		<pubDate>Sun, 11 Jan 2009 20:09:36 +0000</pubDate>
		<dc:creator>Boyd</dc:creator>
				<category><![CDATA[System Administration]]></category>
		<category><![CDATA[Troubleshooting]]></category>
		<category><![CDATA[Work]]></category>
		<category><![CDATA[downloads]]></category>
		<category><![CDATA[packages]]></category>
		<category><![CDATA[sccm]]></category>

		<guid isPermaLink="false">http://iboyd.net/?p=119</guid>
		<description><![CDATA[There are some software packages that introduce a lot of interesting complexities that SCCM  2007 gets confused by. One of the applications that I was trying to test and deploy was giving me a particularly interesting problem: all of the clients downloaded the package, but when they checked the content, it did not match the [...]]]></description>
			<content:encoded><![CDATA[<p>There are some software packages that introduce a lot of interesting complexities that SCCM  2007 gets confused by. One of the applications that I was trying to test and deploy was giving me a particularly interesting problem: all of the clients downloaded the package, but when they checked the content, it did not match the source.</p>
<p>The error, which had an ID of 10057, was found by going to <strong>System Status -&gt; Advertisement Status -&gt; &lt;advertisement name&gt; -&gt; Show Messages on the actions pane</strong>:</p>
<blockquote><p><em>The program for advertisement &#8220;SIT00001 has failed because download of the content &#8220;SIT00029&#8243; &#8211; &#8220;Per-system unattended&#8221; has failed. The download failed because the content downloaded to the client does not match the content specified in the content source.</em></p>
<p><em>Possible causes: The content on the distribution point has been manually modified, or a local administrator on the computer has modified the content in the computer&#8217;s hash. Solution: Refresh the content on the distribution point and retry the download.</em></p></blockquote>
<p>The solution seemed obvious: update the distribution points. But multiple tries, including recreating the package and advertisement completely, did not fix the problem. Finally, I stumbled upon a forum post that helped me narrow the problem down to one of two scenarios:</p>
<p><strong>Binary Differential Replication &#8211; </strong>If this is enabled in the package configuration, some packages seem to fail. I&#8217;m assuming that they can&#8217;t handle this kind of replication and several of the files become corrupt, creating a hash mismatch. This can be turned off by opening up the package properties, going to the <strong>Data Source</strong> tab, and unchecking <strong>Enable binary differential replication</strong>. This wasn&#8217;t my problem because I hadn&#8217;t enabled binary differential replication.</p>
<p><strong>Hidden Files &#8211; </strong>Apparently, if the package source contains hidden files, SCCM may not calculate the correct hash for the package and clients could encounter an error. I found a quick way to check this using the command line:</p>
<ol>
<li>Open up a command window in the root director that contains your package source files.</li>
<li>Type <strong>Dir /S /A:H </strong>and hit enter. Depending on the package, you may be presented with several directories with multiple hidden files.</li>
<li>Trying to remove the hidden attribute on all the files with the GUI would be tedious, so just use this command instead: <strong>attrib -H /S</strong></li>
<li>Update the distribution points.</li>
</ol>
<p>The package finally verified properly and the advertisement completed.</p>
<p><strong><br />
</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://iboyd.net/index.php/2009/01/11/sccm-content-downloaded-to-the-client-does-not-match-the-content-specified-in-the-content-source/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

