Failed to reboot to Windows PE when computer log off
CM07 with MDT2012, Failed to reboot to Windows PE when computer log off but no issue with user login. Can an
April 12th, 2013 4:08pm

X86 image with x86 PE
Free Windows Admin Tool Kit Click here and download it now
April 12th, 2013 4:12pm

Hi Jason, It is good to get some more information here. Are you using any user initiated TS?. If yes, when the users excutes the TS, do you have reboot step in TS and selected windows PE rather current OS?
April 12th, 2013 11:54pm

no, i'm using mandatory TS adv. The task is reboot to Windows PE not current OS. SMSTS.LOG shows in below 

<![LOG[Successfully complete the action (Restart to Windows PE) with the exit win32 code 0]LOG]!><time="17:20:04.352+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="instruction.cxx:3036">
<![LOG[Sending status message . . .]LOG]!><time="17:20:04.352+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utility.cxx:292">
<![LOG[Send a task execution status message SMS_TSExecution_ActionCompleteInfo]LOG]!><time="17:20:04.352+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utility.cxx:314">
<![LOG[Formatted header:]LOG]!><time="17:20:04.368+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="libsmsmessaging.cpp:1500">
<![LOG[<Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:52167399-9B45-49FF-AD3D-4DE913BDC994</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2013-04-12T09:20:04Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="2488"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
]LOG]!><time="17:20:04.368+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="libsmsmessaging.cpp:1501">
<![LOG[Set a global environment variable _SMSTSLastActionRetCode=0]LOG]!><time="17:20:04.540+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:668">
<![LOG[Set a global environment variable _SMSTSLastActionSucceeded=true]LOG]!><time="17:20:04.540+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:668">
<![LOG[Clear local default environment]LOG]!><time="17:20:04.540+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:807">
<![LOG[Updated security on object D:\_SMSTaskSequence.]LOG]!><time="17:20:04.603+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utils.cpp:829">
<![LOG[Set a global environment variable _SMSTSNextInstructionPointer=26]LOG]!><time="17:20:04.603+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:668">
<![LOG[Set a TS execution environment variable _SMSTSNextInstructionPointer=26]LOG]!><time="17:20:04.603+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:386">
<![LOG[Set a global environment variable _SMSTSInstructionStackString=0 23 24]LOG]!><time="17:20:04.603+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:668">
<![LOG[Set a TS execution environment variable _SMSTSInstructionStackString=0 23 24]LOG]!><time="17:20:04.603+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:414">
<![LOG[Save the current environment block]LOG]!><time="17:20:04.603+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:833">
<![LOG[Staging boot image TSP00001]LOG]!><time="17:20:04.649+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="bootimage.cpp:672">
<![LOG[Successfully connected to "\\SGUBCSW01.STARHUBSG.SH.INC\SMSPKGD$\TSP00001"]LOG]!><time="17:20:10.416+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="tsconnection.cpp:287">
<![LOG[Found boot image \\SGUBCSW01.STARHUBSG.SH.INC\SMSPKGD$\TSP00001\boot.TSP00001.wim]LOG]!><time="17:20:10.416+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="bootimage.cpp:1040">
<![LOG[Copying boot image locally...]LOG]!><time="17:20:10.478+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="bootimage.cpp:700">
<![LOG[Opening image file D:\_SMSTaskSequence\WinPE\sources\boot.wim]LOG]!><time="17:20:31.497+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="wimfile.cpp:276">
<![LOG[Applying image 1 to volume D:\_SMSTaskSequence\WinPE]LOG]!><time="17:20:31.544+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="wimfile.cpp:466">
<![LOG[Closing image file D:\_SMSTaskSequence\WinPE\sources\boot.wim]LOG]!><time="17:20:31.856+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="wimfile.cpp:312">
<![LOG[Capturing WinPE bootstrap settings]LOG]!><time="17:20:31.856+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="winpesettings.cpp:80">
<![LOG[Environment scope "Global\{E7E5BB69-6198-4555-B5CA-6C46A2B5EB78}" successfully created]LOG]!><time="17:20:31.856+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="environmentscope.cpp:250">
<![LOG[Executing command line: "osdnetsettings.exe" capture adapters:true scope:Global\{E7E5BB69-6198-4555-B5CA-6C46A2B5EB78}]LOG]!><time="17:20:31.856+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="commandline.cpp:805">
<![LOG[==============================[ OSDNetSettings.exe ]===========================]LOG]!><time="17:20:31.872+000" date="04-12-2013" component="OSDNetSettings" context="" type="1" thread="2964" file="main.cpp:134">
<![LOG[Command line: "osdnetsettings.exe" capture adapters:true scope:Global\{E7E5BB69-6198-4555-B5CA-6C46A2B5EB78}]LOG]!><time="17:20:31.872+000" date="04-12-2013" component="OSDNetSettings" context="" type="1" thread="2964" file="main.cpp:135">
<![LOG[No adapters found with non-empty DNSDomainSuffixSearchOrder]LOG]!><time="17:20:31.887+000" date="04-12-2013" component="OSDNetSettings" context="" type="0" thread="2964" file="netwmiadapterconfig.cpp:405">
<![LOG[Captured settings for adapter 1]LOG]!><time="17:20:32.184+000" date="04-12-2013" component="OSDNetSettings" context="" type="1" thread="2964" file="netsettings.cpp:102">
<![LOG[OSDNetSettings finished: 0x00000000]LOG]!><time="17:20:32.184+000" date="04-12-2013" component="OSDNetSettings" context="" type="1" thread="2964" file="main.cpp:206">
<![LOG[Process completed with exit code 0]LOG]!><time="17:20:32.184+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="commandline.cpp:1102">
<![LOG[Installing boot image to hard drive]LOG]!><time="17:20:32.231+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="bootimage.cpp:599">
<![LOG[Executing command line: "D:\_SMSTaskSequence\WinPE\SMS\bin\i386\bootsect.exe" /NT60 SYS /MBR]LOG]!><time="17:20:33.763+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="commandline.cpp:805">
<![LOG[Process completed with exit code 0]LOG]!><time="17:20:35.497+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="commandline.cpp:1102">
<![LOG[Updated security on object D:\_SMSTaskSequence.]LOG]!><time="17:20:35.544+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utils.cpp:829">
<![LOG[Set a global environment variable _SMSTSNextInstructionPointer=26]LOG]!><time="17:20:35.544+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:668">
<![LOG[Set a TS execution environment variable _SMSTSNextInstructionPointer=26]LOG]!><time="17:20:35.544+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:386">
<![LOG[Set a global environment variable _SMSTSInstructionStackString=0 23 24]LOG]!><time="17:20:35.544+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:668">
<![LOG[Set a TS execution environment variable _SMSTSInstructionStackString=0 23 24]LOG]!><time="17:20:35.544+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:414">
<![LOG[Save the current environment block]LOG]!><time="17:20:35.544+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:833">
<![LOG[Updated security on object C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca.]LOG]!><time="17:20:35.638+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utils.cpp:829">
<![LOG[Updated security on object D:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca.]LOG]!><time="17:20:35.857+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utils.cpp:829">
<![LOG[Updated security on object D:\_SMSTaskSequence.]LOG]!><time="17:20:35.904+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utils.cpp:829">
<![LOG[Set a global environment variable _SMSTSNextInstructionPointer=26]LOG]!><time="17:20:35.904+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:668">
<![LOG[Set a TS execution environment variable _SMSTSNextInstructionPointer=26]LOG]!><time="17:20:35.904+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:386">
<![LOG[Set a global environment variable _SMSTSInstructionStackString=0 23 24]LOG]!><time="17:20:35.904+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:668">
<![LOG[Set a TS execution environment variable _SMSTSInstructionStackString=0 23 24]LOG]!><time="17:20:35.904+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:414">
<![LOG[Save the current environment block]LOG]!><time="17:20:35.904+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:833">
<![LOG[Expand a string: %_SMSTSMDataPath%\Logs]LOG]!><time="17:20:35.950+000" date="04-12-2013" component="TSManager" context="" type="0" thread="3384" file="executionenv.cxx:782">
<![LOG[Device not ready. Wait for a while and retry ...]LOG]!><time="17:20:35.997+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utils.cpp:3356">
<![LOG[Device not ready. Wait for a while and retry ...]LOG]!><time="17:21:06.001+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utils.cpp:3356">
<![LOG[Device not ready. Wait for a while and retry ...]LOG]!><time="17:21:36.005+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utils.cpp:3356">
<![LOG[Device not ready. Wait for a while and retry ...]LOG]!><time="17:22:06.009+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utils.cpp:3356">
<![LOG[Device not ready. Wait for a while and retry ...]LOG]!><time="17:22:36.013+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utils.cpp:3356">
<![LOG[Device not ready. Wait for a while and retry ...]LOG]!><time="17:23:06.018+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utils.cpp:3356">
<![LOG[Device not ready. Wait for a while and retry ...]LOG]!><time="17:23:36.022+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utils.cpp:3356">
<![LOG[Device not ready. Wait for a while and retry ...]LOG]!><time="17:24:06.026+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utils.cpp:3356">
<![LOG[Device not ready. Wait for a while and retry ...]LOG]!><time="17:24:36.029+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utils.cpp:3356">
<![LOG[Device not ready. Wait for a while and retry ...]LOG]!><time="17:25:06.030+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utils.cpp:3356">
<![LOG[Not ready to reboot the system]LOG]!><time="17:25:36.031+000" date="04-12-2013" component="TSManager" context="" type="3" thread="3384" file="utils.cpp:3384">
<![LOG[Failed to initiate a system reboot. Error code 0x80004005]LOG]!><time="17:25:36.031+000" date="04-12-2013" component="TSManager" context="" type="3" thread="3384" file="engine.cxx:932">
<![LOG[Failed to reboot the system. Error 0x(80004005)]LOG]!><time="17:25:36.031+000" date="04-12-2013" component="TSManager" context="" type="3" thread="3384" file="engine.cxx:938">
<![LOG[Restoring boot system from D:\_SMSTaskSequence\backup]LOG]!><time="17:25:36.031+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="bootsystem.cpp:319">
<![LOG[Failed to initialize a system reboot. 
Unspecified error (Error: 80004005; Source: Windows)]LOG]!><time="17:25:36.328+000" date="04-12-2013" component="TSManager" context="" type="3" thread="3384" file="engine.cxx:575">
<![LOG[Fatal error is returned in check for reboot request of the action (Restart to Windows PE). 
Unspecified error (Error: 80004005; Source: Windows)]LOG]!><time="17:25:36.328+000" date="04-12-2013" component="TSManager" context="" type="3" thread="3384" file="engine.cxx:274">
<![LOG[An error (0x80004005) is encountered in execution of the task sequence]LOG]!><time="17:25:36.328+000" date="04-12-2013" component="TSManager" context="" type="3" thread="3384" file="engine.cxx:349">
<![LOG[Sending status message . . .]LOG]!><time="17:25:36.328+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utility.cxx:292">
<![LOG[Send a task execution status message SMS_TSExecution_TaskSequenceFailError]LOG]!><time="17:25:36.328+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="utility.cxx:314">
<![LOG[Formatted header:]LOG]!><time="17:25:36.359+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="libsmsmessaging.cpp:1500">
<![LOG[<Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:52167399-9B45-49FF-AD3D-4DE913BDC994</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2013-04-12T09:25:36Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="2122"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg>
]LOG]!><time="17:25:36.359+000" date="04-12-2013" component="TSManager" context="" type="1" thread="3384" file="libsmsmessaging.cpp:1501">

Free Windows Admin Tool Kit Click here and download it now
April 15th, 2013 3:15pm

This kind of issues are caused by network adapters. Insert the WinPE network adapter drivers into your WinPE boot image.
April 19th, 2013 7:23am

Thanks Xie, this is my initial thought, but it doesn't make sense that TS can reboot successfully with use login if its driver issue. After all, the driver has been injected into WinPE and has no issue for the driver after the deployment. 
Free Windows Admin Tool Kit Click here and download it now
April 19th, 2013 9:33am

I just realized that my customer has a shutdown vbscript in domain GPO with a 5 seconds pop-out message, would it cause this issue?

April 19th, 2013 9:36am

Hi Jason, Do you have resolved the issue?

We have same problem here.

Thank you.

Daniele

Free Windows Admin Tool Kit Click here and download it now
May 14th, 2015 5:19am

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

Other recent topics Other recent topics