Updates fail or time out when WSUS is used during an MDT or SCCM capture

microsoft

This guide assumes that you use Microsoft Deployment Toolkit (MDT build 8443) or Microsoft System Center Configuration Manager (SCCM) capturing Windows 10.

You capture a task sequence, and the capture computer does not have Internet access. When the task sequence is running and the computer is checking for updates (pre-application installation), the installation freezes for 2 hours while searching for updates. After that, all approved updates are scrolled through and installed in seconds. But after several attempts, the process then fails and times out, and you receive error messages like the following:

Failed to download: 4816e53b-6f86-43c5-a740-0cafbe6317f5  result(4) : Cumulative Update for Windows 10 Version 1703 for x64-based Systems (KB4015583) ZTIWindowsUpdate 4/18/2017 4:15:59 PM 0 (0x0000)

Failed to download: f6df2191-75f3-445d-87b8-557ef2b3536c  result(4) : Security Update for Adobe Flash Player for Windows 10 Version 1703 (for x64-based Systems) (KB4018483) ZTIWindowsUpdate 4/18/2017 4:15:59 PM 0 (0x0000)

Cause

This issue occurs when the computer is configured to use Windows Server Update Services (WSUS), but the computer tries to connect sls.update.microsoft.com for updates.

Resolution

To fix this issue, run the following command to set the download mode of Windows Update Delivery Optimization to bypass delivery optimization and use Background Intelligent Transfer Service (BITS) so that clients can use BranchCache:

REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\DeliveryOptimization /v DODownloadMode /t REG_DWORD /d 100

Feedback

If you have any questions on this guide or any feedback you would like to leave, please feel free to leave us a comment at the bottom of this page in our comments section.