Jean-Sébastien DUCHENE Blog's

Actualité, Tips, Articles sur l'ensemble des Technologies Microsoft (Microsoft Intune, ConfigMgr, Microsoft Defender, Microsoft Purview, Microsoft Azure, Windows...)

Microsoft vient de confirmer (sur le forum TechNet) un problème lors du déploiement de système d’exploitation avec System Center 2012 R2 Configuration Manager. Le téléchargement de packages échoue sur des fichiers totalement différents à chaque déploiement. Dans le fichier de journalisation de la séquence de tâches smsts.log, vous observez :

Downloading file /SMS_DP_SMSPKG$/CEN00024/sccm?/Scripts/DeployWiz_ComputerBackup.xml range 0-2999                InstallSoftware 2014-02-04 12:43:24       2356 (0x0934)

Downloaded file from http://<DPName>:80/SMS_DP_SMSPKG$/CEN00024/sccm?/Scripts/DeployWiz_ComputerBackup.xml to C:\_SMSTaskSequence\Packages\CEN00024\Scripts/DeployWiz_ComputerBackup.xml             InstallSoftware 2014-02-04 12:43:24   2356 (0x0934)

WinHttpSendRequest (hRequest, pszAdditionalHeader != NULL ? pszAdditionalHeader : WINHTTP_NO_ADDITIONAL_HEADERS, (DWORD)-1, NULL, 0, 0, NULL), HRESULT=80072ee2 (e:\qfe\nts\sms\framework\tscore\downloadcontent.cpp,1211)         InstallSoftware 2014-02-04 12:43:45       2356 (0x0934)

WinHttpSendRequest failed.     InstallSoftware 2014-02-04 12:43:45       2356 (0x0934)

SendWinHttpRequest failed. 80072ee2.             InstallSoftware 2014-02-04 12:43:45       2356 (0x0934)

SendWinHttpRequest (hSession, hConnect, hRequest, pszSourcePath, sWinHttpRangeHeader.c_str(), bUseSSL, ullContentLength, LastGoodCredentialsType), HRESULT=80072ee2 (e:\qfe\nts\sms\framework\tscore\downloadcontent.cpp,1424)         InstallSoftware 2014-02-04 12:43:45       2356 (0x0934)

DownloadFileWithRanges() failed. 80072ee2. InstallSoftware 2014-02-04 12:43:45       2356 (0x0934)

DownloadFileWithRanges (hSession, hConnect, sRequest, hFile, pszDestination, ullFileSize, ulPackageSize, ulDownLoaded, LastGoodCredentialsType, bUseSSL), HRESULT=80072ee2 (e:\qfe\nts\sms\framework\tscore\downloadcontent.cpp,1514)         InstallSoftware 2014-02-04 12:43:45       2356 (0x0934)

DownloadFile() failed for http://<DPName>:80/SMS_DP_SMSPKG$/CEN00024/sccm?/Scripts/DeployWiz_ComputerName.vbs, C:\_SMSTaskSequence\Packages\CEN00024\Scripts/DeployWiz_ComputerName.vbs. 80072ee2.        InstallSoftware                2014-02-04 12:43:45       2356 (0x0934)

DownloadFile (hSession, hConnect, sSourceFile.c_str(), sDestinationFile.c_str(), ulPackageSize, ulDownLoaded, LastGoodCredentialsType, bUseSSL), HRESULT=80072ee2 (e:\qfe\nts\sms\framework\tscore\downloadcontent.cpp,1590)         InstallSoftware 2014-02-04 12:43:45       2356 (0x0934)

Error downloading file from http://<DPName>:80/SMS_DP_SMSPKG$/CEN00024/sccm?/Scripts/DeployWiz_ComputerName.vbs to C:\_SMSTaskSequence\Packages\CEN00024\Scripts/DeployWiz_ComputerName.vbs               InstallSoftware 2014-02-04 12:43:45   2356 (0x0934)

DownloadFiles() failed. 80072ee2.          InstallSoftware 2014-02-04 12:43:45       2356 (0x0934)

DownloadFiles (setDirs, setFiles, sDestination.c_str(), bUseSSL), HRESULT=80072ee2 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,2529) InstallSoftware 2014-02-04 12:43:45       2356 (0x0934)

Download() failed. 80072ee2.   InstallSoftware 2014-02-04 12:43:45       2356 (0x0934)

DownloadContentAndVerifyHash() failed. 80070002.    InstallSoftware 2014-02-04 12:43:45       2356 (0x0934)

DownloadContentAndVerifyHash ( pszPackageID, L"SMSPackage", saHttpContentSources, saSMBContentSources, saMulticastContentSources, sDestination, dwFlags, L"", 0, dwPackageFlags, mapNetworkAccess ), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,3052)        InstallSoftware 2014-02-04 12:43:45               2356 (0x0934)

DownloadContentLocally (pszSource, sSourceDirectory, dwFlags, hUserToken, mapNetworkAccess), HRESULT=80070002 (e:\qfe\nts\sms\framework\tscore\resolvesource.cpp,3273)        InstallSoftware 2014-02-04 12:43:45               2356 (0x0934)

TS::Utility::ResolveSource (pszPkgID, sPath, 0, hUserToken, mapNetworkAccess), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\runcommandline.cpp,399)  InstallSoftware 2014-02-04 12:43:45   2356 (0x0934)

Failed to resolve the source for SMS PKGID=CEN00024, hr=0x80070002              InstallSoftware 2014-02-04 12:43:45                2356 (0x0934)

cmd.Execute(pszPkgID, sProgramName, dwCmdLineExitCode), HRESULT=80070002 (e:\nts_sccm_release\sms\client\osdeployment\installsoftware\main.cpp,372)           InstallSoftware 2014-02-04 12:43:45               2356 (0x0934)

Install Software failed to run command line, hr=0x80070002      InstallSoftware 2014-02-04 12:43:45       2356 (0x0934)

Process completed with exit code 2147942402 TSManager        2014-02-04 12:43:45       1672 (0x0688)

 

Vous utilisez System Center 2012 R2 Configuration Manager et vous avez appliquez les correctifs de déploiement de systèmes d’exploitation de la R2 : (KB2905002, KB2907566, KB2910552)

Globalement dans certains cas le téléchargement peut échouer ou continuer mais à des vitesses très basses (quelques ko/s).

La solution de contournement actuelle revient à créer deux tâches "Execute Task Sequence" au plus haut de la séquence de tâches pour configurer les variables suivantes :

  • SMSTSDownloadRetryCount = 5
  • SMSTSDownloadRetryDelay = 15

 

Source : http://social.technet.microsoft.com/Forums/en-US/54458340-e50d-4144-af0d-33c768861e97/osd-ts-fails-during-package-download-sendwinhttprequest-failed-80072ee2?forum=configmanagerosd

Facebook Like