Quantcast
Channel: Deployment Research - Johan Arwidmark
Viewing all articles
Browse latest Browse all 168

Sysprep broken in Windows 10 Build 9926

$
0
0

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.

Sysprep

 

Background info

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

If you open setuperr.log found in C:\Windows\System32\Sysprep\Panther 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.

Workaround

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


More ...

Viewing all articles
Browse latest Browse all 168

Trending Articles