none
MDT 2013U2 Failure Deploying W10 to Dell Latitude E5570 LTIApply.wsf RRS feed

  • Question

  • I have a Production built MDT2013U2 and WDS Server currently deploying W10 to our fleet of Dell Devices, ranging from Dell Latitude's, Optiplex's to the XPS Model. i can deploy W10 to most devices with no problem however the most recent Dell's seem to be having an issue. Rather than finishing with the Summary Window showing a Pass or Fail we get a blank .hta window unable to display the results though i can find the Results.xml to understand if it did indeed Pass or Fail. However the main issue i currently have is the Dell Latitude E5570 is failing on Post-Apply Cleanup (LTIApply.wsf) below is the log from the Results.xml for the true error and codes.

    <?xml version="1.0"?>
    
    -<Results>
    
    <Errors>9</Errors>
    
    <Warnings>2</Warnings>
    
    <RetVal>-2147467259</RetVal>
    
    <DeploymentType>NEWCOMPUTER</DeploymentType>
    
    
    -<Messages>
    
    -<![CDATA[Litetouch deployment failed, Return Code = -2147467259  0x80004005
    Failed to run the action: Post-Apply Cleanup. 
    Incorrect function. (Error: 00000001; Source: Windows)
    The execution of the group (State Restore) has failed and the execution has been aborted. An action failed.
    Operation aborted (Error: 80004004; Source: Windows)
    Failed to run the last action: Post-Apply Cleanup. Execution of task sequence failed.
    Incorrect function. (Error: 00000001; Source: Windows)
    Task Sequence Engine failed! Code: enExecutionFail
    Task sequence execution failed with error code 80004005
    SetNamedSecurityInfo() failed.
    SetObjectOwner() failed. 0x80070005.
    RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram
    GetTsRegValue() is unsuccessful. 0x80070002.
    Error Task Sequence Manager failed to execute task sequence. Code 0x80004005]]>
    </Messages>
    
    </Results>


    Tuesday, June 7, 2016 9:20 AM

All replies

  • Included is the SMSTS.Log from the machine with the issue again only a return code of -2147467259 0X80004005 which as i understand it is a standard error issue.

    <![LOG[Used smsts.ini to set logging settings.]LOG]!><time="09:50:47.052-60" date="06-07-2016" component="TSMBootstrap" context="" type="1" thread="2516" file="tslogging.cpp:1457">
    <![LOG[==============================[ TSMBootStrap.exe ]==============================]LOG]!><time="09:50:47.052-60" date="06-07-2016" component="TSMBootstrap" context="" type="1" thread="2516" file="tsmbootstrap.cpp:1193">
    <![LOG[Command line: "C:\MININT\Tools\X64\TsmBootstrap.exe"  /env:SAContinue]LOG]!><time="09:50:47.052-60" date="06-07-2016" component="TSMBootstrap" context="" type="0" thread="2516" file="tsmbootstrap.cpp:1194">
    <![LOG[Current OS version is 10.0.10586.0]LOG]!><time="09:50:47.083-60" date="06-07-2016" component="TSMBootstrap" context="" type="1" thread="2516" file="util.cpp:3362">
    <![LOG[Running Task Sequence in standalone.]LOG]!><time="09:50:47.083-60" date="06-07-2016" component="TSMBootstrap" context="" type="0" thread="2516" file="tsmbootstrap.cpp:524">
    <![LOG[Environment scope successfully created: Global\{51A016B6-F0DE-4752-B97C-54E6F386A912}]LOG]!><time="09:50:47.083-60" date="06-07-2016" component="TSMBootstrap" context="" type="1" thread="2516" file="environmentscope.cpp:623">
    <![LOG[Environment scope successfully created: Global\{BA3A3900-CA6D-4ac1-8C28-5073AFC22B03}]LOG]!><time="09:50:47.083-60" date="06-07-2016" component="TSMBootstrap" context="" type="1" thread="2516" file="environmentscope.cpp:623">
    <![LOG[Loading the Task Sequencing Environment from "C:\_SMSTaskSequence\TSEnv.dat".]LOG]!><time="09:50:47.114-60" date="06-07-2016" component="TSMBootstrap" context="" type="1" thread="2516" file="tsmbootstrap.cpp:651">
    <![LOG[Updating the local data path in the Task Sequencing Environment.]LOG]!><time="09:50:47.146-60" date="06-07-2016" component="TSMBootstrap" context="" type="1" thread="2516" file="tsmbootstrap.cpp:660">
    <![LOG[No logging settings found in TS environement]LOG]!><time="09:50:47.146-60" date="06-07-2016" component="TSMBootstrap" context="" type="1" thread="2516" file="tslogging.cpp:2572">
    <![LOG[Found network adapter "Intel(R) Dual Band Wireless-AC 8260" with IP Address 0.0.0.0.]LOG]!><time="09:50:47.146-60" date="06-07-2016" component="TSMBootstrap" context="" type="0" thread="2516" file="tsmbootstraputil.cpp:517">
    <![LOG[Found network adapter "Intel(R) Ethernet Connection I219-LM" with IP Address 172.16.201.61.]LOG]!><time="09:50:47.146-60" date="06-07-2016" component="TSMBootstrap" context="" type="0" thread="2516" file="tsmbootstraputil.cpp:517">
    <![LOG[Found network adapter "Microsoft Wi-Fi Direct Virtual Adapter" with IP Address 0.0.0.0.]LOG]!><time="09:50:47.146-60" date="06-07-2016" component="TSMBootstrap" context="" type="0" thread="2516" file="tsmbootstraputil.cpp:517">
    <![LOG[Executing command line: "C:\MININT\Tools\X64\TsProgressUI.exe" /Register]LOG]!><time="09:50:47.146-60" date="06-07-2016" component="TSMBootstrap" context="" type="1" thread="2516" file="commandline.cpp:828">
    <![LOG[==========[ TsProgressUI started in process 2788 ]==========]LOG]!><time="09:50:47.193-60" date="06-07-2016" component="TsProgressUI" context="" type="1" thread="888" file="winmain.cpp:330">
    <![LOG[Registering COM classes]LOG]!><time="09:50:47.208-60" date="06-07-2016" component="TsProgressUI" context="" type="1" thread="888" file="winmain.cpp:187">
    <![LOG[sbModulePath = C:\MININT\Tools\X64\TsProgressUI.exe]LOG]!><time="09:50:47.208-60" date="06-07-2016" component="TsProgressUI" context="" type="1" thread="888" file="tsprogressuiclass.cpp:625">
    <![LOG[Shutdown complete.]LOG]!><time="09:50:47.208-60" date="06-07-2016" component="TsProgressUI" context="" type="1" thread="888" file="winmain.cpp:512">
    <![LOG[Process completed with exit code 0]LOG]!><time="09:50:47.208-60" date="06-07-2016" component="TSMBootstrap" context="" type="1" thread="2516" file="commandline.cpp:1124">
    <![LOG[Successfully registered TS Progress UI.]LOG]!><time="09:50:47.208-60" date="06-07-2016" component="TSMBootstrap" context="" type="1" thread="2516" file="utils.cpp:3114">
    <![LOG[Starting Task Sequence Manager.]LOG]!><time="09:50:47.208-60" date="06-07-2016" component="TSMBootstrap" context="" type="1" thread="2516" file="tsmbootstrap.cpp:695">
    <![LOG[executing TS Manager not in full media]LOG]!><time="09:50:47.208-60" date="06-07-2016" component="TSMBootstrap" context="" type="1" thread="2516" file="tsmbootstraputil.cpp:580">
    <![LOG[executing TS Manager in c:\minint\tools\x64]LOG]!><time="09:50:47.208-60" date="06-07-2016" component="TSMBootstrap" context="" type="1" thread="2516" file="tsmbootstraputil.cpp:591">
    <![LOG[Executing command line: "TsManager.exe" /standalone]LOG]!><time="09:50:47.208-60" date="06-07-2016" component="TSMBootstrap" context="" type="1" thread="2516" file="commandline.cpp:828">
    <![LOG[Successfully intialized Logging for TS Manager.]LOG]!><time="09:50:47.255-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="tsmanager.cpp:944">
    <![LOG[Commandline: "TsManager.exe" /standalone]LOG]!><time="09:50:47.255-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="tsmanager.cpp:102">
    <![LOG[**************************************************]LOG]!><time="09:50:47.255-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="tsmanager.cpp:125">
    <![LOG[TSManager executing in non SMS, standalone mode]LOG]!><time="09:50:47.255-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="tsmanager.cpp:126">
    <![LOG[Successfully registered Task Sequencing COM Interface.]LOG]!><time="09:50:47.271-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="environmentlib.cpp:871">
    <![LOG[Executing as a standalone exe]LOG]!><time="09:50:47.271-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="tsmanager.cpp:962">
    <![LOG[No logging settings found in TS environement]LOG]!><time="09:50:47.271-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="tslogging.cpp:2572">
    <![LOG[Deleting volume ID file C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="09:50:47.271-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="resolvesource.cpp:517">
    <![LOG[Parsing task sequence . . .]LOG]!><time="09:50:47.286-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="tsmanager.cpp:1659">
    <![LOG[Task sequence schema version is 3.00]LOG]!><time="09:50:47.286-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="tsmanager.cpp:1578">
    <![LOG[Current supported schema version is 3.10 and 3.00]LOG]!><time="09:50:47.286-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="tsmanager.cpp:1586">
    <![LOG[Starting Task Sequence Engine . . . ]LOG]!><time="09:50:47.286-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="tsmanager.cpp:1115">
    <![LOG[****************************************************************************]LOG]!><time="09:50:47.302-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="tsmanager.cpp:1118">
    <![LOG[NextInstructionPointer: 154]LOG]!><time="09:50:47.302-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="executionenv.cxx:483">
    <![LOG[Set a global environment variable _SMSTSInstructionTableSize=237]LOG]!><time="09:50:47.302-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a global environment variable SMSTSRebootRequested=]LOG]!><time="09:50:47.302-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a global environment variable SMSTSRebootDelay=]LOG]!><time="09:50:47.302-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a global environment variable SMSTSRebootMessage=]LOG]!><time="09:50:47.302-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a global environment variable SMSTSRebootReason=]LOG]!><time="09:50:47.302-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a global environment variable SMSTSRetryRequested=]LOG]!><time="09:50:47.302-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[The task execution engine started execution]LOG]!><time="09:50:47.302-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="engine.cxx:70">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="09:50:47.302-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="utils.cpp:6045">
    <![LOG[Start executing an instruction. Instruction name: Postinstall. Instruction pointer: 154]LOG]!><time="09:50:47.302-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="engine.cxx:117">
    <![LOG[Set a global environment variable _SMSTSCurrentActionName=Postinstall]LOG]!><time="09:50:47.302-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=154]LOG]!><time="09:50:47.302-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[The group (Postinstall) has been successfully completed]LOG]!><time="09:50:47.333-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="instruction.cxx:344">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="09:50:47.333-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="utils.cpp:6045">
    <![LOG[Updated security on object C:\_SMSTaskSequence.]LOG]!><time="09:50:47.333-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="utils.cpp:1883">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=155]LOG]!><time="09:50:47.333-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a TS execution environment variable _SMSTSNextInstructionPointer=155]LOG]!><time="09:50:47.333-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:387">
    <![LOG[Set a global environment variable _SMSTSInstructionStackString=]LOG]!><time="09:50:47.333-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a TS execution environment variable _SMSTSInstructionStackString=]LOG]!><time="09:50:47.333-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:415">
    <![LOG[Save the current environment block]LOG]!><time="09:50:47.333-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:834">
    <![LOG[Set a global environment variable _SMSTSLastActionRetryCount=0]LOG]!><time="09:50:47.349-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Start executing an instruction. Instruction name: State Restore. Instruction pointer: 155]LOG]!><time="09:50:47.349-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="engine.cxx:117">
    <![LOG[Set a global environment variable _SMSTSCurrentActionName=State Restore]LOG]!><time="09:50:47.349-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=155]LOG]!><time="09:50:47.349-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Evaluating an AND expression]LOG]!><time="09:50:47.349-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="tsexpreval.cpp:600">
    <![LOG[Evaluating a variable condition expression]LOG]!><time="09:50:47.349-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="tsexpreval.cpp:783">
    <![LOG[Expand a string: equals]LOG]!><time="09:50:47.349-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="utility.cpp:788">
    <![LOG[Expand a string: PHASE]LOG]!><time="09:50:47.349-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="utility.cpp:788">
    <![LOG[Expand a string: STATERESTORE]LOG]!><time="09:50:47.349-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="utility.cpp:788">
    <![LOG[The condition for the group (State Restore) is evaluated to be true]LOG]!><time="09:50:47.349-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="instruction.cxx:135">
    <![LOG[The group (State Restore) has been successfully started]LOG]!><time="09:50:47.349-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="instruction.cxx:156">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="09:50:47.349-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="utils.cpp:6045">
    <![LOG[Updated security on object C:\_SMSTaskSequence.]LOG]!><time="09:50:47.349-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="utils.cpp:1883">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=156]LOG]!><time="09:50:47.349-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a TS execution environment variable _SMSTSNextInstructionPointer=156]LOG]!><time="09:50:47.349-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:387">
    <![LOG[Set a global environment variable _SMSTSInstructionStackString=155]LOG]!><time="09:50:47.349-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a TS execution environment variable _SMSTSInstructionStackString=155]LOG]!><time="09:50:47.349-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:415">
    <![LOG[Save the current environment block]LOG]!><time="09:50:47.349-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:834">
    <![LOG[Set a global environment variable _SMSTSLastActionRetryCount=0]LOG]!><time="09:50:47.380-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Start executing an instruction. Instruction name: Gather local only. Instruction pointer: 156]LOG]!><time="09:50:47.380-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="engine.cxx:117">
    <![LOG[Set a global environment variable _SMSTSCurrentActionName=Gather local only]LOG]!><time="09:50:47.380-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=156]LOG]!><time="09:50:47.380-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a local default variable GatherLocalOnly]LOG]!><time="09:50:47.380-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:701">
    <![LOG[Set a local default variable RulesFile]LOG]!><time="09:50:47.380-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:701">
    <![LOG[Set a global environment variable _SMSTSLogPath=C:\Users\ADMINI~1\AppData\Local\Temp\SMSTSLog]LOG]!><time="09:50:47.380-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Expand a string: cscript.exe "%SCRIPTROOT%\ZTIGather.wsf"]LOG]!><time="09:50:47.380-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:783">
    <![LOG[Expand a string: ]LOG]!><time="09:50:47.380-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:783">
    <![LOG[Start executing the command line: cscript.exe "%SCRIPTROOT%\ZTIGather.wsf"]LOG]!><time="09:50:47.380-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="instruction.cxx:723">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="09:50:47.380-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="instruction.cxx:752">
    <![LOG[Expand a string: ]LOG]!><time="09:50:47.380-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:783">
    <![LOG[Executing command line: cscript.exe "%SCRIPTROOT%\ZTIGather.wsf"]LOG]!><time="09:50:47.380-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="commandline.cpp:828">
    <![LOG[Process completed with exit code 0]LOG]!><time="09:51:17.019-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="commandline.cpp:1124">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="09:51:17.019-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="instruction.cxx:805">
    <![LOG[Successfully completed the action (Gather local only) with the exit win32 code 0]LOG]!><time="09:51:17.019-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="instruction.cxx:846">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="09:51:17.019-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="utils.cpp:6045">
    <![LOG[Set a global environment variable _SMSTSLastActionRetCode=0]LOG]!><time="09:51:17.019-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a global environment variable _SMSTSLastActionSucceeded=true]LOG]!><time="09:51:17.019-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Clear local default environment]LOG]!><time="09:51:17.019-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:808">
    <![LOG[Updated security on object C:\_SMSTaskSequence.]LOG]!><time="09:51:17.035-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="utils.cpp:1883">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=157]LOG]!><time="09:51:17.035-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a TS execution environment variable _SMSTSNextInstructionPointer=157]LOG]!><time="09:51:17.035-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:387">
    <![LOG[Set a global environment variable _SMSTSInstructionStackString=155]LOG]!><time="09:51:17.035-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a TS execution environment variable _SMSTSInstructionStackString=155]LOG]!><time="09:51:17.035-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:415">
    <![LOG[Save the current environment block]LOG]!><time="09:51:17.035-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:834">
    <![LOG[Set a global environment variable _SMSTSLastActionRetryCount=0]LOG]!><time="09:51:17.066-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Start executing an instruction. Instruction name: Post-Apply Cleanup. Instruction pointer: 157]LOG]!><time="09:51:17.066-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="engine.cxx:117">
    <![LOG[Set a global environment variable _SMSTSCurrentActionName=Post-Apply Cleanup]LOG]!><time="09:51:17.066-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=157]LOG]!><time="09:51:17.066-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a local default variable RunAsUser]LOG]!><time="09:51:17.066-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:701">
    <![LOG[Set a local default variable SMSTSRunCommandLineUserName]LOG]!><time="09:51:17.066-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:701">
    <![LOG[Set a local default variable SMSTSRunCommandLineUserPassword]LOG]!><time="09:51:17.066-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:701">
    <![LOG[Set a local default variable LoadProfile]LOG]!><time="09:51:17.066-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:701">
    <![LOG[Set a global environment variable _SMSTSLogPath=C:\Users\ADMINI~1\AppData\Local\Temp\SMSTSLog]LOG]!><time="09:51:17.066-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Expand a string: cscript.exe "%SCRIPTROOT%\LTIApply.wsf" /post]LOG]!><time="09:51:17.066-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:783">
    <![LOG[Expand a string: ]LOG]!><time="09:51:17.066-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:783">
    <![LOG[Start executing the command line: cscript.exe "%SCRIPTROOT%\LTIApply.wsf" /post]LOG]!><time="09:51:17.066-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="instruction.cxx:723">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="09:51:17.066-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="instruction.cxx:752">
    <![LOG[Expand a string: ]LOG]!><time="09:51:17.066-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:783">
    <![LOG[Executing command line: cscript.exe "%SCRIPTROOT%\LTIApply.wsf" /post]LOG]!><time="09:51:17.066-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="commandline.cpp:828">
    <![LOG[Process completed with exit code 1]LOG]!><time="09:51:17.191-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="commandline.cpp:1124">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="09:51:17.191-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="instruction.cxx:805">
    <![LOG[Failed to run the action: Post-Apply Cleanup. 
    Incorrect function. (Error: 00000001; Source: Windows)]LOG]!><time="09:51:17.191-60" date="06-07-2016" component="TSManager" context="" type="3" thread="828" file="instruction.cxx:911">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="09:51:17.191-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="utils.cpp:6045">
    <![LOG[Set a global environment variable _SMSTSLastActionRetCode=1]LOG]!><time="09:51:17.191-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Set a global environment variable _SMSTSLastActionSucceeded=false]LOG]!><time="09:51:17.191-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:669">
    <![LOG[Clear local default environment]LOG]!><time="09:51:17.191-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="executionenv.cxx:808">
    <![LOG[Let the parent group (State Restore) decides whether to continue execution]LOG]!><time="09:51:17.207-60" date="06-07-2016" component="TSManager" context="" type="0" thread="828" file="instruction.cxx:1020">
    <![LOG[The execution of the group (State Restore) has failed and the execution has been aborted. An action failed.
    Operation aborted (Error: 80004004; Source: Windows)]LOG]!><time="09:51:17.207-60" date="06-07-2016" component="TSManager" context="" type="3" thread="828" file="instruction.cxx:217">
    <![LOG[Failed to run the last action: Post-Apply Cleanup. Execution of task sequence failed.
    Incorrect function. (Error: 00000001; Source: Windows)]LOG]!><time="09:51:17.207-60" date="06-07-2016" component="TSManager" context="" type="3" thread="828" file="engine.cxx:222">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="09:51:17.207-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="utils.cpp:6045">
    <![LOG[Task Sequence Engine failed! Code: enExecutionFail]LOG]!><time="09:51:17.207-60" date="06-07-2016" component="TSManager" context="" type="3" thread="828" file="tsmanager.cpp:1125">
    <![LOG[****************************************************************************]LOG]!><time="09:51:17.207-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="tsmanager.cpp:1155">
    <![LOG[Task sequence execution failed with error code 80004005]LOG]!><time="09:51:17.207-60" date="06-07-2016" component="TSManager" context="" type="3" thread="828" file="tsmanager.cpp:1156">
    <![LOG[Cleaning Up.]LOG]!><time="09:51:17.207-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="tsmanager.cpp:762">
    <![LOG[Removing Authenticator]LOG]!><time="09:51:17.207-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="tsmanager.cpp:876">
    <![LOG[Cleaning up task sequence folder]LOG]!><time="09:51:17.207-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="utils.cpp:2581">
    <![LOG[Unable to delete file C:\_SMSTaskSequence\TSEnv.dat (0x80070005). Continuing.]LOG]!><time="09:51:17.222-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="ccmfile.cpp:1086">
    <![LOG[Failed to delete directory 'C:\_SMSTaskSequence']LOG]!><time="09:51:17.222-60" date="06-07-2016" component="TSManager" context="" type="2" thread="828" file="ccmfile.cpp:1250">
    <![LOG[SetNamedSecurityInfo() failed.]LOG]!><time="09:51:17.222-60" date="06-07-2016" component="TSManager" context="" type="3" thread="828" file="utils.cpp:6944">
    <![LOG[SetObjectOwner() failed. 0x80070005.]LOG]!><time="09:51:17.222-60" date="06-07-2016" component="TSManager" context="" type="3" thread="828" file="utils.cpp:6956">
    <![LOG[RemoveFile() failed for C:\_SMSTaskSequence\TSEnv.dat. 0x80070005.]LOG]!><time="09:51:17.222-60" date="06-07-2016" component="TSManager" context="" type="3" thread="828" file="utils.cpp:7085">
    <![LOG[RemoveDirectoryW failed (0x80070091) for C:\_SMSTaskSequence]LOG]!><time="09:51:17.238-60" date="06-07-2016" component="TSManager" context="" type="2" thread="828" file="utils.cpp:7169">
    <![LOG[Deleting volume ID file C:\_SMSTSVolumeID.7159644d-f741-45d5-ab29-0ad8aa4771ca ...]LOG]!><time="09:51:17.238-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="resolvesource.cpp:517">
    <![LOG[Successfully unregistered Task Sequencing Environment COM Interface.]LOG]!><time="09:51:17.269-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="environmentlib.cpp:960">
    <![LOG[Executing command line: "C:\MININT\Tools\X64\TsProgressUI.exe" /Unregister]LOG]!><time="09:51:17.269-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="commandline.cpp:828">
    <![LOG[==========[ TsProgressUI started in process 6336 ]==========]LOG]!><time="09:51:17.285-60" date="06-07-2016" component="TsProgressUI" context="" type="1" thread="6900" file="winmain.cpp:330">
    <![LOG[Unregistering COM classes]LOG]!><time="09:51:17.285-60" date="06-07-2016" component="TsProgressUI" context="" type="1" thread="6900" file="winmain.cpp:204">
    <![LOG[Shutdown complete.]LOG]!><time="09:51:17.285-60" date="06-07-2016" component="TsProgressUI" context="" type="1" thread="6900" file="winmain.cpp:512">
    <![LOG[Process completed with exit code 0]LOG]!><time="09:51:17.285-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="commandline.cpp:1124">
    <![LOG[Successfully unregistered TS Progress UI.]LOG]!><time="09:51:17.300-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="utils.cpp:3155">
    <![LOG[RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram]LOG]!><time="09:51:17.300-60" date="06-07-2016" component="TSManager" context="" type="2" thread="828" file="utils.cpp:880">
    <![LOG[GetTsRegValue() is unsuccessful. 0x80070002.]LOG]!><time="09:51:17.300-60" date="06-07-2016" component="TSManager" context="" type="2" thread="828" file="utils.cpp:911">
    <![LOG[End program: ]LOG]!><time="09:51:17.300-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="tsmanager.cpp:1003">
    <![LOG[Error Task Sequence Manager failed to execute task sequence. Code 0x80004005]LOG]!><time="09:51:17.300-60" date="06-07-2016" component="TSManager" context="" type="3" thread="828" file="tsmanager.cpp:1007">
    <![LOG[Sending error status message]LOG]!><time="09:51:17.300-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="tsmanager.cpp:1008">
    <![LOG[In non SMS staqndalone mode.Ignoring SendStatusMessage request]LOG]!><time="09:51:17.300-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="tsmanager.cpp:1706">
    <![LOG[Successfully finalized logs to SMS client log directory from C:\Users\ADMINI~1\AppData\Local\Temp]LOG]!><time="09:51:17.316-60" date="06-07-2016" component="TSManager" context="" type="1" thread="828" file="tslogging.cpp:1911">
    

    Tuesday, June 7, 2016 9:31 AM
  • I'm having the exact same issue. Latest Optiplex 5040 BIOS update that came out today didn't fix it, either. 
    Friday, June 17, 2016 5:03 PM
  • Could this be related to the network connection? I was seeing something similar and updating the network driver fixed it because the e5570 cab Dell provided had a bad or outdated network driver. See this other thread:

    https://social.technet.microsoft.com/Forums/en-US/c330b699-4165-44d0-836f-f089a5b2c8b5/mdt-not-finishing-just-a-blank-wizardhta-screen?forum=mdt

    Monday, June 20, 2016 10:52 PM
  • I'm trying the exact Intel driver in that thread now. I'll let you know here in an hour or so if it works.
    Tuesday, June 21, 2016 12:21 PM
  • Okay, so, updating the driver using that exact one got me from about a 30% success rate to a 75% success rate on imaging. I then went back and added the code from this fix:

    https://social.technet.microsoft.com/Forums/en-US/2cbb3ade-bcbb-4a55-9f4d-69746c0adc07/mdt-and-computer-with-ssd-drives-causes-warnings?forum=mdt

    Only with both the new driver and that delay at the start of State Restore did they start working properly. I'm at a 100% success rate for the last 20 computers.

    Tuesday, June 21, 2016 6:02 PM
  • We don't have SSDs but are also seeing about 75% success so I'm going to try the delay. Thanks.
    • Edited by jkillebrew Tuesday, June 21, 2016 6:08 PM
    Tuesday, June 21, 2016 6:04 PM