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:
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?
There is a great blog post on TechNet about Cleaning up apps to keep Windows 10 sysprep happy. The key takeaways from this are:
If all else fails, compare your checklist with the detailed comment on this post.
you need to activate windows 10 in order to run sysprep on windows 10.
Reference:https://social.technet.microsoft.com/Forums/windows/en-US/df9c1f49-f374-46c5-b7c7-5b048a2b442e/sysprep-windows-2016-ltsb-failed-with-setupdigetclassdevs-rearm-error?forum=win10itprosetup