Windows 10 with the latest updates now appears to cause the SYSPREP to fail due to some of the installed apps. The error log points you to the offending items in the system32\sysprep\panther\setuperr.log file. I had to remove the packages one by one and SYSPREP would then fail at the next one in the list.
I only had a few to remove to get SYSPREP working again using following PowerShell
Get-AppxPackage *candy* | Remove-AppxPackage
Get-AppxPackage *twitter* | Remove-AppxPackage
Get-AppxPackage *photos* | Remove-AppxPackage
Get-AppxPackage *HPPrinterControl* | Remove-AppxPackage
Update 27/10/17 After 1709 update SYSPREP errors again this time with the MiraView application and could not remove it, after digging through the event logs shows the corresponding .xml file missing. Coped c:\windows.old\windows\miraview folder to c:\windows and rebooted. Afterwards, worked as expected. An error in the 1709 upgrade process possibly?