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?

1
+50

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.

  • Much thanks. I have read several articles on this, but that is a new one. Checking into it... – SamAndrew81 Jun 1 '18 at 16:53
  • I'm stuck at SysPrep "re-arm fail" now. Any ideas? – SamAndrew81 Jun 1 '18 at 20:54
  • Need more details. 😀 – SturdyErde Jun 2 '18 at 23:04
  • I cannot get SysPrep to work and at this point I have to give up and start over in a new VM. I've just spent too much time on it. Thank you for the help though. – SamAndrew81 Jun 4 '18 at 16:11

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.