Answered Problems with MDT 2012 capture

  • Sunday, July 22, 2012 2:06 AM
     
      Has Code

    Hi all, 

    I'm having an issue with the Capture task in MDT 2012

    I want to capture a Windows 7 install that i've added some software to. I first deployed a base Win 7 image using MDT fine, installed the software, then ran sysprep on the install.

    I created a "Sysprep and Capture" task, but disabled the sysprep stage in the task sequence, as I had a lot of problems with that in the past. I then boot from the network and go to run the capture, but I get the following error after the task "Apply Windows PE"

    ZTI error - Unhandled error returned by LTIApply: The system cannot find the file specified. (-2147024894 0x80070002)

    Here is the relevant info from SMSTS.log

    <![LOG[Start executing the command line: cscript.exe "%SCRIPTROOT%\LTIApply.wsf" /PE /STAGE]LOG]!><time="02:46:03.234+000" date="07-22-2012" component="TSManager" context="" type="1" thread="1676" file="instruction.cxx:2928">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="02:46:03.234+000" date="07-22-2012" component="TSManager" context="" type="1" thread="1676" file="instruction.cxx:2957">
    <![LOG[Expand a string: ]LOG]!><time="02:46:03.234+000" date="07-22-2012" component="TSManager" context="" type="0" thread="1676" file="executionenv.cxx:782">
    <![LOG[Executing command line: cscript.exe "%SCRIPTROOT%\LTIApply.wsf" /PE /STAGE]LOG]!><time="02:46:03.234+000" date="07-22-2012" component="TSManager" context="" type="1" thread="1676" file="commandline.cpp:805">
    <![LOG[Process completed with exit code 2147942402]LOG]!><time="02:46:04.203+000" date="07-22-2012" component="TSManager" context="" type="1" thread="1676" file="commandline.cpp:1102">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="02:46:04.203+000" date="07-22-2012" component="TSManager" context="" type="1" thread="1676" file="instruction.cxx:3010">
    <![LOG[Failed to run the action: Apply Windows PE. 
    The system cannot find the file specified. (Error: 80070002; Source: Windows)]LOG]!><time="02:46:04.203+000" date="07-22-2012" component="TSManager" context="" type="3" thread="1676" file="instruction.cxx:3101">

    Any help is greatly appreciated!

    I have actually rolled out the same solution in a purely x86 environment ... x86 windows install, x86 WIM files etc. This environment i'm having problems in is x64 ... any signficance to that?

All Replies

  • Sunday, July 22, 2012 9:34 PM
     
     Answered

    After a LOT of testing I found the issue ... it was with my Windows 7 media that I imported the operating system from to build the deployment share.

    I was using a technet image with Windows 7 Pro with SP1 integrated (i'd also removed the ei.cfg to give me a list of versions on install .. not sure if that makes a difference) ... this does not work correctly. If I use a Windows 7 Pro RTM image with no ei.cfg modification it works perfectly.

    Hopefully this helps someone not waste as much time on this! 

    • Marked As Answer by BenSBB Sunday, July 22, 2012 9:34 PM
    •