MDT 2012 Capture Win7 Machine Fails Part Way through WIM Creation

Proposed MDT 2012 Capture Win7 Machine Fails Part Way through WIM Creation

  • Friday, November 23, 2012 4:57 PM
     
     

    My sysprep/capture has worked for months to capture a Win7SP1 Pro reference computer that's configured exactly as I want to deploy to new machines.  After adding Oracle's VirtualBox in order to run an XP-only program (that works just fine in my Win7 VM), I get the dreaded RC=2 80004005 error.  The Create WIM task runs for about 45 minutes with the WIM showing up in the Captures folder and growing just fine (by hitting refresh, I can see the file size increase).  However, the Capture then fails and the WIM is deleted in the server's Captures folder.  In looking at the ZTIBackup.log (last part of file included below), I see that it's failing on the vdi created by VirtualBox.  And FWIW, I'm able to see the file that's causing the error by opening a command prompt and doing a "dir" command within the Solutions Accelerator, so I don't think it's a rights or access denied issue directly.

    Any ideas?  Thanks!

    <![LOG[  Console > [  49% ] Capturing progress: 48:04 mins remaining ]LOG]!><time="14:38:22.000+000" date="11-22-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[ZTI Heartbeat: command has been running for 47 minutes (process ID 1456)]LOG]!><time="14:38:22.000+000" date="11-22-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[  Console > [  50% ] Capturing progress: 46:43 mins remaining ]LOG]!><time="14:38:53.000+000" date="11-22-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[  Console > [  51% ] Capturing progress: 45:23 mins remaining ]LOG]!><time="14:39:25.000+000" date="11-22-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[  Console > [  52% ] Capturing progress: 44:05 mins remaining ]LOG]!><time="14:39:54.000+000" date="11-22-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[  Console > [  61% ] Capturing progress: 36:59 mins remaining ]LOG]!><time="14:40:06.000+000" date="11-22-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[  Console > [ ERROR ] D:\Users\quantech\VirtualBox VMs\WinXP\WinXP.vdi (Error = 2)]LOG]!><time="14:40:06.000+000" date="11-22-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[  Console > [ ERROR ] D:\Windows\System32\FXSROUTE.dll (Error = 2)]LOG]!><time="14:40:06.000+000" date="11-22-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[  Console > Error imaging drive [D:\]]LOG]!><time="14:40:06.000+000" date="11-22-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[  Console > The system cannot find the file specified. ]LOG]!><time="14:40:06.000+000" date="11-22-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[Return code from command = 2]LOG]!><time="14:40:07.000+000" date="11-22-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[Error creating an image of drive D:, rc = 2]LOG]!><time="14:40:07.000+000" date="11-22-2012" component="ZTIBackup" context="" type="3" thread="" file="ZTIBackup">
    <![LOG[ZTIBackup COMPLETED.  Return Value = 2]LOG]!><time="14:40:07.000+000" date="11-22-2012" component="ZTIBackup" context="" type="1" thread="" file="ZTIBackup">
    <![LOG[ZTI ERROR - Non-zero return code by ZTIBackup, rc = 2]LOG]!><time="14:40:07.000+000" date="11-22-2012" component="ZTIBackup" context="" type="3" thread="" file="ZTIBackup">

All Replies

  • Friday, November 30, 2012 4:57 PM
     
     

    "Bueller.  Bueller?"

    Is anybody out there?  I need help with this please.

  • Friday, November 30, 2012 5:04 PM
     
     Proposed
    Is there enough sapce on the target?
    • Proposed As Answer by Shrek46 Wednesday, January 16, 2013 2:28 AM
    •  
  • Friday, November 30, 2012 6:04 PM
     
     

    Lack of space or an intermittent network problem is likely to be the fault here.

    Of the 2 options, I suspect the first.

    I notice the file WinXP.vdi is trying to be backed up - I would suspect that this is a *fairly* large file and may cause space issues on your network share.

    I guess it's worth mentioning - but is the drive you are capturing to NTFS rather than Fat32? I Think this is extraordinarily unlikely but may be a reason for it failing if the wim gets too large.

  • Friday, November 30, 2012 6:39 PM
     
     

    While this is a large file (WinXP.vdi is 6GB), the destination drive has over 238GB of free space.  Both the drive being captured and the destination are formatted in NTFS.  The total WIM should be approximately 16GB if it is fully created.

    The VM being captured and the physical destination machine are both on the same subnetwork at 1GB speed.

    Thank you for your input so far, but are there other ideas?

  • Friday, November 30, 2012 8:47 PM
     
     
    Can you try capturing to a different share and see if you get an error?
  • Saturday, December 01, 2012 11:19 AM
     
     
    Exact same error when trying to capture to a different share.  Other thoughts?
  • Saturday, December 01, 2012 3:17 PM
     
     
    I would try to do a manual capture and see if it works, so deploy your XP, sysprep it, shut down and use imagex. I am not sure what could be the cause of the break, other than may be a bad image or network connection.
  • Monday, December 03, 2012 9:04 PM
     
     
    Any other ideas?
  • Monday, December 10, 2012 8:28 PM
     
     

    I tried to do a manual capture using imagex and got the same error:

    [ ERROR ] D:\USERS\quantech\VirtualBox VMs\WinXP\WinXP.vdi (Error = 2)

    Error imaging drive [D:\]

    Help!!

  • Monday, December 10, 2012 10:20 PM
     
     
    Found a workaround, but not particularly happy with it.

    1.  Moved offending file to file server

    2.  Ran MDT capture job as normally done successfully in the past.

    3.  Run MDT deployment job to new machine as done successfully in the past.

    4.  Copied the offending file back on to the new machine.

    Question:  is there any way to automatically inject the file during the deploy portion of MDT?  If so, how do I adjust the Task Sequence (or job) in MDT 2012 to do that?

    Thanks.
  • Tuesday, December 18, 2012 8:10 PM
     
     

    I am getting the same error, I can't see the ZTIBackup.log file, where was it?

    thanks


    NM

  • Tuesday, December 18, 2012 10:14 PM
     
     


    I am able to capture a win7 image without any additional applications installed using MDT 2012 update 1 but when I try to capture an win7 system with other software installed it fails about half way thru the capture giving a messsage

    ZTI ERROR - non-zero return code by ZTIBackup, rc=2

    Litetouch deployment failed, Return Code = -2147467259 0x80004005

    Failed to run the action: Create WIM

    the only log file I can see is x:\windows\temp\sms???\smsts.log

    what is the instructions.cxx file?

    ><time="13:06:00.235+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="instruction.cxx:2957">
    <![LOG[Expand a string: ]LOG]!><time="13:06:00.235+000" date="12-18-2012" component="TSManager" context="" type="0" thread="1264" file="executionenv.cxx:782">
    <![LOG[Executing command line: cscript.exe "%SCRIPTROOT%\ZTIBackup.wsf"]LOG]!><time="13:06:00.235+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="commandline.cpp:805">
    <![LOG[Process completed with exit code 2]LOG]!><time="13:39:06.321+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="commandline.cpp:1102">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="13:39:06.321+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="instruction.cxx:3010">
    <![LOG[Failed to run the action: Create WIM. 
    The system cannot find the file specified. (Error: 00000002; Source: Windows)]LOG]!><time="13:39:06.321+000" date="12-18-2012" component="TSManager" context="" type="3" thread="1264" file="instruction.cxx:3101">
    <![LOG[Sending status message . . .]LOG]!><time="13:39:06.321+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="utility.cxx:292">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="13:39:06.321+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="utility.cxx:302">
    <![LOG[Set a global environment variable _SMSTSLastActionRetCode=2]LOG]!><time="13:39:06.321+000" date="12-18-2012" component="TSManager" context="" type="0" thread="1264" file="executionenv.cxx:668">
    <![LOG[Set a global environment variable _SMSTSLastActionSucceeded=false]LOG]!><time="13:39:06.321+000" date="12-18-2012" component="TSManager" context="" type="0" thread="1264" file="executionenv.cxx:668">
    <![LOG[Clear local default environment]LOG]!><time="13:39:06.321+000" date="12-18-2012" component="TSManager" context="" type="0" thread="1264" file="executionenv.cxx:807">
    <![LOG[Let the parent group (Capture Image) decides whether to continue execution]LOG]!><time="13:39:06.321+000" date="12-18-2012" component="TSManager" context="" type="0" thread="1264" file="instruction.cxx:3210">
    <![LOG[Let the parent group (Capture Image) decide whether to continue execution]LOG]!><time="13:39:06.337+000" date="12-18-2012" component="TSManager" context="" type="0" thread="1264" file="instruction.cxx:2461">
    <![LOG[The execution of the group (Capture Image) has failed and the execution has been aborted. An action failed.
    Operation aborted (Error: 80004004; Source: Windows)]LOG]!><time="13:39:06.337+000" date="12-18-2012" component="TSManager" context="" type="3" thread="1264" file="instruction.cxx:2424">
    <![LOG[Failed to run the last action: Create WIM. Execution of task sequence failed.
    The system cannot find the file specified. (Error: 00000002; Source: Windows)]LOG]!><time="13:39:06.337+000" date="12-18-2012" component="TSManager" context="" type="3" thread="1264" file="engine.cxx:214">
    <![LOG[Sending status message . . .]LOG]!><time="13:39:06.337+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="utility.cxx:292">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="13:39:06.337+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="utility.cxx:302">
    <![LOG[Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmanager\tsmanager.cpp,767)]LOG]!><time="13:39:06.337+000" date="12-18-2012" component="TSManager" context="" type="0" thread="1264" file="tsmanager.cpp:767">
    <![LOG[Task Sequence Engine failed! Code: enExecutionFail]LOG]!><time="13:39:06.337+000" date="12-18-2012" component="TSManager" context="" type="3" thread="1264" file="tsmanager.cpp:767">
    <![LOG[****************************************************************************]LOG]!><time="13:39:06.352+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="tsmanager.cpp:789">
    <![LOG[Task sequence execution failed with error code 80004005]LOG]!><time="13:39:06.352+000" date="12-18-2012" component="TSManager" context="" type="3" thread="1264" file="tsmanager.cpp:790">
    <![LOG[Cleaning Up. Removing Authenticator]LOG]!><time="13:39:06.352+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="tsmanager.cpp:578">
    <![LOG[Cleaning up task sequence folder]LOG]!><time="13:39:06.352+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="utils.cpp:1404">
    <![LOG[DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,508)]LOG]!><time="13:39:06.399+000" date="12-18-2012" component="TSManager" context="" type="0" thread="1264" file="resolvesource.cpp:508">
    <![LOG[DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,508)]LOG]!><time="13:39:06.399+000" date="12-18-2012" component="TSManager" context="" type="0" thread="1264" file="resolvesource.cpp:508">
    <![LOG[Successfully unregistered Task Sequencing Environment COM Interface.]LOG]!><time="13:39:06.415+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="environmentlib.cpp:869">
    <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="13:39:06.415+000" date="12-18-2012" component="TSManager" context="" type="0" thread="1264" file="commandline.cpp:229">
    <![LOG[Set command line: "X:\Deploy\Tools\X64\TsProgressUI.exe" /Unregister]LOG]!><time="13:39:06.415+000" date="12-18-2012" component="TSManager" context="" type="0" thread="1264" file="commandline.cpp:707">
    <![LOG[Executing command line: "X:\Deploy\Tools\X64\TsProgressUI.exe" /Unregister]LOG]!><time="13:39:06.415+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="commandline.cpp:805">
    <![LOG[==========[ TsProgressUI started in process 1088 ]==========]LOG]!><time="13:39:06.461+000" date="12-18-2012" component="TsProgressUI" context="" type="1" thread="512" file="winmain.cpp:327">
    <![LOG[Command line: "X:\Deploy\Tools\X64\TsProgressUI.exe" /Unregister]LOG]!><time="13:39:06.461+000" date="12-18-2012" component="TsProgressUI" context="" type="0" thread="512" file="winmain.cpp:330">
    <![LOG[Unregistering COM classes]LOG]!><time="13:39:06.461+000" date="12-18-2012" component="TsProgressUI" context="" type="1" thread="512" file="winmain.cpp:202">
    <![LOG[Unregistering class objects]LOG]!><time="13:39:06.461+000" date="12-18-2012" component="TsProgressUI" context="" type="1" thread="512" file="winmain.cpp:503">
    <![LOG[Shutdown complete.]LOG]!><time="13:39:06.461+000" date="12-18-2012" component="TsProgressUI" context="" type="1" thread="512" file="winmain.cpp:520">
    <![LOG[Process completed with exit code 0]LOG]!><time="13:39:06.461+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="commandline.cpp:1102">
    <![LOG[Successfully unregistered TS Progress UI.]LOG]!><time="13:39:06.461+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="utils.cpp:1963">
    <![LOG[g_TSManager.Run(), HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmanager\tsmanager.cpp,657)]LOG]!><time="13:39:06.461+000" date="12-18-2012" component="TSManager" context="" type="0" thread="1264" file="tsmanager.cpp:657">
    <![LOG[Error Task Sequence Manager failed to execute task sequence. Code 0x80004005]LOG]!><time="13:39:06.461+000" date="12-18-2012" component="TSManager" context="" type="3" thread="1264" file="tsmanager.cpp:689">
    <![LOG[Sending error status message]LOG]!><time="13:39:06.461+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="tsmanager.cpp:690">
    <![LOG[In non SMS staqndalone mode.Ignoring SendStatusMessage request]LOG]!><time="13:39:06.461+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="tsmanager.cpp:1541">
    <![LOG[Finalizing logging from process 1260]LOG]!><time="13:39:06.461+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="tslogging.cpp:1736">
    <![LOG[Finalizing logs to root of first available drive]LOG]!><time="13:39:06.461+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="tslogging.cpp:1578">
    <![LOG[LOGGING: Setting log directory to "D:\SMSTSLog".]LOG]!><time="13:39:06.477+000" date="12-18-2012" component="TSManager" context="" type="1" thread="1264" file="tslogging.cpp:1803">
    <![LOG[Process completed with exit code 2147500037]LOG]!><time="13:39:06.477+000" date="12-18-2012" component="TSMBootstrap" context="" type="1" thread="1224" file="commandline.cpp:1102">
    <![LOG[Exiting with return code 0x80004005]LOG]!><time="13:39:06.477+000" date="12-18-2012" component="TSMBootstrap" context="" type="1" thread="1224" file="tsmbootstrap.cpp:1118">
    <![LOG[==========[ TsProgressUI started in process 1572 ]==========]LOG]!><time="13:39:06.524+000" date="12-18-2012" component="TsProgressUI" context="" type="1" thread="1996" file="winmain.cpp:327">
    <![LOG[Command line: "X:\Deploy\Tools\X64\TSProgressUI.exe"  /Unregister]LOG]!><time="13:39:06.524+000" date="12-18-2012" component="TsProgressUI" context="" type="0" thread="1996" file="winmain.cpp:330">
    <![LOG[Unregistering COM classes]LOG]!><time="13:39:06.524+000" date="12-18-2012" component="TsProgressUI" context="" type="1" thread="1996" file="winmain.cpp:202">
    <![LOG[Unregistering class objects]LOG]!><time="13:39:06.524+000" date="12-18-2012" component="TsProgressUI" context="" type="1" thread="1996" file="winmain.cpp:503">
    <![LOG[Shutdown complete.]LOG]!><time="13:39:06.524+000" date="12-18-2012" component="TsProgressUI" context="" type="1" thread="1996" file="winmain.cpp:520">


    NM

    turned out to be a disk space problem - ran out of space on the deployment share - it's working now

    • Edited by nmadmin Wednesday, December 19, 2012 3:48 PM
    •