Sysprep broken in Windows 10 Build 9926

Turns out that Sysprep is broken in Windows 10 Build 9926, but there is a workaround.

When trying to run Sysprep on a virtual machine with Windows 10 build 9926 installed you may be greeted with the following error message:

A fatal error occurred while trying to sysprep the machine.


Background info

This only happens if the virtual machine is connected to Internet during setup.

If you open setuperr.log found in C:WindowsSystem32SysprepPanther you see the following:

Error                 SYSPRP Package Microsoft.InsiderHub_1.1.0.400_x64__8wekyb3d8bbwe was installed for a user, but not provisioned for all users.
This package will not function properly in the sysprep image.
Error                 SYSPRP Failed to remove apps for the current user: 0x80073cf2.


There are two workarounds:

  1. Make sure the virtual machine you are using for reference images never connects to Internet.
  2. Prior to run sysprep, have the task sequence delete all uppdated packages using PowerShell

To delete a package, use the following PowerShell command:

# Delete a package
Get-AppxPackage -Name *Insider* | Remove-AppxPackage

/ Johan

About the author

Johan Arwidmark

0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments