MDT Capture Fails to SysPrep

Starting in December 2016, every capture I set up for my customers in MDT, fails to Sysprep if I don’t add this one registry key. The problem arises from the fact that Sysprep will fail if the built-in Windows 10 UWP apps are updated prior to sysprep. If your capture VM is connected to the internet long enough, the UWP apps will get updated, and sysprep will fail. Add a ‘Run Command Line’ Step in your capture task sequence. I put the step right after ‘Tattoo’. This registry key prevents the UWP apps from auto-updating so that sysprep can complete successfully.

REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsStore\WindowsUpdate /v AutoDownload /t REG_DWORD /d 2 /f

Leave a Reply

Your email address will not be published. Required fields are marked *