A bit of a silly one this time round but when running a deploy/capture (with application installation half way through) SCCM 2012 task sequence just after installing the applications I got the error message.
Task sequence: <task sequence name> has failed with the error code (0x00000032). For more information, contact your system administrator or helpdesk operator.
As it turns out at the end of my application deployment phase of the task sequence I had a restart listed, however instead of being set to ‘The currently installed default operating system’ I had it set to ‘The boot image assigned to this task sequence’.
Setting this correctly to ‘The currently installed default operating system’ resolved the problem and I was back on my merry way to creating an updated OS deployment image.