Task Sequence stops after reboot
Hello We're running a SCCM 2007 SP2 R2 site on a Win2008 R2 system, trying to deploy Win2008 R2 with OSD. The problem is when we use the "Restart Computer" step in the task sequence and choose to restart to the current operating system, the server restarts and goes right to the Windows Login without continuing the task sequence. It's also inconsistent! Either it stops after installing a program (etrust), or it stops after installing a feature with servermanagercmd. The task sequence is as follows: - Install eTrust Antivirus with /norestart switch - Restart Computer to current operating system - Run command line: servermanagercmd.exe -i Application-Server - Restart Computer to current operating system The task sequence can stop after either the first or the second restart, very inconsistently, and very rarely it goes past both. The smsts.log shows this: <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="11:14:51.521+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="instruction.cxx:2957"> <![LOG[Expand a string: WinPEandFullOS]LOG]!><time="11:14:51.521+-60" date="11-11-2010" component="TSManager" context="" type="0" thread="1728" file="executionenv.cxx:782"> <![LOG[Executing command line: smsboot.exe /target:HD]LOG]!><time="11:14:51.521+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="commandline.cpp:805"> <![LOG[========================= [ smsboot.exe ] =========================]LOG]!><time="11:14:51.553+-60" date="11-11-2010" component="Reboot" context="" type="1" thread="4752" file="rebootcomputer.cpp:184"> <![LOG[Command line: '"smsboot.exe" /target:HD']LOG]!><time="11:14:51.568+-60" date="11-11-2010" component="Reboot" context="" type="0" thread="4752" file="rebootcomputer.cpp:186"> <![LOG[SMSTSRebootDelay=1]LOG]!><time="11:14:51.568+-60" date="11-11-2010" component="Reboot" context="" type="1" thread="4752" file="rebootcomputer.cpp:122"> <![LOG[SMSTSRebootMessage=Initiating system reboot]LOG]!><time="11:14:51.568+-60" date="11-11-2010" component="Reboot" context="" type="1" thread="4752" file="rebootcomputer.cpp:122"> <![LOG[SMSTSRebootRequested=HD]LOG]!><time="11:14:51.568+-60" date="11-11-2010" component="Reboot" context="" type="1" thread="4752" file="rebootcomputer.cpp:122"> <![LOG[Process completed with exit code 0]LOG]!><time="11:14:51.568+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="commandline.cpp:1102"> <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="11:14:51.568+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="instruction.cxx:3010"> <![LOG[Successfully complete the action (Restart Computer) with the exit win32 code 0]LOG]!><time="11:14:51.568+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="instruction.cxx:3036"> <![LOG[Sending status message . . .]LOG]!><time="11:14:51.568+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="utility.cxx:292"> <![LOG[Send a task execution status message SMS_TSExecution_ActionCompleteInfo]LOG]!><time="11:14:51.568+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="utility.cxx:314"> <![LOG[MP server A29SCVW001.PUBNETT.LOCAL and port 80. SSL=false. CRL=false.]LOG]!><time="11:14:51.568+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="utility.cxx:458"> <![LOG[Site code: PNP]LOG]!><time="11:14:51.568+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="utility.cxx:489"> <![LOG[Client machine name: MININT-6B6T7CT]LOG]!><time="11:14:51.568+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="utility.cxx:494"> <![LOG[Client Identity: GUID:81067c1d-d0f8-4253-b91f-e7a319ee4d71]LOG]!><time="11:14:51.568+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="utility.cxx:496"> <![LOG[Advertisement ID: PNP20001]LOG]!><time="11:14:51.568+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="utility.cxx:505"> <![LOG[Package ID: PNP0000E]LOG]!><time="11:14:51.568+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="utility.cxx:507"> <![LOG[Sending StatusMessage]LOG]!><time="11:14:51.599+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="libsmsmessaging.cpp:3806"> <![LOG[Formatted header:]LOG]!><time="11:14:51.599+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="libsmsmessaging.cpp:1500"> <![LOG[<Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>c85af7a6-8f49-4473-a11d-7e20355c9c3c</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2010-11-11T10:14:51Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="2564"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg> ]LOG]!><time="11:14:51.599+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="libsmsmessaging.cpp:1501"> <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: A29SCVW001.PUBNETT.LOCAL:80 CCM_POST /ccm_system/request]LOG]!><time="11:14:51.599+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="libsmsmessaging.cpp:7446"> <![LOG[The request has succeeded. 200 OK]LOG]!><time="11:14:51.615+-60" date="11-11-2010" component="TSManager" context="" type="0" thread="1728" file="libsmsmessaging.cpp:7734"> <![LOG[Set a global environment variable _SMSTSLastActionRetCode=0]LOG]!><time="11:14:51.615+-60" date="11-11-2010" component="TSManager" context="" type="0" thread="1728" file="executionenv.cxx:668"> <![LOG[Set a global environment variable _SMSTSLastActionSucceeded=true]LOG]!><time="11:14:51.615+-60" date="11-11-2010" component="TSManager" context="" type="0" thread="1728" file="executionenv.cxx:668"> <![LOG[Clear local default environment]LOG]!><time="11:14:51.615+-60" date="11-11-2010" component="TSManager" context="" type="0" thread="1728" file="executionenv.cxx:807"> <![LOG[Updated security on object C:\_SMSTaskSequence.]LOG]!><time="11:14:51.693+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="utils.cpp:829"> <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=36]LOG]!><time="11:14:51.693+-60" date="11-11-2010" component="TSManager" context="" type="0" thread="1728" file="executionenv.cxx:668"> <![LOG[Set a TS execution environment variable _SMSTSNextInstructionPointer=36]LOG]!><time="11:14:51.693+-60" date="11-11-2010" component="TSManager" context="" type="0" thread="1728" file="executionenv.cxx:386"> <![LOG[Set a global environment variable _SMSTSInstructionStackString=30]LOG]!><time="11:14:51.693+-60" date="11-11-2010" component="TSManager" context="" type="0" thread="1728" file="executionenv.cxx:668"> <![LOG[Set a TS execution environment variable _SMSTSInstructionStackString=30]LOG]!><time="11:14:51.693+-60" date="11-11-2010" component="TSManager" context="" type="0" thread="1728" file="executionenv.cxx:414"> <![LOG[Save the current environment block]LOG]!><time="11:14:51.693+-60" date="11-11-2010" component="TSManager" context="" type="0" thread="1728" file="executionenv.cxx:833"> <![LOG[Successfully save execution state and environment to local hard disk]LOG]!><time="11:14:51.756+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="engine.cxx:255"> <![LOG[Reboot to local harddisk]LOG]!><time="11:14:51.756+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="engine.cxx:458"> <![LOG[_OSDGinaIsConfigured variable set to TRUE]LOG]!><time="11:14:51.756+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="engine.cxx:537"> <![LOG[_SMSTSServiceStartType variable set to ]LOG]!><time="11:14:51.756+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="engine.cxx:549"> <![LOG[Calling RebootSystem()]LOG]!><time="11:14:51.756+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="engine.cxx:567"> <![LOG[OSD type of task sequence. ignore the service window setting]LOG]!><time="11:14:51.756+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="engine.cxx:669"> <![LOG[Updated security on object C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca.]LOG]!><time="11:14:51.756+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="utils.cpp:829"> <![LOG[Path variable OSDisk converted from C: to DFF37F070000100000000000:]LOG]!><time="11:14:51.756+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="resolvesource.cpp:1592"> <![LOG[Updated security on object C:\_SMSTaskSequence.]LOG]!><time="11:14:51.803+-60" date="11-11-2010" component="TSManager" context="" type="1" thread="1728" file="utils.cpp:829"> <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=36]LOG]!><time="11:14:51.803+-60" date="11-11-2010" component="TSManager" context="" type="0" thread="1728" file="executionenv.cxx:668"> <![LOG[Set a TS execution environment variable _SMSTSNextInstructionPointer=36]LOG]!><time="11:14:51.803+-60" date="11-11-2010" component="TSManager" context="" type="0" thread="1728" file="executionenv.cxx:386"> <![LOG[Set a global environment variable _SMSTSInstructionStackString=30]LOG]!><time="11:14:51.803+-60" date="11-11-2010" component="TSManager" context="" type="0" thread="1728" file="executionenv.cxx:668"> <![LOG[Set a TS execution environment variable _SMSTSInstructionStackString=30]LOG]!><time="11:14:51.803+-60" date="11-11-2010" component="TSManager" context="" type="0" thread="1728" file="executionenv.cxx:414"> <![LOG[Save the current environment block]LOG]!><time="11:14:51.803+-60" date="11-11-2010" component="TSManager" context="" type="0" thread="1728" file="executionenv.cxx:833"> <![LOG[Expand a string: %_SMSTSMDataPath%\Logs]LOG]!><time="11:14:51.850+-60" date="11-11-2010" component="TSManager" context="" type="0" thread="1728" file="executionenv.cxx:782"> <![LOG[==============================[ OSDSetupHook.exe ]==============================]LOG]!><time="11:17:35.680+-60" date="11-11-2010" component="OSDSetupHook" context="" type="1" thread="920" file="osdsetuphook.cpp:185"> <![LOG[Logging successfully initialized to C:\_SMSTaskSequence\Logs]LOG]!><time="11:17:35.696+-60" date="11-11-2010" component="OSDSetupHook" context="" type="1" thread="920" file="osdsetuphook.cpp:186"> <![LOG[Executing task sequence]LOG]!><time="11:17:35.696+-60" date="11-11-2010" component="OSDSetupHook" context="" type="1" thread="920" file="osdsetuphook.cpp:286"> <![LOG[Loading the Task Sequencing Environment from "C:\_SMSTaskSequence\TSEnv.dat".]LOG]!><time="11:17:35.711+-60" date="11-11-2010" component="OSDSetupHook" context="" type="1" thread="920" file="basesetuphook.cpp:237"> <![LOG[Environment scope "Global\{51A016B6-F0DE-4752-B97C-54E6F386A912}" successfully created]LOG]!><time="11:17:35.711+-60" date="11-11-2010" component="OSDSetupHook" context="" type="1" thread="920" file="environmentscope.cpp:250"> <![LOG[Environment scope "Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03}" successfully created]LOG]!><time="11:17:35.711+-60" date="11-11-2010" component="OSDSetupHook" context="" type="1" thread="920" file="environmentscope.cpp:250"> <![LOG[pIWBEMServices->ExecQuery(BString(L"WQL"), BString(L"select UUID from Win32_ComputerSystemProduct"), WBEM_FLAG_FORWARD_ONLY, 0, &pWBEMInstanceEnum), HRESULT=80080005 (e:\nts_sms_fre\sms\framework\osdmessaging\libmachineinfo.cpp,267)]LOG]!><time="11:19:42.924+-60" date="11-11-2010" component="OSDSetupHook" context="" type="0" thread="920" file="libmachineinfo.cpp:267"> <![LOG[CCM::SMSMessaging::GetSmbiosID(sFileKey), HRESULT=80080005 (e:\nts_sms_fre\sms\framework\tscore\environmentlib.cpp,126)]LOG]!><time="11:19:42.924+-60" date="11-11-2010" component="OSDSetupHook" context="" type="0" thread="920" file="environmentlib.cpp:126"> <![LOG[LoadFromFile(sEnvPath, shXml), HRESULT=80080005 (e:\nts_sms_fre\sms\framework\tscore\environmentlib.cpp,734)]LOG]!><time="11:19:42.924+-60" date="11-11-2010" component="OSDSetupHook" context="" type="0" thread="920" file="environmentlib.cpp:734"> <![LOG[Failed to load environment from C:\_SMSTaskSequence\TSEnv.dat (80080005)]LOG]!><time="11:19:42.924+-60" date="11-11-2010" component="OSDSetupHook" context="" type="2" thread="920" file="environmentlib.cpp:741"> <![LOG[SharedEnvironment.loadEnvironment( sTSEnvDataFile ), HRESULT=80080005 (e:\nts_sms_fre\sms\client\osdeployment\osdgina\basesetuphook.cpp,251)]LOG]!><time="11:19:42.924+-60" date="11-11-2010" component="OSDSetupHook" context="" type="0" thread="920" file="basesetuphook.cpp:251"> <![LOG[Failed to load the Task Sequencing Environment object from "C:\_SMSTaskSequence\TSEnv.dat". Code(0x80080005)]LOG]!><time="11:19:42.924+-60" date="11-11-2010" component="OSDSetupHook" context="" type="3" thread="920" file="basesetuphook.cpp:251"> <![LOG[LoadEnvironment( loadDir, bEnvLoaded ), HRESULT=80080005 (e:\nts_sms_fre\sms\client\osdeployment\osdgina\basesetuphook.cpp,1285)]LOG]!><time="11:19:42.924+-60" date="11-11-2010" component="OSDSetupHook" context="" type="0" thread="920" file="basesetuphook.cpp:1285"> <![LOG[Uninstalling Setup Hook]LOG]!><time="11:19:42.924+-60" date="11-11-2010" component="OSDSetupHook" context="" type="1" thread="920" file="basesetuphook.cpp:1424"> <![LOG[Removing setup hook from registry.]LOG]!><time="11:19:42.924+-60" date="11-11-2010" component="OSDSetupHook" context="" type="0" thread="920" file="vistasetuphook.cpp:143"> <![LOG[Successfully removed C:\Windows\system32\OSDGINA.DLL]LOG]!><time="11:19:42.924+-60" date="11-11-2010" component="OSDSetupHook" context="" type="1" thread="920" file="basesetuphook.cpp:1179"> <![LOG[Could not delete the file C:\Windows\system32\OSDSETUPHOOK.EXE. Error code 5]LOG]!><time="11:19:42.924+-60" date="11-11-2010" component="OSDSetupHook" context="" type="1" thread="920" file="utils.cpp:709"> <![LOG[Marking the file C:\Windows\system32\OSDSETUPHOOK.EXE for deletion on Reboot]LOG]!><time="11:19:42.924+-60" date="11-11-2010" component="OSDSetupHook" context="" type="1" thread="920" file="utils.cpp:733"> <![LOG[Successfully removed C:\Windows\system32\OSDSETUPHOOK.EXE]LOG]!><time="11:19:42.924+-60" date="11-11-2010" component="OSDSetupHook" context="" type="1" thread="920" file="basesetuphook.cpp:1179"> <![LOG[Successfully removed C:\Windows\system32\_SMSOSDSetup]LOG]!><time="11:19:42.940+-60" date="11-11-2010" component="OSDSetupHook" context="" type="1" thread="920" file="basesetuphook.cpp:1216"> <![LOG[Finalizing logging from process 916]LOG]!><time="11:19:42.940+-60" date="11-11-2010" component="OSDSetupHook" context="" type="1" thread="920" file="tslogging.cpp:1736"> <![LOG[Successfully finalized logs to SMS client log directory from C:\Windows\SysWOW64\CCM\Logs]LOG]!><time="11:19:43.033+-60" date="11-11-2010" component="OSDSetupHook" context="" type="1" thread="920" file="tslogging.cpp:1536"> <![LOG[Cleaning up task sequencing logging configuration.]LOG]!><time="11:19:43.033+-60" date="11-11-2010" component="OSDSetupHook" context="" type="0" thread="920" file="tslogging.cpp:578"> <![LOG[Cleaning up task sequence folder]LOG]!><time="11:19:43.033+-60" date="11-11-2010" component="OSDSetupHook" context="" type="1" thread="920" file="utils.cpp:1404"> <![LOG[this->run( bReboot ), HRESULT=80080005 (e:\nts_sms_fre\sms\client\osdeployment\osdgina\vistasetuphook.cpp,222)]LOG]!><time="11:19:43.268+-60" date="11-11-2010" component="OSDSetupHook" context="" type="0" thread="920" file="vistasetuphook.cpp:222"> <![LOG[pHook->execute(), HRESULT=80080005 (e:\nts_sms_fre\sms\client\osdeployment\osdgina\osdsetuphook.cpp,291)]LOG]!><time="11:19:43.268+-60" date="11-11-2010" component="OSDSetupHook" context="" type="0" thread="920" file="osdsetuphook.cpp:291"> <![LOG[Failed to execute task sequence (0x80080005)]LOG]!><time="11:19:43.268+-60" date="11-11-2010" component="OSDSetupHook" context="" type="3" thread="920" file="osdsetuphook.cpp:291"> Anyone seen this behaviour before? Regards Ola
November 11th, 2010 10:04am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics