Windows 10 sysprep template creation

When creating a template with sysprep from a Windows 10 instance, template creation fails.

Cause

This is a known Microsoft issue wherein sysprep fails on Windows 10 due to problems with the default Windows Store applications.

Solution

Remove the problematic applications and then retry to create the sysprep template.

If Windows sysprep fails, you can also configure the following registry to bypass the error:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\StreamProvider] “LastFullPayloadTime”=dword:00000000

See this Microsoft article for more information on the issue and instructions for removing the problematic applications.

See this Microsoft article for more information about setting the registry key.