locked
Offline User State Capture Failed RRS feed

  • Question

  • We are testing offline user state capture using MDT 2012 Update 1.All clients are running Windows 7 SP1

    I add following properties to the Custom.ini

    DeploymentType=REFRESH
    USMTOfflineMigration=TRUE

    When I boot client running Windows 7 from PXE and it will running failed on Offline User State Capture task step.

    USMT return  code=11,"The /targetWindows7 option is only available for Windows XP,Windows Vista,and Windows 7" error message was logged on USMTCapture.log.

    The log file contains no other information even when I set scanstate argument to /v:13,Could anyone help to work out this case?

    2013-12-12 15:55:50, Info                  [0x000000] SCANSTATE.EXE Version 6.2.9200.16384[gle=0x000000b7]
    2013-12-12 15:55:50, Info                  [0x000000] USMT Started at 2013/12/12:15:55:50.295
    2013-12-12 15:55:50, Info                  [0x000000] Command line: C:\MININT\USMT\X86\scanstate.exe C:\StateStore /v:13 /c /o /i:C:\MININT\USMT\X86\MigApp.xml /i:C:\MININT\USMT\X86\MigDocsC.xml /config:C:\MININT\USMT\X86\ZTIUserState_Config.xml /targetWindows7 /hardlink /efs:hardlink /nocompress /l:C:\MININT\SMSOSD\OSDLOGS\USMTcapture.log /progress:C:\MININT\SMSOSD\OSDLOGS\USMTcapture.prg /offlineWinDir:C:\Windows
    2013-12-12 15:55:50, Status                [0x000000] Activity: 'MIGACTIVITY_COMMAND_LINE_PROCESSING'
    2013-12-12 15:55:50, Status                [0x000000] Activity: 'MIGACTIVITY_AUTO_GENERATE_OFFLINE_VERSION'
    2013-12-12 15:55:51, Info                  [0x000000] Failed.[gle=0x00000006]
    2013-12-12 15:55:51, Info                  [0x000000]   An error occurred processing the command line.
      The /targetWindows7 option is only available for Windows XP, Windows Vista and Windows 7[gle=0x00000006]
    2013-12-12 15:55:51, Info                  [0x000000] USMT Completed at 2013/12/12:15:55:51.463[gle=0x00000006]
    2013-12-12 15:55:51, Info                  [0x000000] Entering MigShutdown method
    2013-12-12 15:55:51, Info                  [0x000000] Leaving MigShutdown method
    2013-12-12 15:55:51, Info                  [0x000000] ----------------------------------- USMT ERROR SUMMARY -----------------------------------[gle=0x00000006]
    2013-12-12 15:55:51, Info                  [0x000000] * USMT error code 11: [gle=0x00000006]
    2013-12-12 15:55:51, Info                  [0x000000] +-----------------------------------------------------------------------------------------[gle=0x00000006]
    2013-12-12 15:55:51, Info                  [0x000000] | An error occurred processing the command line.[gle=0x00000006]
    2013-12-12 15:55:51, Info                  [0x000000] | The /targetWindows7 option is only available for Windows XP, Windows Vista and Windows 7[gle=0x00000006]
    2013-12-12 15:55:51, Info                  [0x000000] +-----------------------------------------------------------------------------------------[gle=0x00000006]

    The ZTIUserState.log:

    <![LOG[Property capture is now = ]LOG]!><time="15:55:42.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Microsoft Deployment Toolkit version: 6.1.2373.0]LOG]!><time="15:55:42.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[The task sequencer log is located at X:\WINDOWS\TEMP\SMSTSLog\SMSTS.LOG.  For task sequence failures, please consult this log.]LOG]!><time="15:55:42.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Write all logging text to <time="15:55:42.000+000">\\sh-mdt-01.taomee-ex.com\deploylogs$\DynamicLogs\MININT-UFN5PDD]LOG]!><time="15:55:42.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Already connected to server sh-mdt-01.taomee-ex.com as that is where this script is running from.]LOG]!><time="15:55:42.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Unable to yield a target Partition (Special Recovery option for Litetouch).]LOG]!><time="15:55:42.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[There is only one disk, so assume that this is the Destination disk.]LOG]!><time="15:55:42.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[New ZTIDisk : <time="15:55:43.000+000">\\MININT-UFN5PDD\root\cimv2:Win32_DiskDrive.DeviceID="\\\\.\\PHYSICALDRIVE0"]LOG]!><time="15:55:43.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Found Possible OS TargetDisk: <time="15:55:43.000+000">\\MININT-UFN5PDD\root\cimv2:Win32_DiskDrive.DeviceID="\\\\.\\PHYSICALDRIVE0"]LOG]!><time="15:55:43.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[GetPartitions: 3]LOG]!><time="15:55:43.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Found Possible OS Target Partition: \\MININT-UFN5PDD\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #0"]LOG]!><time="15:55:43.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[New ZTIDiskPartition : \\MININT-UFN5PDD\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #0"    <time="15:55:43.000+000">\\MININT-UFN5PDD\root\cimv2:Win32_LogicalDisk.DeviceID="C:"]LOG]!><time="15:55:43.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Found Drive: C:]LOG]!><time="15:55:43.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Found Possible OS Target Partition: \\MININT-UFN5PDD\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #1"]LOG]!><time="15:55:43.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[New ZTIDiskPartition : \\MININT-UFN5PDD\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #1"    <time="15:55:43.000+000">\\MININT-UFN5PDD\root\cimv2:Win32_LogicalDisk.DeviceID="D:"]LOG]!><time="15:55:43.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Found More than one candidate OS TargetDisk: \\MININT-UFN5PDD\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #1"]LOG]!><time="15:55:43.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Found Possible OS Target Partition: \\MININT-UFN5PDD\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #2"]LOG]!><time="15:55:43.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[New ZTIDiskPartition : \\MININT-UFN5PDD\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #2"    <time="15:55:43.000+000">\\MININT-UFN5PDD\root\cimv2:Win32_LogicalDisk.DeviceID="E:"]LOG]!><time="15:55:43.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Found More than one candidate OS TargetDisk: \\MININT-UFN5PDD\root\cimv2:Win32_DiskPartition.DeviceID="Disk #0, Partition #2"]LOG]!><time="15:55:44.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Found FirstPossibleSystemDrive: C:]LOG]!><time="15:55:44.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Property OSDTargetDriveCache is now = C:]LOG]!><time="15:55:44.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Property OSDisk is now = C:]LOG]!><time="15:55:44.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Set the Tag variable: TargetPartitionIdentifier]LOG]!><time="15:55:44.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Property TargetPartitionIdentifier is now = ]LOG]!><time="15:55:44.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Property TargetPartitionIdentifier is now = SELECT * FROM Win32_LogicalDisk WHERE Size = '104857595904' and VolumeName = 'OSDisk' and VolumeSerialNumber = '98A43285']LOG]!><time="15:55:44.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Checking for USMT Files in \\SH-MDT-01.taomee-ex.com\DeploymentShare$\Tools\X86\USMT5" "C:\MININT\USMT\X86" 1>> C:\MININT\SMSOSD\OSDLOGS\ZTIUserState_xcopy.log 2>>&1 ]LOG]!><time="15:55:45.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Command has been started (process ID 2032)]LOG]!><time="15:55:45.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[ZTI Heartbeat: command has been running for 0 minutes (process ID 2032)]LOG]!><time="15:55:45.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Event 41003 sent: ZTI Heartbeat: command has been running for 0 minutes (process ID 2032)]LOG]!><time="15:55:46.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Return code from command = 0]LOG]!><time="15:55:49.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Migration XML file C:\MININT\USMT\X86\MigApp.xml is already present and up to date.]LOG]!><time="15:55:49.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Migration XML file C:\MININT\USMT\X86\MigDocsC.xml is already present and up to date.]LOG]!><time="15:55:49.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Copying \\SH-MDT-01.taomee-ex.com\DeploymentShare$\Scripts\ZTIUserState_Config.xml to local install directory C:\MININT\USMT\X86]LOG]!><time="15:55:49.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Base arguments: /v:13 /c /o  /i:"C:\MININT\USMT\X86\MigApp.xml" /i:"C:\MININT\USMT\X86\MigDocsC.xml" /config:"C:\MININT\USMT\X86\ZTIUserState_Config.xml"]LOG]!><time="15:55:49.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Property OSDWinPEWinDir is now = C:\Windows]LOG]!><time="15:55:49.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[User state will be captured from drive C]LOG]!><time="15:55:49.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Property OSDStateStorePath is now = C:\StateStore]LOG]!><time="15:55:49.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Special Case for USMT 5.0 scanstate for Windows 7 Target. /targetWindows7]LOG]!><time="15:55:49.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[------ Performing State Capture ------]LOG]!><time="15:55:50.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[USMT log file: C:\MININT\SMSOSD\OSDLOGS\USMTcapture.log]LOG]!><time="15:55:50.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[USMT progress file: C:\MININT\SMSOSD\OSDLOGS\USMTcapture.prg]LOG]!><time="15:55:50.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[ScanState arguments: "C:\StateStore" /v:13 /c /o  /i:"C:\MININT\USMT\X86\MigApp.xml" /i:"C:\MININT\USMT\X86\MigDocsC.xml" /config:"C:\MININT\USMT\X86\ZTIUserState_Config.xml" /targetWindows7 /hardlink /efs:hardlink /nocompress /l:C:\MININT\SMSOSD\OSDLOGS\USMTcapture.log /progress:C:\MININT\SMSOSD\OSDLOGS\USMTcapture.prg /offlineWinDir:C:\Windows]LOG]!><time="15:55:50.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[ZTI Beginning user state capture]LOG]!><time="15:55:50.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Event 41004 sent: ZTI Beginning user state capture]LOG]!><time="15:55:50.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[About to run command: cmd /c ""C:\MININT\USMT\X86\scanstate.exe" "C:\StateStore" /v:13 /c /o  /i:"C:\MININT\USMT\X86\MigApp.xml" /i:"C:\MININT\USMT\X86\MigDocsC.xml" /config:"C:\MININT\USMT\X86\ZTIUserState_Config.xml" /targetWindows7 /hardlink /efs:hardlink /nocompress /l:C:\MININT\SMSOSD\OSDLOGS\USMTcapture.log /progress:C:\MININT\SMSOSD\OSDLOGS\USMTcapture.prg /offlineWinDir:C:\Windows > nul 2>&1"]LOG]!><time="15:55:50.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[Return code from command = 11]LOG]!><time="15:55:52.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[ZTI ERROR - Non-zero return code from Scanstate, RC = 11]LOG]!><time="15:55:52.000+000" date="12-12-2013" component="ZTIUserState" context="" type="3" thread="" file="ZTIUserState">
    <![LOG[Event 41006 sent: ZTI ERROR - Non-zero return code from Scanstate, RC = 11]LOG]!><time="15:55:52.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">
    <![LOG[FAILURE ( 9707 ): Non-zero return code from USMT capture, rc = 11]LOG]!><time="15:55:52.000+000" date="12-12-2013" component="ZTIUserState" context="" type="3" thread="" file="ZTIUserState">
    <![LOG[Event 41002 sent: FAILURE ( 9707 ): Non-zero return code from USMT capture, rc = 11]LOG]!><time="15:55:52.000+000" date="12-12-2013" component="ZTIUserState" context="" type="1" thread="" file="ZTIUserState">

    Thursday, December 12, 2013 9:19 AM

All replies