Windwos 7 Deployment error 0x80070002
i'm testing the SCCM in Virtual PC after Restart the computer the Task sequence finsh the Drive C: Format but after that i got Error Msg 0x80070002 what should i check !!! Ali Hubail - PC Network Support Assistant
May 23rd, 2011 7:59am

open a prompt (F8) and look at X:\windows\temp\smstlog\smsts.log. it will tell you why it's failing (you can post it here).. The error is a file access error, so it might be share problems, or NAA, or storage drivers or some thing along that line! Michael Petersen http://blog.coretech.dk/mip/
Free Windows Admin Tool Kit Click here and download it now
May 23rd, 2011 8:26am

here's how to get the smsts.log Troubleshooting PXE and PE problems Troubleshooting with the help of SMSTS.LOG and F8 we need the errors from that log to determine the problem, probably lack of network drivers, do you have an ip that can ping the fqdn of the sccm server ? My step by step SCCM Guides I'm on Twitter > ncbrady
May 23rd, 2011 8:49am

i got this <![LOG[Apply(), HRESULT=80070002 (e:\nts_sms_fre\sms\client\osdeployment\applyos\installimage.cpp,1456)]LOG]!><time="07:56:31.911+000" date="06-06-2011" component="ApplyOperatingSystem" context="" type="0" thread="544" file="installimage.cpp:1456"> <![LOG[Installation of image 1 in package BNH00025 failed to complete.. The system cannot find the file specified. (Error: 80070002; Source: Windows)]LOG]!><time="07:56:31.921+000" date="06-06-2011" component="ApplyOperatingSystem" context="" type="3" thread="544" file="installimage.cpp:1476"> <![LOG[installer.install(), HRESULT=80070002 (e:\nts_sms_fre\sms\client\osdeployment\applyos\installimage.cpp,1527)]LOG]!><time="07:56:31.921+000" date="06-06-2011" component="ApplyOperatingSystem" context="" type="0" thread="544" file="installimage.cpp:1527"> <![LOG[Entering ReleaseSource() for C:\_SMSTaskSequence\Packages\BNH00025]LOG]!><time="07:56:31.921+000" date="06-06-2011" component="ApplyOperatingSystem" context="" type="1" thread="544" file="resolvesource.cpp:3431"> <![LOG[The user tries to release a source directory C:\_SMSTaskSequence\Packages\BNH00025 that is either already released or we have not connected to it]LOG]!><time="07:56:31.921+000" date="06-06-2011" component="ApplyOperatingSystem" context="" type="2" thread="544" file="resolvesource.cpp:3481"> <![LOG[InstallImage( g_InstallPackageID, g_ImageIndex, targetVolume, ImageType_OS, g_ConfigPackageID, g_ConfigFileName, bOEMMedia ), HRESULT=80070002 (e:\nts_sms_fre\sms\client\osdeployment\applyos\applyos.cpp,373)]LOG]!><time="07:56:31.921+000" date="06-06-2011" component="ApplyOperatingSystem" context="" type="0" thread="544" file="applyos.cpp:373"> <![LOG[Process completed with exit code 2147942402]LOG]!><time="07:56:31.921+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="commandline.cpp:1102"> <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="07:56:31.921+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="instruction.cxx:3010"> <![LOG[Failed to run the action: Apply Operating System. The system cannot find the file specified. (Error: 80070002; Source: Windows)]LOG]!><time="07:56:31.931+000" date="06-06-2011" component="TSManager" context="" type="3" thread="1744" file="instruction.cxx:3101"> <![LOG[Sending status message . . .]LOG]!><time="07:56:31.931+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="utility.cxx:292"> <![LOG[Send a task execution status message SMS_TSExecution_ActionFailError]LOG]!><time="07:56:31.931+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="utility.cxx:314"> <![LOG[MP server WIN-EGSCD19A6XO.TEST.COM and port 80. SSL=false. CRL=false.]LOG]!><time="07:56:31.931+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="utility.cxx:458"> <![LOG[Site code: BNH]LOG]!><time="07:56:31.931+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="utility.cxx:489"> <![LOG[Client machine name: PC-TEST2]LOG]!><time="07:56:31.931+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="utility.cxx:494"> <![LOG[Client Identity: GUID:95616320-5F2E-4CB2-A52D-A95525F92EBF]LOG]!><time="07:56:31.931+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="utility.cxx:496"> <![LOG[Advertisement ID: BNH2001F]LOG]!><time="07:56:31.931+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="utility.cxx:505"> <![LOG[Package ID: BNH00028]LOG]!><time="07:56:31.931+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="utility.cxx:507"> <![LOG[Sending StatusMessage]LOG]!><time="07:56:31.971+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="libsmsmessaging.cpp:3806"> <![LOG[Formatted header:]LOG]!><time="07:56:31.971+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="libsmsmessaging.cpp:1500"> <![LOG[<Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:95616320-5F2E-4CB2-A52D-A95525F92EBF</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2011-06-06T15:56:31Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="4248"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg> ]LOG]!><time="07:56:31.971+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="libsmsmessaging.cpp:1501"> <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: WIN-EGSCD19A6XO.TEST.COM:80 CCM_POST /ccm_system/request]LOG]!><time="07:56:31.971+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="libsmsmessaging.cpp:7446"> <![LOG[The request has succeeded. 200 OK]LOG]!><time="07:56:31.991+000" date="06-06-2011" component="TSManager" context="" type="0" thread="1744" file="libsmsmessaging.cpp:7734"> <![LOG[Set a global environment variable _SMSTSLastActionRetCode=-2147024894]LOG]!><time="07:56:31.991+000" date="06-06-2011" component="TSManager" context="" type="0" thread="1744" file="executionenv.cxx:668"> <![LOG[Set a global environment variable _SMSTSLastActionSucceeded=false]LOG]!><time="07:56:32.001+000" date="06-06-2011" component="TSManager" context="" type="0" thread="1744" file="executionenv.cxx:668"> <![LOG[Clear local default environment]LOG]!><time="07:56:32.001+000" date="06-06-2011" component="TSManager" context="" type="0" thread="1744" file="executionenv.cxx:807"> <![LOG[Let the parent group (Install Operating System) decides whether to continue execution]LOG]!><time="07:56:32.031+000" date="06-06-2011" component="TSManager" context="" type="0" thread="1744" file="instruction.cxx:3210"> <![LOG[The execution of the group (Install Operating System) has failed and the execution has been aborted. An action failed. Operation aborted (Error: 80004004; Source: Windows)]LOG]!><time="07:56:32.041+000" date="06-06-2011" component="TSManager" context="" type="3" thread="1744" file="instruction.cxx:2424"> <![LOG[Failed to run the last action: Apply Operating System. Execution of task sequence failed. The system cannot find the file specified. (Error: 80070002; Source: Windows)]LOG]!><time="07:56:32.041+000" date="06-06-2011" component="TSManager" context="" type="3" thread="1744" file="engine.cxx:214"> <![LOG[Sending status message . . .]LOG]!><time="07:56:32.041+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="utility.cxx:292"> <![LOG[Send a task execution status message SMS_TSExecution_TaskSequenceFailError]LOG]!><time="07:56:32.041+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="utility.cxx:314"> <![LOG[MP server WIN-EGSCD19A6XO.TEST.COM and port 80. SSL=false. CRL=false.]LOG]!><time="07:56:32.041+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="utility.cxx:458"> <![LOG[Site code: BNH]LOG]!><time="07:56:32.041+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="utility.cxx:489"> <![LOG[Client machine name: PC-TEST2]LOG]!><time="07:56:32.041+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="utility.cxx:494"> <![LOG[Client Identity: GUID:95616320-5F2E-4CB2-A52D-A95525F92EBF]LOG]!><time="07:56:32.041+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="utility.cxx:496"> <![LOG[Advertisement ID: BNH2001F]LOG]!><time="07:56:32.041+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="utility.cxx:505"> <![LOG[Package ID: BNH00028]LOG]!><time="07:56:32.041+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="utility.cxx:507"> <![LOG[Sending StatusMessage]LOG]!><time="07:56:32.061+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="libsmsmessaging.cpp:3806"> <![LOG[Formatted header:]LOG]!><time="07:56:32.061+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="libsmsmessaging.cpp:1500"> <![LOG[<Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:95616320-5F2E-4CB2-A52D-A95525F92EBF</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2011-06-06T15:56:32Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="2128"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg> ]LOG]!><time="07:56:32.061+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="libsmsmessaging.cpp:1501"> <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: WIN-EGSCD19A6XO.TEST.COM:80 CCM_POST /ccm_system/request]LOG]!><time="07:56:32.061+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="libsmsmessaging.cpp:7446"> <![LOG[The request has succeeded. 200 OK]LOG]!><time="07:56:32.101+000" date="06-06-2011" component="TSManager" context="" type="0" thread="1744" file="libsmsmessaging.cpp:7734"> <![LOG[Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmanager\tsmanager.cpp,767)]LOG]!><time="07:58:57.811+000" date="06-06-2011" component="TSManager" context="" type="0" thread="1744" file="tsmanager.cpp:767"> <![LOG[Task Sequence Engine failed! Code: enExecutionFail]LOG]!><time="07:58:57.821+000" date="06-06-2011" component="TSManager" context="" type="3" thread="1744" file="tsmanager.cpp:767"> <![LOG[****************************************************************************]LOG]!><time="07:58:57.821+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="tsmanager.cpp:789"> <![LOG[Task sequence execution failed with error code 80004005]LOG]!><time="07:58:57.821+000" date="06-06-2011" component="TSManager" context="" type="3" thread="1744" file="tsmanager.cpp:790"> <![LOG[Cleaning Up. Removing Authenticator]LOG]!><time="07:58:57.821+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="tsmanager.cpp:578"> <![LOG[Cleaning up task sequence folder]LOG]!><time="07:58:57.821+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="utils.cpp:1404"> <![LOG[DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,508)]LOG]!><time="07:58:57.831+000" date="06-06-2011" component="TSManager" context="" type="0" thread="1744" file="resolvesource.cpp:508"> <![LOG[Successfully unregistered Task Sequencing Environment COM Interface.]LOG]!><time="07:58:57.831+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="environmentlib.cpp:869"> <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="07:58:57.831+000" date="06-06-2011" component="TSManager" context="" type="0" thread="1744" file="commandline.cpp:229"> <![LOG[Set command line: "X:\sms\bin\i386\TsProgressUI.exe" /Unregister]LOG]!><time="07:58:57.831+000" date="06-06-2011" component="TSManager" context="" type="0" thread="1744" file="commandline.cpp:707"> <![LOG[Executing command line: "X:\sms\bin\i386\TsProgressUI.exe" /Unregister]LOG]!><time="07:58:57.831+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="commandline.cpp:805"> <![LOG[==========[ TsProgressUI started in process 1128 ]==========]LOG]!><time="07:58:57.851+000" date="06-06-2011" component="TsProgressUI" context="" type="1" thread="1132" file="winmain.cpp:327"> <![LOG[Command line: "X:\sms\bin\i386\TsProgressUI.exe" /Unregister]LOG]!><time="07:58:57.861+000" date="06-06-2011" component="TsProgressUI" context="" type="0" thread="1132" file="winmain.cpp:330"> <![LOG[Unregistering COM classes]LOG]!><time="07:58:57.861+000" date="06-06-2011" component="TsProgressUI" context="" type="1" thread="1132" file="winmain.cpp:202"> <![LOG[Unregistering class objects]LOG]!><time="07:58:57.861+000" date="06-06-2011" component="TsProgressUI" context="" type="1" thread="1132" file="winmain.cpp:503"> <![LOG[Shutdown complete.]LOG]!><time="07:58:57.861+000" date="06-06-2011" component="TsProgressUI" context="" type="1" thread="1132" file="winmain.cpp:520"> <![LOG[Process completed with exit code 0]LOG]!><time="07:58:57.861+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="commandline.cpp:1102"> <![LOG[Successfully unregistered TS Progress UI.]LOG]!><time="07:58:57.861+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="utils.cpp:1963"> <![LOG[g_TSManager.Run(), HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmanager\tsmanager.cpp,657)]LOG]!><time="07:58:57.861+000" date="06-06-2011" component="TSManager" context="" type="0" thread="1744" file="tsmanager.cpp:657"> <![LOG[Error Task Sequence Manager failed to execute task sequence. Code 0x80004005]LOG]!><time="07:58:57.861+000" date="06-06-2011" component="TSManager" context="" type="3" thread="1744" file="tsmanager.cpp:689"> <![LOG[Sending error status message]LOG]!><time="07:58:57.871+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="tsmanager.cpp:690"> <![LOG[Sending StatusMessage]LOG]!><time="07:58:57.871+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="libsmsmessaging.cpp:3806"> <![LOG[Formatted header:]LOG]!><time="07:58:57.871+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="libsmsmessaging.cpp:1500"> <![LOG[<Msg SchemaVersion="1.1" ReplyCompression="zlib"><ID/><SourceID>GUID:95616320-5F2E-4CB2-A52D-A95525F92EBF</SourceID><SourceHost/><TargetAddress>mp:[http]MP_StatusManager</TargetAddress><ReplyTo>direct:OSD</ReplyTo><Priority>3</Priority><Timeout>3600</Timeout><SentTime>2011-06-06T15:58:57Z</SentTime><Protocol>http</Protocol><Body Type="ByteRange" Offset="0" Length="1164"/><Hooks/><Payload Type="inline"/><TargetHost/><TargetEndpoint>StatusReceiver</TargetEndpoint><ReplyMode>Sync</ReplyMode><CorrelationID/></Msg> ]LOG]!><time="07:58:57.871+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="libsmsmessaging.cpp:1501"> <![LOG[CLibSMSMessageWinHttpTransport::Send: URL: WIN-EGSCD19A6XO.TEST.COM:80 CCM_POST /ccm_system/request]LOG]!><time="07:58:57.871+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="libsmsmessaging.cpp:7446"> <![LOG[The request has succeeded. 200 OK]LOG]!><time="07:59:00.905+000" date="06-06-2011" component="TSManager" context="" type="0" thread="1744" file="libsmsmessaging.cpp:7734"> <![LOG[Finalize logging request ignored from process 1740]LOG]!><time="07:59:00.905+000" date="06-06-2011" component="TSManager" context="" type="1" thread="1744" file="tslogging.cpp:1732"> <![LOG[Process completed with exit code 2147500037]LOG]!><time="07:59:00.915+000" date="06-06-2011" component="TSMBootstrap" context="" type="1" thread="1704" file="commandline.cpp:1102"> <![LOG[Exiting with return code 0x80004005]LOG]!><time="07:59:00.915+000" date="06-06-2011" component="TSMBootstrap" context="" type="1" thread="1704" file="tsmbootstrap.cpp:1118"> <![LOG[Execution complete.]LOG]!><time="07:59:00.935+000" date="06-06-2011" component="TSBootShell" context="" type="1" thread="740" file="bootshell.cpp:624"> <![LOG[Finalizing logging from process 728]LOG]!><time="07:59:00.945+000" date="06-06-2011" component="TSBootShell" context="" type="1" thread="740" file="tslogging.cpp:1736"> <![LOG[Finalizing logs to root of first available drive]LOG]!><time="07:59:00.945+000" date="06-06-2011" component="TSBootShell" context="" type="1" thread="740" file="tslogging.cpp:1578"> <![LOG[Successfully finalized logs to C:\SMSTSLog]LOG]!><time="07:59:00.945+000" date="06-06-2011" component="TSBootShell" context="" type="1" thread="740" file="tslogging.cpp:1635"> <![LOG[Cleaning up task sequencing logging configuration.]LOG]!><time="07:59:00.945+000" date="06-06-2011" component="TSBootShell" context="" type="0" thread="740" file="tslogging.cpp:578"> Ali Hubail - PC Network Support Assistant
Free Windows Admin Tool Kit Click here and download it now
June 6th, 2011 1:43am

Seems to be a problem wit package BNH00025, try and remowe it from the DP, and redistribute... Should be your Refrence image package!Michael Petersen blog: http://blog.coretech.dk/mip
June 6th, 2011 2:32am

so you mean that i have to delet the Refrence image from the Operation System Images ?Ali Hubail - PC Network Support Assistant
Free Windows Admin Tool Kit Click here and download it now
June 6th, 2011 2:51am

If it is package number BNH00025 just delete it from the DP, and the add it again.. You do not have to remove it from SCCM... It might not be the solution to your problem, but at least it will eliminate on possible error.Michael Petersen blog: http://blog.coretech.dk/mip
June 6th, 2011 3:20am

if the above doesn't help check your network state when the failure occurs (during apply operating system step), press F8 and see if ipconfig reveals that you have a working IP address, i've seen times when the apply operating system step fails due to the network going down during that step and effectively loosing ip address, please confirm this My step by step SCCM Guides I'm on Twitter > ncbrady
Free Windows Admin Tool Kit Click here and download it now
June 6th, 2011 5:55am

Actually seen that to, come to think of it, turned out to be 5 minutes lease time! (way to short)Michael Petersen blog: http://blog.coretech.dk/mip
June 6th, 2011 6:02am

it got ip address ! Ali Hubail - PC Network Support Assistant
Free Windows Admin Tool Kit Click here and download it now
June 6th, 2011 8:15am

Hi, just checking. Did you configure a Network Access Account? You can set this one in the Configmgr Console under Site Management/Site Settings/(your site)/Client Agents/Computer Client Agent Properties. Have a look at this post for another answer: http://social.technet.microsoft.com/Forums/pl-PL/configmgrosd/thread/e5a13ab8-3469-42ec-84dc-d6684f419aca Typically when I receive errors on the build and capture its because a network driver in the OS didn't load correctly. I believe the first step of the capture is to check from the OS that it can reach the path to capture. I always include debugging, so you can hit F8 when you get the error and make sure you can ping, ipconfig and map a drive to your path using the network access account.My ConfigMgr blog: http://henkhoogendoorn.blogspot.com Follow me on Twitter: @henkhoogendoorn
June 6th, 2011 9:20am

thank you i reconfigure Network Access account and it's worked fine Ali Hubail - IT Admin Support Assistant
Free Windows Admin Tool Kit Click here and download it now
June 8th, 2011 2:37pm

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

Other recent topics Other recent topics