I'm trying to configure an image for deployment to other machines. I've configured the machine, then I run sysprep, choose generalize and OOBE. Sysprep does its thing, then reboots. Then when 'setup is starting services', I get a 'Windows could not finish configuring the system', and it advises to reboot and try again, which presents the same error. I've tried uninstalling symantec endpoint antivirus, but this does not prevent the issue. Where should I look for what is causing the problem? Is there a logfile?
There is a logfile and you can view it. When you see the error window, you can press Shift-F10 for a cmd window, start powershell.exe and cd to c:\windows\panther, then :
tracerpt setup.etl (Get-Content ./dumpfile.xml)[-1 .. -100]
to inspect the last 100 lines of the log. You can (and you probably want to) search through this file :
Select-String ./dumpfile.xml -pattern 'reg key'
This searches for the specific registry key that could not be processed.