When deploying Windows Vista, Windows 2008, Windows 7, Windows 2008 R2, or newer Windows OS using an Configuration Manager 2007 OSD Task Sequence, the Task Sequence fails during the "Setup windows and ConfigMgr" task. Examining the SMSTS.log file shows the following errors:
SMSTS.log
Set command line: "<PACKAGE_SOURCE>\<WINDOWS_INSTALLATION_PACKAGE_ID>\SOURCES\SETUP.EXE" "/unattend:C:\_SMSTaskSequence\unattend.xml" /noreboot OSDSetupWindows
Executing command line: "<PACKAGE_SOURCE>\<WINDOWS_INSTALLATION_PACKAGE_ID>\SOURCES\SETUP.EXE" "/unattend:C:\_SMSTaskSequence\unattend.xml" /noreboot OSDSetupWindows
Process completed with exit code 31 OSDSetupWindows
Windows Setup completed with exit code 31 OSDSetupWindows
Entering ReleaseSource() for <PACKAGE_SOURCE>\<WINDOWS_INSTALLATION_PACKAGE_ID>\ OSDSetupWindows
reference count 1 for the source <PACKAGE_SOURCE>\<WINDOWS_INSTALLATION_PACKAGE_ID>\ before releasing OSDSetupWindows
Released the resolved source <PACKAGE_SOURCE>\<WINDOWS_INSTALLATION_PACKAGE_ID>\ OSDSetupWindows
exitCode == 0, HRESULT=80004005 (e:\nts_sms_fre\sms\client\osdeployment\setupwindows\setupwindows.cpp,440) OSDSetupWindows
Windows setup failed, code 31 OSDSetupWindows
setup.run(), HRESULT=80004005 (e:\nts_sms_fre\sms\client\osdeployment\setupwindows\setupwindows.cpp,1707) OSDSetupWindows
Exiting with code 0x80004005 OSDSetupWindows
Process completed with exit code 2147500037 TSManager
!--------------------------------------------------------------------------------------------! TSManager
Failed to run the action: Setup windows and ConfigMgr.
Unspecified error (Error: 80004005; Source: Windows) TSManager
The execution of the group (Setup Operating System) has failed and the execution has been aborted. An action failed.
Operation aborted (Error: 80004004; Source: Windows) TSManager
Failed to run the last action: Setup windows and ConfigMgr. Execution of task sequence failed.
Unspecified error (Error: 80004005; Source: Windows) TSManager
Examining the Setupact.log reveals the following errors:
Setupact.log
<Date> <Time>, Info PnPIBS: Installing driver C:\_SMSTaskSequence\drivers\<#>\<driver>.inf ...
<Date> <Time>, Info [0x0640ae] IBSLIB PublishMessage: Publishing message [Windows Setup could not install one or more boot-critical drivers. To install Windows, make sure that the drivers are valid, and restart the installation.]
<Date> <Time>, Info [SETUP.EXE] Called script [X:\windows\Setup\Scripts\ErrorHandler.cmd] to handle fatal error
<Date> <Time>, Info [0x070042] DIAG CallBack_DiagnosticDataSend: Called with notification for Error published by ErrorHandler
<Date> <Time>, Info [0x0601d7] IBS InstallWindows:Error Type = 3211266