For the most part, Windows 10 can be provisioned in the same manner as Windows 7 or Windows 8. One common issue we have run into when sysprepping Windows 10 is an error related to Metro Apps. A known issue with sysprep is that removing or updating built-in Windows Store apps causes Sysprep to fail. When you install Windows 10 and log in as a user, some Metro apps are configured for your user account and this can cause sysprep to fail.
The resolution is to remove these metro apps. You can do so by following these steps:
- Open powershell running as an administrator
- Run the following commands:
- Run this command to list installed metro apps:
Get-AppxPackage -AllUser | Format-List -Property PackageFullName,PackageUserInformation
- Next, review the setuperr.log located at C:\Windows\System32\Sysprep\Panther. This log should show the package full name for the metro app causing the sysprep error. Copy this package full name.
- In Powershell, run this command:
Remove-AppxPackage -Package <packagefullname>
- Re-run sysprep. It is possible you will get the same failure again, but for a different metro app. Repeat steps 4 and 5 to remove additional metro apps that cause failures
- When all necessary apps have been removed Sysprep should succeed. Move on with the next step in the provisioning process.
See Microsoft Support for more information: