Article ID: 2000470 - Last Review: May 3, 2011 - Revision: 9.0

ConfigMgr 2007: Multicast OS deployments fail with a hash value error when the Windows OS WIM file is over 4GB

System TipThis article applies to a different operating system than the one you are using. Article content that may not be relevant to you is disabled.
Expand all | Collapse all

Symptoms

When using an Configuration Manager 2007 OSD Task Sequence to deploy a Windows OS WIM file over 4GB via Multicast, the Task Sequence and deployment fail right after the WIM file is downloaded. Examining the SMSTS.log shows that the deployment failed due to an incorrect hash value:

Using LocalPath:   C:\_SMSTaskSequence\Packages\<Package_ID>
Opening firewall for X:\sms\bin\i386\OSDApplyOS.exe
Download: Server=<Server> Namespace=//<Server_FQDN>/SMSPKG<Drive_Letter>$/<Package_ID> RemoteObject=\\<Server_FQDN>/SMSPKG<Drive_Letter>$/<Package_ID>\  LocalObject=C:\_SMSTaskSequence\Packages\<Package_ID>.{<GUID>}
...
...
Done writing to file:C:\_SMSTaskSequence\Packages\<Package_ID>\<Windows_OS_WIM>.wim  len=<length>
Done processing file completely.
Progress: extract 100/100
Completed Extract File Succesfully
Download done setting progress bar to 100
Succesfully performed multicast download from mcs://<Server_FQDN>/SMS_MCS/.sms_mcs?filePath=\\<Server_FQDN>/SMSPKG<Drive_Letter>$/<Package_ID>\&PackageFlags=134217728&packageID=<Package_ID>&version=<Source_Version>
Hash could not be matched for the downloded content. Original ContentHash = <Hash_From_DB>, Downloaded ContentHash = <Calculated_Hash>
0L == TS::Utility::VerifyPackageHash(pszContentID, sDestination), HRESULT=80091007 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,2901)
DownloadContentAndVerifyHash(pszPackageID, L"SMSPackage", saHttpContentSources, saSMBContentSources, saMulticastContentSources, sDestination, dwFlags, L"", 0, dwPackageFlags, pszUserName, pszUserPassword ), HRESULT=80091007 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3000)
DownloadContentLocally(pszSource, sSourceDirectory, dwFlags, hUserToken, pszUserName, pszUserPassword), HRESULT=80091007 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3128)
ResolveSource(pszSource, sSourceDirectory, dwFlags, 0, 0, 0), HRESULT=80091007 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,3029)
TS::Utility::ResolveSource( this->packageID, this->packagePath, TS::Utility::ResolveSourceFlags::PersistContents ), HRESULT=80091007 (e:\nts_sms_fre\sms\client\osdeployment\applyos\installimage.cpp,1255)
resolvePkgSource(), HRESULT=80091007 (e:\nts_sms_fre\sms\client\osdeployment\applyos\installimage.cpp,1299)
Installation of image 1 in package <Package_ID> failed to complete..
The hash value is not correct. (Error: 80091007; Source: Windows)

The same Windows OS WIM file deploys correctly via Unicast. Additionaly, Windows OS WIM files under 4GB deploy via Multicast without issue.

Cause

The problem is caused by a known bug in Configuration Manager 2007 SP1 R2 where the hash calculations are not performed correctly when going over the the 32bit barrier (approximately 4GB) and going into 64bit calculations. This occurs when the WIM file size is just over 4GB.

Resolution

The bug has been fixed in KB971413. KB971413 replaces the smswdstp.dll file that has the faulty code. The new DLL file has the proper code to perform hash value 64bit calculations. To correct the problem, install KB971413 on the parent site server of the Multicast DPs.

More Information

After applying KB971413, some or all of the following actions may need to be taken for Multicasting to function properly again:

  1. Disable and then reenable “Allow this package to be transferred via multicast (WinPE only)” in the properties of the OS image
  2. Disable and then reenable the Multicast option in the properties of the DP
  3. Reinstall WDS

Please see Knowledge Base article 2000468 for additional information and detailed steps.

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use (http://go.microsoft.com/fwlink/?LinkId=151500) for other considerations.

APPLIES TO
  • Microsoft System Center Configuration Manager 2007 R2
  • Microsoft System Center Configuration Manager 2007 Service Pack 1
Keywords: 
KB2000470