I've been working on getting Windows 10 available in our private cloud as blueprint and kept having the deploy fail when trying to sysprep it. When logging in directly to the system and running sysprep, we see this error.
When digging further we find in the C:\Windows\System32\Sysprep\Panther\setuperr.log this text.
SYSPRP Package Microsoft.Getstarted_18.104.22.168_x64_8wekyb3d8bbwe was installed for a user, but not provisioned
SYSPRP Failed to remove apps for the current user
This is caused by Windows App Store installing things while the template is online and connected to the network.
Two solutions I've found so far
- When installing the OS, have it disconnected from the network.
- Clean up the template if that doesn't work by running the commands
get-appxpackage -name *packagename* | remove-appxpackage