3

I have been creating our Windows 10 "golden image" from a VM, but since I installed the "Spring Creators update" I now cannot SysPrep it. Typically, this is the process I would follow, using PowerShell to find and remove all APPX packages:

#Audit APPX packages
Import-Module Appx
Import-Module Dism
Get-AppxPackage -AllUser | Format-List -Property PackageFullName | Out-File C:\Temp\AppxJunkToRemove.txt

I then edit the "AppxJunkToRemove.txt" file to create my "RemoveAppXPackages.PS1" script:

Remove-AppxPackage -Package <packagefullname1>
Remove-AppxPackage -Package <packagefullname2>

Lastly, I would do two other things:

  • Disable the NIC in the VM
  • Disable the "Tile Data Model" service - tiledatamodelsvc (which is now gone in the SC update, apparently)

SysPrep is Windows 10 is painful, but following these steps worked 100% of the time for me before the Spring Creators Update. However, now the error I get is:

"System Preparation Tool 3.14
A fatal error occured while tyring to sysprep the machine."

This happens during the "Sysprep is working... processing generalize phase Sysprep plugins..." step. Then this error immediately follows:

Sysprep quit Error code 0

I have verified that C:\Windows\System32\SysPrep\Panther folder does not exist before I try the SysPrep. Setuperr.log shows:
Error 0x0f00a8 SYSPRP WinMain:Hit Failure while processing sysprep generalize internal providers

What I am missing here?

Thomas
  • 4,225
  • 5
  • 23
  • 28
SamAndrew81
  • 284
  • 1
  • 6
  • 20

2 Answers2

1

There is a great blog post on TechNet about Cleaning up apps to keep Windows 10 sysprep happy. The key takeaways from this are:

  • "...sysprep will fail when creating a custom Windows 10 image if there are any apps installed during the image creation process that aren’t also provisioned in the OS."
  • "Don’t build your images on a VM that has internet access, since there’s no way the Microsoft Store can download any apps when there is no internet connectivity." (Direct Quotes)

If all else fails, compare your checklist with the detailed comment on this post.

SamErde
  • 3,409
  • 3
  • 24
  • 44