In an Configuration Manager 2007 OSD Task Sequence that contains an Install Software Updates task, if a large amount of software updates need to be installed, the Task Sequence will fail after exactly 30 minutes after the software updates began to be installed. Checking the SMSTS.log shows the following errors:
Successfully initiated RefreshUpdates operation 11/24/2009 12:11:34 PM InstallSWUpdate
Waiting for RefreshUpdates complete notification from Updates Deployment Agent 11/24/2009 12:11:35 PM InstallSWUpdate
FALSE, HRESULT=800705b4 (e:\nts_sms_fre\sms\client\osdeployment\installswupdate\installswupdate.cpp,1351) 11/24/2009 12:41:35 PM InstallSWUpdate
Timedout waiting for updates refresh complete notification 11/24/2009 12:41:35 PM InstallSWUpdate
WaitForRefreshUpdatesComplete(spInstall), HRESULT=800705b4 (e:\nts_sms_fre\sms\client\osdeployment\installswupdate\installswupdate.cpp,1410) 11/24/2009 12:41:35 PM InstallSWUpdate
RefreshUpdates(), HRESULT=800705b4 (e:\nts_sms_fre\sms\client\osdeployment\installswupdate\installswupdate.cpp,998) 11/24/2009 12:41:35 PM InstallSWUpdate
InstallUpdates(pInstallUpdate, tType, sJobID, ulCookie), HRESULT=800705b4 (e:\nts_sms_fre\sms\client\osdeployment\installswupdate\main.cpp,279) 11/24/2009 12:41:35 PM InstallSWUpdate
Setting TSEnv variable SMSTSInstallUpdateJobGUID= 11/24/2009 12:41:35 PM InstallSWUpdate
Process(pInstallUpdate, tType), HRESULT=800705b4 (e:\nts_sms_fre\sms\client\osdeployment\installswupdate\main.cpp,349) 11/24/2009 12:41:35 PM InstallSWUpdate
Process completed with exit code 2147943860 11/24/2009 12:41:36 PM TSManager
!--------------------------------------------------------------------------------------------! 11/24/2009 12:41:36 PM TSManager
Failed to run the action: Install Software Updates.
This operation returned because the timeout period expired. (Error: 800705B4; Source: Windows) 11/24/2009 12:41:36 PM TSManager
The execution of the group (Build the Reference Machine) has failed and the execution has been aborted. An action failed.
Operation aborted (Error: 80004004; Source: Windows) 11/24/2009 12:41:37 PM TSManager
Failed to run the last action: Install Software Updates. Execution of task sequence failed.
This operation returned because the timeout period expired. (Error: 800705B4; Source: Windows) 11/24/2009 12:41:37 PM TSManager
Note that the time that the error occurred (Timedout waiting for updates refresh complete notification) occurred exactly 30 minutes after the previous log entry.
Reviewing the rest of the logs involved with Software Updates (WindowsUpdate.log, CAS.log, CIAgent.log, LocationServices.log, ScanAgent.log, SDMAgent.log, UpdatesDeployment.log, UpdatesHandler.log, UpdatesStore.log, WUAHandler.log) shows no error messages and indicate that the installation of the software updates were being performed as expected without any issues. However, after the error occurs in the SMSTS.log, some of the logs will indicate that they have cancelled any software updates that they had been scheduled to run:
UpdatesStore.log
Purging update status reported by update source {<GUID>}. 11/24/2009 12:45:15 PM UpdatesStore
Successfully raised state message for update (<GUID>) with state (NotApplicable). 11/24/2009 12:45:15 PM UpdatesStore
UpdatesDeployment.log
Request received - Resume 11/24/2009 12:45:10 PM UpdatesDeploymentAgent
No pending install assignment 11/24/2009 12:45:10 PM UpdatesDeploymentAgent
No other installations in pipeline. No reboot required. 11/24/2009 12:45:10 PM UpdatesDeploymentAgent
Update assignment delete event received. 11/24/2009 12:45:15 PM UpdatesDeploymentAgent
OnPolicyDelete for assignment ({<GUID>})... 11/24/2009 12:45:15 PM UpdatesDeploymentAgent
Cancelling active CI Agent job - {<GUID>} for assignment ({<GUID>}) 11/24/2009 12:45:15 PM UpdatesDeploymentAgent
Updates client config deletion event received. 11/24/2009 12:45:15 PM UpdatesDeploymentAgent
Disabling software Updates feature 11/24/2009 12:45:15 PM UpdatesDeploymentAgent
WUAHandler.log
Removed Update Source ({<GUID>}) of content type: 2 11/24/2009 12:45:21 PM WUAHandler
Note that the above entries in the above logs all occurred after the error occurred in the SMSTS.log.