none
Unable to sysprep and capture Windows 7 image using MDT 2010

    問題

  • I have searched and surfed many other threads pretaining to problems with capturing images, though I have not yet found an answer that yields success.  I followed the MDT 2010's documentation for deploying the initial image to the reference computer, and was able to do so successfully.  Next, I adjusted the reference computer to meet the needs of our organization.  Now I'm trying to capture the image from the reference computer, and I keep hitting this brick wall:

    ZTI ERROR - Non-zero return code by litetouch, rc = -2147467259 0x80004005
    FAILURE (Err): -2147024894 0x800700002: Test for CloneTag in registry to verify Sysprep
    completed. - Unable to open registry key "HKEY_LOCAL_MACHINE\System\Setup\CloneTag" for
    reading.
    FAILURE ( 6191 ): Test for CloneTag in registry to verify Sysprep completed. - Unable to open
    registry key "HKEY_LOCAL_MACHINE\System\Setup\CloneTag" for reading.
    Litetouch deployment failed, Return Code = -2147467259 0x80004005

    I've read several articles where this problem can be skirted by adjusting the BuildMassStorageSection to "No," and then adding the intel matrix storage manager drivers manually into sysprep.inf.  The question is, I'm not sure where sysprep.inf is supposed to live since I am trying to do this as a Task Sequence via MDT 2010.  There were also suggestions to remove the sysprep folder on the to be imaged system, to "trick" sysprep by adding back the HKLM\System\Setup\CloneTag key, and a couple of other things all of which have not worked for me.

    Can someone help enlighten me here?  Thank you for your response! 
    2010年2月15日 下午 07:56

所有回覆

  • It looks like Sysprep is not completing. Do you have a build and capture task sequence you're using to automate the creation and capture of your custom image? Also, I would look in the smsts.log to see exactly what step in the task sequence failed or to see if it gives you any additional information?
    http://deploywindows7.wordpress.com/
    2010年2月16日 上午 02:26
  • About every time I have seen this, there had been a mass storage line in sysprep.inf, pointing to a inf-file that doesn't exist on the drive.

    Adding drivers manually to sysprep.inf is fine, you just need to make sure the drivers is on the disk, in the right location as well.
    2010年2月16日 上午 03:41
    版主
  • Thank you for the replies, gentlemen.

    Where exactly is the sysprep.inf that MDT 2010 uses?  And yes - I am trying to use a "Sysprep and Capture" Task Sequence.

    Below is the contents of the smsts.log that I found in User\AppData\Local\Temp (oddly, there was two copies of the file...one in the root and one in a folder SMSTSLog, though they appear to be the same file).  This is only the bottom half of the log, as it seems the entire thing is too long to post here:

    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="10:53:05.732+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:3010">
    <![LOG[Successfully complete the action (Set Phase) with the exit win32 code 0]LOG]!><time="10:53:05.732+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:3036">
    <![LOG[Sending status message . . .]LOG]!><time="10:53:05.732+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="utility.cxx:292">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="10:53:05.732+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="utility.cxx:302">
    <![LOG[Set a global environment variable _SMSTSLastActionRetCode=0]LOG]!><time="10:53:05.732+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Set a global environment variable _SMSTSLastActionSucceeded=true]LOG]!><time="10:53:05.732+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Clear local default environment]LOG]!><time="10:53:05.732+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:807">
    <![LOG[Updated security on object C:\_SMSTaskSequence.]LOG]!><time="10:53:05.747+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="utils.cpp:829">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=5]LOG]!><time="10:53:05.747+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Set a TS execution environment variable _SMSTSNextInstructionPointer=5]LOG]!><time="10:53:05.747+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:386">
    <![LOG[Set a global environment variable _SMSTSInstructionStackString=0]LOG]!><time="10:53:05.747+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Set a TS execution environment variable _SMSTSInstructionStackString=0]LOG]!><time="10:53:05.747+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:414">
    <![LOG[Save the current environment block]LOG]!><time="10:53:05.747+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:833">
    <![LOG[Successfully save execution state and environment to local hard disk]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="engine.cxx:255">
    <![LOG[Start executing an instruciton. Instruction name: Apply Windows PE (XP). Instruction pointer: 5]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="engine.cxx:117">
    <![LOG[Set a global environment variable _SMSTSCurrentActionName=Apply Windows PE (XP)]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=5]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Set a global environment variable _SMSTSLogPath=C:\Users\ADMINI~1\AppData\Local\Temp\SMSTSLog]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Evaluating an AND expression]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:592">
    <![LOG[Evaluating a variable condition expression]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:775">
    <![LOG[Variable = ImageBuild]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:793">
    <![LOG[Value = 6]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:794">
    <![LOG[Operator = less]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:795">
    <![LOG[Expand a string: less]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:782">
    <![LOG[Expand a string: ImageBuild]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:782">
    <![LOG[Expand a string: 6]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:782">
    <![LOG[The variable condition expression is evaluated to be FALSE]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:899">
    <![LOG[The AND expression is evaluated to be FALSE]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:625">
    <![LOG[The action (Apply Windows PE (XP)) has been skipped because the condition is evaluated to be false]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:2893">
    <![LOG[Sending status message . . .]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="utility.cxx:292">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="utility.cxx:302">
    <![LOG[Clear local default environment]LOG]!><time="10:53:05.763+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:807">
    <![LOG[Execution of the instruction (Apply Windows PE (XP)) has been skipped]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="engine.cxx:193">
    <![LOG[Start executing an instruciton. Instruction name: Add mass storage drivers to sysprep.inf for XP and 2003. Instruction pointer: 6]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="engine.cxx:117">
    <![LOG[Set a global environment variable _SMSTSCurrentActionName=Add mass storage drivers to sysprep.inf for XP and 2003]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=6]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Set a global environment variable _SMSTSLogPath=C:\Users\ADMINI~1\AppData\Local\Temp\SMSTSLog]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Evaluating an AND expression]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:592">
    <![LOG[Evaluating a variable condition expression]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:775">
    <![LOG[Variable = ImageBuild]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:793">
    <![LOG[Value = 6]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:794">
    <![LOG[Operator = less]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:795">
    <![LOG[Expand a string: less]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:782">
    <![LOG[Expand a string: ImageBuild]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:782">
    <![LOG[Expand a string: 6]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:782">
    <![LOG[The variable condition expression is evaluated to be FALSE]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:899">
    <![LOG[The AND expression is evaluated to be FALSE]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:625">
    <![LOG[The action (Add mass storage drivers to sysprep.inf for XP and 2003) has been skipped because the condition is evaluated to be false]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:2893">
    <![LOG[Sending status message . . .]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="utility.cxx:292">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="utility.cxx:302">
    <![LOG[Clear local default environment]LOG]!><time="10:53:05.794+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:807">
    <![LOG[Execution of the instruction (Add mass storage drivers to sysprep.inf for XP and 2003) has been skipped]LOG]!><time="10:53:05.810+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="engine.cxx:193">
    <![LOG[Start executing an instruciton. Instruction name: Configure. Instruction pointer: 7]LOG]!><time="10:53:05.810+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="engine.cxx:117">
    <![LOG[Set a global environment variable _SMSTSCurrentActionName=Configure]LOG]!><time="10:53:05.810+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=7]LOG]!><time="10:53:05.825+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Set a global environment variable _SMSTSLogPath=C:\Users\ADMINI~1\AppData\Local\Temp\SMSTSLog]LOG]!><time="10:53:05.825+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Expand a string: cscript.exe "%SCRIPTROOT%\ZTIConfigure.wsf"]LOG]!><time="10:53:05.825+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:782">
    <![LOG[Expand a string: ]LOG]!><time="10:53:05.825+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:782">
    <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="10:53:05.825+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="commandline.cpp:229">
    <![LOG[Set command line: cscript.exe "%SCRIPTROOT%\ZTIConfigure.wsf"]LOG]!><time="10:53:05.825+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="commandline.cpp:707">
    <![LOG[Start executing the command line: cscript.exe "%SCRIPTROOT%\ZTIConfigure.wsf"]LOG]!><time="10:53:05.825+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:2928">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="10:53:05.825+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:2957">
    <![LOG[Expand a string: ]LOG]!><time="10:53:05.825+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:782">
    <![LOG[Executing command line: cscript.exe "%SCRIPTROOT%\ZTIConfigure.wsf"]LOG]!><time="10:53:05.825+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="commandline.cpp:805">
    <![LOG[Process completed with exit code 0]LOG]!><time="10:53:07.073+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="commandline.cpp:1102">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="10:53:07.073+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:3010">
    <![LOG[Successfully complete the action (Configure) with the exit win32 code 0]LOG]!><time="10:53:07.089+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:3036">
    <![LOG[Sending status message . . .]LOG]!><time="10:53:07.089+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="utility.cxx:292">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="10:53:07.089+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="utility.cxx:302">
    <![LOG[Set a global environment variable _SMSTSLastActionRetCode=0]LOG]!><time="10:53:07.089+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Set a global environment variable _SMSTSLastActionSucceeded=true]LOG]!><time="10:53:07.089+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Clear local default environment]LOG]!><time="10:53:07.089+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:807">
    <![LOG[Updated security on object C:\_SMSTaskSequence.]LOG]!><time="10:53:07.104+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="utils.cpp:829">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=8]LOG]!><time="10:53:07.104+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Set a TS execution environment variable _SMSTSNextInstructionPointer=8]LOG]!><time="10:53:07.104+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:386">
    <![LOG[Set a global environment variable _SMSTSInstructionStackString=0]LOG]!><time="10:53:07.104+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Set a TS execution environment variable _SMSTSInstructionStackString=0]LOG]!><time="10:53:07.104+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:414">
    <![LOG[Save the current environment block]LOG]!><time="10:53:07.104+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:833">
    <![LOG[Successfully save execution state and environment to local hard disk]LOG]!><time="10:53:07.104+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="engine.cxx:255">
    <![LOG[Start executing an instruciton. Instruction name: Execute Sysprep. Instruction pointer: 8]LOG]!><time="10:53:07.104+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="engine.cxx:117">
    <![LOG[Set a global environment variable _SMSTSCurrentActionName=Execute Sysprep]LOG]!><time="10:53:07.120+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Set a global environment variable _SMSTSNextInstructionPointer=8]LOG]!><time="10:53:07.120+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Set a global environment variable _SMSTSLogPath=C:\Users\ADMINI~1\AppData\Local\Temp\SMSTSLog]LOG]!><time="10:53:07.120+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Expand a string: cscript.exe "%SCRIPTROOT%\LTISysprep.wsf"]LOG]!><time="10:53:07.120+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:782">
    <![LOG[Expand a string: ]LOG]!><time="10:53:07.120+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:782">
    <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="10:53:07.120+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="commandline.cpp:229">
    <![LOG[Set command line: cscript.exe "%SCRIPTROOT%\LTISysprep.wsf"]LOG]!><time="10:53:07.120+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="commandline.cpp:707">
    <![LOG[Start executing the command line: cscript.exe "%SCRIPTROOT%\LTISysprep.wsf"]LOG]!><time="10:53:07.120+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:2928">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="10:53:07.120+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:2957">
    <![LOG[Expand a string: ]LOG]!><time="10:53:07.120+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:782">
    <![LOG[Executing command line: cscript.exe "%SCRIPTROOT%\LTISysprep.wsf"]LOG]!><time="10:53:07.120+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="commandline.cpp:805">
    <![LOG[Process completed with exit code 6191]LOG]!><time="10:53:11.956+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="commandline.cpp:1102">
    <![LOG[!--------------------------------------------------------------------------------------------!]LOG]!><time="10:53:11.956+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="instruction.cxx:3010">
    <![LOG[Failed to run the action: Execute Sysprep.
    Unknown error (Error: 0000182F; Source: Unknown)]LOG]!><time="10:53:12.003+300" date="02-16-2010" component="TSManager" context="" type="3" thread="2456" file="instruction.cxx:3101">
    <![LOG[Sending status message . . .]LOG]!><time="10:53:12.003+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="utility.cxx:292">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="10:53:12.003+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="utility.cxx:302">
    <![LOG[Set a global environment variable _SMSTSLastActionRetCode=6191]LOG]!><time="10:53:12.003+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Set a global environment variable _SMSTSLastActionSucceeded=false]LOG]!><time="10:53:12.003+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:668">
    <![LOG[Clear local default environment]LOG]!><time="10:53:12.003+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="executionenv.cxx:807">
    <![LOG[Let the parent group (Capture Image) decides whether to continue execution]LOG]!><time="10:53:12.018+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="instruction.cxx:3210">
    <![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="10:53:12.034+300" date="02-16-2010" component="TSManager" context="" type="3" thread="2456" file="instruction.cxx:2424">
    <![LOG[Failed to run the last action: Execute Sysprep. Execution of task sequence failed.
    Unknown error (Error: 0000182F; Source: Unknown)]LOG]!><time="10:53:12.034+300" date="02-16-2010" component="TSManager" context="" type="3" thread="2456" file="engine.cxx:214">
    <![LOG[Sending status message . . .]LOG]!><time="10:53:12.034+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="utility.cxx:292">
    <![LOG[Executing in non SMS standalone mode. Ignoring send a task execution status message request]LOG]!><time="10:53:12.034+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="utility.cxx:302">
    <![LOG[Execution::enExecutionFail != m_eExecutionResult, HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmanager\tsmanager.cpp,762)]LOG]!><time="10:53:12.034+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="tsmanager.cpp:762">
    <![LOG[Task Sequence Engine failed! Code: enExecutionFail]LOG]!><time="10:53:12.034+300" date="02-16-2010" component="TSManager" context="" type="3" thread="2456" file="tsmanager.cpp:762">
    <![LOG[****************************************************************************]LOG]!><time="10:53:12.034+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="tsmanager.cpp:784">
    <![LOG[Task sequence execution failed with error code 80004005]LOG]!><time="10:53:12.034+300" date="02-16-2010" component="TSManager" context="" type="3" thread="2456" file="tsmanager.cpp:785">
    <![LOG[Cleaning Up. Removing Authenticator]LOG]!><time="10:53:12.034+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="tsmanager.cpp:578">
    <![LOG[Cleaning up task sequence folder]LOG]!><time="10:53:12.050+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="utils.cpp:1404">
    <![LOG[DeleteFileW(sVolumeIDFile.c_str()), HRESULT=80070002 (e:\nts_sms_fre\sms\framework\tscore\resolvesource.cpp,513)]LOG]!><time="10:53:12.081+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="resolvesource.cpp:513">
    <![LOG[Successfully unregistered Task Sequencing Environment COM Interface.]LOG]!><time="10:53:12.096+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="environmentlib.cpp:855">
    <![LOG[Command line for extension .exe is "%1" %*]LOG]!><time="10:53:12.096+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="commandline.cpp:229">
    <![LOG[Set command line: "C:\MININT\Tools\X86\TsProgressUI.exe" /Unregister]LOG]!><time="10:53:12.096+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="commandline.cpp:707">
    <![LOG[Executing command line: "C:\MININT\Tools\X86\TsProgressUI.exe" /Unregister]LOG]!><time="10:53:12.096+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="commandline.cpp:805">
    <![LOG[==========[ TsProgressUI started in process 1240 ]==========]LOG]!><time="10:53:12.096+300" date="02-16-2010" component="TsProgressUI" context="" type="1" thread="1256" file="winmain.cpp:327">
    <![LOG[Command line: "C:\MININT\Tools\X86\TsProgressUI.exe" /Unregister]LOG]!><time="10:53:12.096+300" date="02-16-2010" component="TsProgressUI" context="" type="0" thread="1256" file="winmain.cpp:330">
    <![LOG[Unregistering COM classes]LOG]!><time="10:53:12.096+300" date="02-16-2010" component="TsProgressUI" context="" type="1" thread="1256" file="winmain.cpp:202">
    <![LOG[Unregistering class objects]LOG]!><time="10:53:12.096+300" date="02-16-2010" component="TsProgressUI" context="" type="1" thread="1256" file="winmain.cpp:503">
    <![LOG[Shutdown complete.]LOG]!><time="10:53:12.096+300" date="02-16-2010" component="TsProgressUI" context="" type="1" thread="1256" file="winmain.cpp:520">
    <![LOG[Process completed with exit code 0]LOG]!><time="10:53:12.096+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="commandline.cpp:1102">
    <![LOG[Successfully unregistered TS Progress UI.]LOG]!><time="10:53:12.096+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="utils.cpp:1963">
    <![LOG[g_TSManager.Run(), HRESULT=80004005 (e:\nts_sms_fre\sms\client\tasksequence\tsmanager\tsmanager.cpp,654)]LOG]!><time="10:53:12.096+300" date="02-16-2010" component="TSManager" context="" type="0" thread="2456" file="tsmanager.cpp:654">
    <![LOG[Error Task Sequence Manager failed to execute task sequence. Code 0x80004005]LOG]!><time="10:53:12.112+300" date="02-16-2010" component="TSManager" context="" type="3" thread="2456" file="tsmanager.cpp:684">
    <![LOG[Sending error status message]LOG]!><time="10:53:12.112+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="tsmanager.cpp:685">
    <![LOG[In non SMS staqndalone mode.Ignoring SendStatusMessage request]LOG]!><time="10:53:12.112+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="tsmanager.cpp:1536">
    <![LOG[Finalizing logging from process 2464]LOG]!><time="10:53:12.112+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="tslogging.cpp:1736">
    <![LOG[LOGGING: Setting log directory to "C:\Users\ADMINI~1\AppData\Local\Temp\".]LOG]!><time="10:53:12.112+300" date="02-16-2010" component="TSManager" context="" type="1" thread="2456" file="tslogging.cpp:1803">
    <![LOG[Process completed with exit code 2147500037]LOG]!><time="10:53:12.112+300" date="02-16-2010" component="TSMBootstrap" context="" type="1" thread="2504" file="commandline.cpp:1102">
    <![LOG[Exiting with return code 0x80004005]LOG]!><time="10:53:12.112+300" date="02-16-2010" component="TSMBootstrap" context="" type="1" thread="2504" file="tsmbootstrap.cpp:1117">

    2010年2月16日 下午 04:10
  • I also just tried disabling this step in the "Sysprep and Capture" Task Sequence and I still get the same result.  I even marked the checkbox to continue on error.  (I remembered to Update Deployment Share after making adjustments to the Task Sequence.)

    I've had the "BuildMassStorageSection=NO" in [Sysprep] for the local reference computer's sysprep.inf for some time now.  But that, also, doesn't seem to help.
    2010年2月17日 下午 05:13
  • Out of curiosity, have you tried running sysprep manually? Does it error out, simply disappear, etc.?
    2010年2月17日 下午 07:19
  • I have.  And it does seem to complete properly...does it's whole generalize and wipes out SIDs, etc.  Not something I really want to repeat, as I have the reference computer just the way a want it.  I guess it's not a big deal to go back and put the computer name and all of that back in.  Still, I've not seen any problems or errors running Sysprep manually.
    2010年2月17日 下午 09:11
  • Let me just ask is this a Windows 7 image?  If so then sysprep.inf has nothing to do with the problem and you have been on a wild goose chase.

    If this is a Windows 7 image then look in the sysprep log files in the Windows\System32\panther directory

    Tim Mintner Principal Consultant Xtreme Consulting Group http://deployment.xtremeconsulting.com
    2010年2月18日 下午 05:08
    版主
  • The searches that I performed on Google and here lead me to the "goose chase" that you speak of.  I thought that the results I was getting might be a little off as many of the threads indicated Windows 2000 or XP.

    I just dumped the logs, and generated brand new "clean" ones.  Here is what I've got:

    C:\Windows\System32\sysprep\Panther\setupact.log on reference computer
    ----------------------------------------------------------------------------------------

    2010-02-18 16:57:38, Info                  SYSPRP ========================================================
    2010-02-18 16:57:38, Info                  SYSPRP ===          Beginning of a new sysprep run          ===
    2010-02-18 16:57:38, Info                  SYSPRP ========================================================
    2010-02-18 16:57:38, Info       [0x0f004d] SYSPRP The time is now 2010-02-18 16:57:38
    2010-02-18 16:57:38, Info       [0x0f004e] SYSPRP Initialized SysPrep log at C:\Windows\system32\sysprep\Panther
    2010-02-18 16:57:38, Info       [0x0f0054] SYSPRP ValidateUser:User has required privileges to sysprep machine
    2010-02-18 16:57:38, Info       [0x0f007e] SYSPRP FCreateTagFile:Tag file C:\Windows\system32\sysprep\Sysprep_succeeded.tag does not already exist, no need to delete anything
    2010-02-18 16:57:38, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'QUIET'
    2010-02-18 16:57:38, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'GENERALIZE'
    2010-02-18 16:57:38, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'OOBE'
    2010-02-18 16:57:38, Info       [0x0f005f] SYSPRP ParseCommands:Found supported command line option 'QUIT'
    2010-02-18 16:57:38, Info       [0x0f004a] SYSPRP WaitThread:Entering spawned waiting thread
    2010-02-18 16:57:38, Info                         [sysprep.exe] UnattendSearchExplicitPath: Found unattend file at [C:\Windows\Panther\unattend.xml]; examining for applicability.
    2010-02-18 16:57:38, Info                         [sysprep.exe] UnattendSearchExplicitPath: Found already-processed unattend file for pass [generalize] at [C:\Windows\Panther\unattend.xml]; skipping...
    2010-02-18 16:57:38, Info                         [sysprep.exe] UnattendSearchExplicitPath: [C:\Windows\Panther\unattend.xml] does not meet criteria to be used for this unattend pass.
    2010-02-18 16:57:38, Info                         [sysprep.exe] UnattendSearchExplicitPath: Found unattend file at [C:\Windows\system32\sysprep\unattend.xml]; examining for applicability.
    2010-02-18 16:57:38, Info                         [sysprep.exe] UnattendSearchExplicitPath: Found usable unattend file for pass [generalize] at [C:\Windows\system32\sysprep\unattend.xml].
    2010-02-18 16:57:38, Info                  SYSPRP SysprepSearchForUnattend: Using unattend file at [C:\Windows\system32\sysprep\unattend.xml].
    2010-02-18 16:57:39, Info                  SYSPRP SysprepSearchForUnattend: [generalize] pass in unattend file [C:\Windows\system32\sysprep\unattend.xml] either doesn't exist or passed validation
    2010-02-18 16:57:39, Info                  SYSPRP WinMain:Found unattend file at [C:\Windows\system32\sysprep\unattend.xml]; caching...
    2010-02-18 16:57:39, Info                  SYSPRP WinMain:Processing unattend file's 'generalize' pass...
    2010-02-18 16:57:39, Info                  SYSPRP Sysprep is running a generalize pass with the following unattend file: [%windir%\panther\unattend.xml]
    2010-02-18 16:57:39, Info                  CSI    00000001@2010/2/18:21:57:39.165 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x69f5d85e @0x69e5e2d6 @0x69e70018 @0x69e4adf1 @0x69e4a984 @0x51eedf)
    2010-02-18 16:57:39, Info                         [sysprep.exe] [Action Queue] : GenerateActionQueue begin
    2010-02-18 16:57:39, Info                         [sysprep.exe] [Action Queue] : Processing pass = generalize
    2010-02-18 16:57:39, Info                         [sysprep.exe] [Action Queue] : Generating queue file to C:\Windows\panther\actionqueue\generalize.uaq
    2010-02-18 16:57:39, Info                         [sysprep.exe] [Action Queue] : Identity 0: Microsoft-Windows-Shell-Setup, Culture=neutral, Version=6.1.7600.16385, PublicKeyToken=31bf3856ad364e35, ProcessorArchitecture=x86, versionScope=NonSxS
    2010-02-18 16:57:39, Info                         [sysprep.exe] [Action Queue] : Using component order file C:\Windows\winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.1.7600.16385_none_0935b76c289e0fd5\GlobalInstallOrder.xml
    2010-02-18 16:57:39, Info                  CSI    00000001@2010/2/18:21:57:39.258 WcpInitialize (wcp.dll version 0.0.0.6) called (stack @0x69f5d85e @0x6b48ec4d @0x6b48ecfd @0x6b48e144 @0x6b48ea4b @0x51ecdc)
    2010-02-18 16:57:39, Info                         [sysprep.exe] [Action Queue] : Found manifest file C:\Windows\Winsxs\Manifests\x86_microsoft-windows-shell-setup_31bf3856ad364e35_6.1.7600.16385_none_d23128cf4af3c40d.manifest
    2010-02-18 16:57:39, Info                         [sysprep.exe] [Action Queue] : GenerateActionQueue finish (hr = 0x0)
    2010-02-18 16:57:39, Info                         [sysprep.exe] [Action Queue] : ProcessActionQueue start
    2010-02-18 16:57:39, Info                         [sysprep.exe] [Action Queue] : ProcessActionQueue using queue file C:\Windows\panther\actionqueue\generalize.uaq
    2010-02-18 16:57:39, Info                         [sysprep.exe] [Action Queue] : ProcessActionQueue finish (hr = 0x0)
    2010-02-18 16:57:40, Info                  SYSPRP RunUnattendGeneralizePass: Sysprep unattend generalize pass exits; hr = 0x0, hrResult = 0x0, bRebootRequired = 0x0
    2010-02-18 16:57:40, Info       [0x0f00ac] SYSPRP WinMain:Processing 'cleanup' external provider request.
    2010-02-18 16:57:40, Error      [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 31
    2010-02-18 16:57:40, Error      [0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007001f
    2010-02-18 16:57:40, Info       [0x0f004c] SYSPRP WaitThread:Exiting spawned waiting thread
    2010-02-18 16:57:40, Info       [0x0f0052] SYSPRP Shutting down SysPrep log
    2010-02-18 16:57:40, Info       [0x0f004d] SYSPRP The time is now 2010-02-18 16:57:40



    C:\Windows\System32\sysprep\Panther\setuperr.log on reference computer
    ----------------------------------------------------------------------------------------

    2010-02-18 16:57:40, Error      [0x0f0073] SYSPRP RunExternalDlls:Not running DLLs; either the machine is in an invalid state or we couldn't update the recorded state, dwRet = 31
    2010-02-18 16:57:40, Error      [0x0f00ae] SYSPRP WinMain:Hit failure while processing sysprep cleanup external providers; hr = 0x8007001f


    Let me know if diagerr.xml or diagwrn.xml are helpful.
    2010年2月18日 下午 10:06
  • Hot damn!  I just got it to work!!  In case you are receiving the same "CloneTag" error trying to Sysprep and Capture, try this:

    On your Windows 7 reference PC, open the registry editor.  Navigate to HKLM\system\setup.  Look for a multi-string value called "CloneTag".  I'm guessing it's not there.

    Add a new multi-string value, name it "CloneTag".  The actual value is not important.  I'm not sure if case on the name is important, so I mimicked what the error suggested.

    Export the HKLM\system\setup key and save to a .reg file.

    Edit the .reg file, and remove all other entries except for the CloneTag value.

    Run the cscript to launch the Task Sequence selector.  Select your Sysprep and Capture Task Sequence.  Enter your credentials, and go.

    When it gets to the part where it is executing sysprep, run your .reg file to quickly import the CloneTag multi-string value.  If you see it proceed to PE, then you should be in the clear.


    W00t!!  :)
    2010年2月19日 下午 08:55
  • Okay, I may have spoken too soon.  The image was successfully captured, but I ended with at yellow dialog pane, and that same LTI error code.  I'm importing the image now to see if it will deploy successfully...
    2010年2月19日 下午 09:17
  • The sysprep logs helped!  The return code you got from the sysprep failure is basically due to a Windows Update or Driver installation problem.  By any chance is Windows Update running on the system during the installation process?  Try setting ProtectMyPC = 3 in the unattend.xml file to make sure that Windows Update isn't trying to update while you are trying to sysprep.
    Tim Mintner Principal Consultant Xtreme Consulting Group http://deployment.xtremeconsulting.com
    2010年2月19日 下午 09:30
    版主
  • I'll have to check that.  Based on our domain GPOs, we do turn Windows Update on and point to our WSUS.  Does that impact the CloneTag registry value throughout the Task Sequence, though?  Cause the CloneTag hack absolutely worked!

    I just deployed my custom image!  With my customized profile, Office 2007, and everything!  Thank you everyone for the feedback!  Tim, I will still check on that ProtectMyPC value...thank you!
    2010年2月19日 下午 10:18
  • Great.  Glad it is working for you!
    Tim Mintner Principal Consultant Xtreme Consulting Group http://deployment.xtremeconsulting.com
    2010年2月19日 下午 10:38
    版主
  • Exactly how do you do this?  I exported the key and saved it as a .reg file on my desktop.  I get error messages when I try to import it back in saying it's not the right type of file...but it is.

     

    How are you running this file?  Just by double clicking on it? 

     

    Thanks.

     

     

    2010年7月6日 下午 06:35
  • Hi Tim,

    I tried the method you and Chris recommended and neither worked for me.  However, I read somewhere else and followed the method below without any problems.

    1. Go to the Scripts folder in your DS box
    2. Create a backup of the LTISysprep file somewhere on your desktop so you'll have a copy if something goes awry
    3. Open the LTISysprep file with Notepad
    4. Remove the oShell.RegDelete  "HKEY_LOCAL_MACHINE\System\Setup\CloneTag" line
    5. Close and save the file
    6. Update your Deployment Share
    7. Proceed to capture the image by logging into the reference computer and running the LiteTouch script on your DS machine

    This method worked for me and hopefully it will work for others.

    • 已提議為解答 Frank Trout 2011年3月22日 上午 03:06
    • 已取消提議為解答 Frank Trout 2011年3月22日 上午 03:06
    • 已提議為解答 Ryan_F 2012年4月20日 下午 06:36
    2010年10月29日 下午 11:00
  • Changing the registry worked for me! Thanks!!!
    2011年1月6日 下午 01:22
  • This failure happened due to the registry key CloneTag under HKLM\SYSTEM\Setup is deleted during the start of the sysprep. There are few ways to counter this failure:
    1. Go to your sysprep and capturing task sequence, Execute Sysprep, Options tab, Add, Registry Setting. Enter SYSTEM\Setup in the key box, and enter CloneTag in the value name box and leave the value box blank. This whole step is to add the registry key back to HKLM\SYSTEM\Setup after the sysprep completed
    2. (Same as the fix suggested by Jimmy Lam-My) You can also modify the script to prevent the registry key from being deleted. Go to your deploymentshare folder and look for a script named LITSysprep inside the scripts folder. Right click, edit to do modification in the script. You can either remove the oShell.RegDelete "HKEY_LOCAL_MACHINE\System\Setup\CloneTag" or you might want to add .// infront to turn it into a comment.

     

    Both ways stated above can resolve the failure occur during sysprep and capturing. This topic also discussed in technet forum, and here's the link.

    • 已提議為解答 Frank Trout 2012年6月3日 下午 11:01
    2011年2月17日 下午 11:03
  • The best solution I have come up with is to reinstall the operating system, make the changes you need for that image, and then run sysprep and capture. I have read that creating the CloneTag within the registry works, but I tried it and haven't had success. I think the reason this happened for me was that I tried to run sysprep and capture, but canceled it, and then tried to run it again later.
    2012年3月17日 下午 11:04
  • Hi Johan / Frank / Jimmy ....I had the same issue and I followed Frank's post and commented in LTISysprep.wsf like this....and also disabled the "Add mass storage drivers to sysprep.inf for XP and 2003" as well...

    '//oShell.RegDelete "HKEY_LOCAL_MACHINE\System\Setup\CloneTag"

    '//aCloneTag = empty
    '//On Error Resume Next
    '//aCloneTag = oShell.RegRead("HKEY_LOCAL_MACHINE\System\Setup\CloneTag")
    '//TestAndFail not IsEmpty(aCloneTag),6191, "Test for CloneTag in registry to verify Sysprep completed."
    '//oLogging.CreateEntry "Contents of CloneTag(0): " & aCloneTag(0), LogTypeInfo
    '//On Error Goto 0

    I got the image, I will be testing the image...but also would like to know that if there will be any issues in that image...please let me know...


    VT

    2012年6月15日 上午 04:37
  • If you need to change that script it means something is broken in your reference image. I would rather fix the real issue than doing unsupported hacks.

    The most common reason for sysprep breaking is antivirus software in the reference image...

    / Johan


    Regards / Johan Arwidmark Twitter: @jarwidmark Blog: http://www.deploymentresearch.com FB: www.facebook.com/deploymentresearch

    • 已提議為解答 mywindows 2012年6月19日 下午 08:35
    2012年6月18日 上午 06:30
    版主
  • Thanks Johan for your feedback....got another working image...Yes, I had MS Forefront Endpoint protection on that system.

    VT


    • 已編輯 mywindows 2012年6月19日 下午 08:35 added
    2012年6月19日 下午 08:34