Up until recently, my reference image builds have been working perfectly. However, now they are failing on the sysprep stage. I'm getting the error: Sysprep could not initialize. There are one or more Windows updates that require a reboot. To run sysprep, reboot the computer and restart the application.
The build is just a standard vanilla iso of Windows 7 (this is happening with x86 and x64) and the run Windows updates, sysprep and capture the WIM.
Looking at the log, there's a lot of updates sysprep is removing during the deepclean, all are requiring a reboot. But, sysprep doesn't reboot and starts the generalize pass. Then fails. If I don't run any updates, sysprep works fine.
Any ideas where to start looking, or how to fix? I've even tried injecting as many updates as possible into the wim, and still get the error.