Support Tip: When deploying Windows 7, the Task Sequence fails to download the MDT tools and logs error 80070002

Support Tip: When deploying Windows 7, the Task Sequence fails to download the MDT tools and logs error 80070002

  • Comments 5
  • Likes

~ Winds Wu

ToolsHere’s an FYI on an issue we ran into recently that you might want to be aware of. When using Microsoft Deployment Toolkit (MDT) 2013 integrated with System Center 2012 R2 Configuration Manager (ConfigMgr R2) and deploying Windows 7, the Task Sequence may continuously fail to download the MDT tools during the post install/state restore phase.

You will also see the following in the smsts.log at the time:

WinHttpSendRequest (hRequest, pszAdditionalHeader != NULL ? pszAdditionalHeader : WINHTTP_NO_ADDITIONAL_HEADERS, (DWORD)-1, NULL, 0, 0, NULL), HRESULT=80072ee2 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1193) InstallSoftware 10/02/2014 05:15:53 2332 (0x091C)
WinHttpSendRequest failed. InstallSoftware 10/02/2014 05:15:53 2332 (0x091C)
SendWinHttpRequest failed. 80072ee2. InstallSoftware 10/02/2014 05:15:53 2332 (0x091C)
SendWinHttpRequest (hSession, hConnect, hRequest, pszSourcePath, sWinHttpRangeHeader.c_str(), bUseSSL, ullContentLength, LastGoodCredentialsType), HRESULT=80072ee2 (e:\nts_sccm_release\sms\framework\tscore\downloadcontent.cpp,1406) InstallSoftware 10/02/2014 05:15:53 2332 (0x091C)
DownloadFileWithRanges() failed. 80072ee2. InstallSoftware 10/02/2014 05:15:53 2332 (0x091C)
Error downloading file from http://ConfigMgrR2.SC.LOCAL:80/SMS_DP_SMSPKG$/RR200021/sccm?/Scripts/DeployWiz_Definition_ENU.xml to C:\_SMSTaskSequence\Packages\RR200021\Scripts/DeployWiz_Definition_ENU.xml InstallSoftware 10/02/2014 05:15:53 2332 (0x091C)
DownloadFiles() failed. 80072ee2. InstallSoftware 10/02/2014 05:15:53 2332 (0x091C)
Download() failed. 80072ee2. InstallSoftware 10/02/2014 05:15:53 2332 (0x091C)
DownloadContentAndVerifyHash() failed. 80070002. InstallSoftware 10/02/2014 05:15:53 2332 (0x091C)
Failed to resolve the source for SMS PKGID=RR200021, hr=0x80070002 InstallSoftware 10/02/2014 05:15:53 2332 (0x091C)
Install Software failed to run command line, hr=0x80070002 InstallSoftware 10/02/2014 05:15:53 2332 (0x091C)
Failed to run the action: Use Toolkit Package.
The system cannot find the file specified. (Error: 80070002; Source: Windows) TSManager 10/02/2014 05:15:53 1812 (0x0714)

Cause

When using MDT 2013 integrated with ConfigMgr R2 and deploying Windows 7, the Task Sequence will continuously fail to download the MDT tools during the post install/state restore phase *IF* the Set Variable for Drive Letter TS variable is configured to True. This does not occur if it is configured to False.

Workaround

To work around this issue, create the following two Task Sequence variables at the very top of the Task Sequence, immediately below "Execute Task Sequence"

SMSTSDownloadRetryCount = 5
SMSTSDownloadRetryDelay = 15

Winds Wu | Support Engineer | Microsoft GBS Management and Security Division

Get the latest System Center news on Facebook and Twitter:

clip_image001 clip_image002

System Center All Up: http://blogs.technet.com/b/systemcenter/
System Center – Configuration Manager Support Team blog: http://blogs.technet.com/configurationmgr/
System Center – Data Protection Manager Team blog: http://blogs.technet.com/dpm/
System Center – Orchestrator Support Team blog: http://blogs.technet.com/b/orchestrator/
System Center – Operations Manager Team blog: http://blogs.technet.com/momteam/
System Center – Service Manager Team blog: http://blogs.technet.com/b/servicemanager
System Center – Virtual Machine Manager Team blog: http://blogs.technet.com/scvmm

Windows Intune: http://blogs.technet.com/b/windowsintune/
WSUS Support Team blog: http://blogs.technet.com/sus/
The AD RMS blog: http://blogs.technet.com/b/rmssupp/

App-V Team blog: http://blogs.technet.com/appv/
MED-V Team blog: http://blogs.technet.com/medv/
Server App-V Team blog: http://blogs.technet.com/b/serverappv

The Forefront Endpoint Protection blog : http://blogs.technet.com/b/clientsecurity/
The Forefront Identity Manager blog : http://blogs.msdn.com/b/ms-identity-support/
The Forefront TMG blog: http://blogs.technet.com/b/isablog/
The Forefront UAG blog: http://blogs.technet.com/b/edgeaccessblog/

Your comment has been posted.   Close
Thank you, your comment requires moderation so it may take a while to appear.   Close
Leave a Comment
  • While good information, the phrasing of where to ad these instructions is a bit confusing ... could there please be a simple screenshot showing their placement in the Task Sequence?

    I also noticed this appeared to happen when the NIC reset it's interface and the VM/Mchine would basically still have a 169.x.x.x. address. Is that what this is in relation to? Just giving the machine enough time to acquire a proper address? AKA: can you explain why this issue occurs so we know what we are fixing?

  • I ran into this same issue when deploying Windows 8.1 Pro with SCCM 2012 R2 for a client recently. I never had the MDT package fail to download, but I did have other packages randomly fail to download with the same error codes. I found this same suggested workaround in the forums http://social.technet.microsoft.com/Forums/en-US/54458340-e50d-4144-af0d-33c768861e97/osd-ts-fails-during-package-download-sendwinhttprequest-failed-80072ee2?forum=configmanagerosd and it fixed the issue immediately. So it does not appear to be limited to Windows 7 from what I have seen.

  • 101063902103{1} USMC01225348 675623 672962 STATE #93949 licensed 1101DFCU COMMUNITY FINANCEL 45175.39570 TEN MILES NOVI.CE.MICHIGAN 48375 53417 435276 5898 9831 country