Slow OSD download fixed (HTTP/WEBDAV issue)
This week I’ve been beating on a problem with an OSD Task Sequence. It is a TS for deploying the Vista image that I build with my Build and Capture TS. What I was noticing was that in my Deploy TS, it was simply taking entirely too long to download the WIM file. Now granted it is a 3.5gig file, but it was taking approximately 15 minutes to download. With the gigabit connection, it should have been about a minute and a half. WHY???
I enabled command support on my boot image, ran the TS, and pulled up an F8 CMD prompt to take a look at the smsts.log. It has some errors where the HTTP transport was failing with a 405 code. After failing three times, it then switched to SMB and proceeded to download…very slowly. Here is what I saw in the log:
Initializing HTTP transport.
Setting URL = http://SCCMfqdn/SMS_DP_SMSDPE$/SMSPKG/SMS00024/.
Address = SCCMfqdn, Object = /SMS_DP_SMSDPE$/SMSPKG/SMS00024/, Port = 12345.
WinHttp credentials set
CLibSMSMessageWinHttpTransport::Send: URL:
SCCMfqdn:12345 PROPFIND /SMS_DP_SMSDPE$/SMSPKG/SMS00024/
Error. Status code 405 returned
dwHttpResultCode>=200 && dwHttpResultCode<=299, HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\downloadcontent.cpp,590)
Http result: 405
SendResourceRequest() failed with 0x80004005
SendResourceRequest(), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\downloadcontent.cpp,371)
oDavRequest.GetDirectoryListing(setDirs, setFiles), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,2419)
Retrying download…
Tried all the available http based locations. SMB based locations will be attempted now.