OK, I am trying to get my Task sequence running with WINPE user state capture, but I am having problems with USMT4/5... Tast sequence without user state backup is OK, but with user state backup it terminates with error code rc = 11. See below, ZTIUserState.log file..
Property OSDisk is now = C: ZTIUserState 10.12.2012 13:51:00 0 (0x0000)
Checking for USMT Files in \\server\deploy$\Tools\X64 ZTIUserState 10.12.2012 13:51:00 0 (0x0000)
Found USMT 5 executables. Using USMT 5 ZTIUserState 10.12.2012 13:51:00 0 (0x0000)
About to run command: cmd.exe /c xcopy /iesryhd "\\server\deploy$\Tools\X64\USMT5" "C:\MININT\USMT\X64" 1>> C:\MININT\SMSOSD\OSDLOGS\ZTIUserState_xcopy.log 2>>&1 ZTIUserState 10.12.2012
13:51:00 0 (0x0000)
Command has been started (process ID 1508) ZTIUserState 10.12.2012 13:51:00 0 (0x0000)
ZTI Heartbeat: command has been running for 0 minutes (process ID 1508) ZTIUserState 10.12.2012 13:51:01 0 (0x0000)
Event 41003 sent: ZTI Heartbeat: command has been running for 0 minutes (process ID 1508) ZTIUserState 10.12.2012 13:51:03 0 (0x0000)
Return code from command = 0 ZTIUserState 10.12.2012 13:51:05 0 (0x0000)
Migration XML file C:\MININT\USMT\X64\MigApp.xml is already present and up to date. ZTIUserState 10.12.2012 13:51:05 0 (0x0000)
Migration XML file C:\MININT\USMT\X64\Migdocs.xml is already present and up to date. ZTIUserState 10.12.2012 13:51:05 0 (0x0000)
Copying \\server\deploy$\Scripts\UDIOffline.xml to local install directory C:\MININT\USMT\X64 ZTIUserState 10.12.2012 13:51:05 0 (0x0000)
Copying \\server\deploy$\Scripts\ZTIUserState_Config.xml to local install directory C:\MININT\USMT\X64 ZTIUserState 10.12.2012 13:51:05 0 (0x0000)
Base arguments: /v:5 /c /o /i:"C:\MININT\USMT\X64\MigApp.xml" /i:"C:\MININT\USMT\X64\Migdocs.xml" /i:"C:\MININT\USMT\X64\UDIOffline.xml" /config:"C:\MININT\USMT\X64\ZTIUserState_Config.xml" ZTIUserState 10.12.2012 13:51:05 0 (0x0000)
Property OSDStateStorePath is now = C:\StateStore ZTIUserState 10.12.2012 13:51:05 0 (0x0000)
Special Case for USMT 5.0 scanstate for Windows 7 Target. /targetWindows7 ZTIUserState 10.12.2012 13:51:05 0 (0x0000)
------ Performing State Capture ------ ZTIUserState 10.12.2012 13:51:05 0 (0x0000)
USMT log file: C:\MININT\SMSOSD\OSDLOGS\USMTcapture.log ZTIUserState 10.12.2012 13:51:05 0 (0x0000)
USMT progress file: C:\MININT\SMSOSD\OSDLOGS\USMTcapture.prg ZTIUserState 10.12.2012 13:51:05 0 (0x0000)
ScanState arguments: "C:\StateStore" /v:5 /c /o /i:"C:\MININT\USMT\X64\MigApp.xml" /i:"C:\MININT\USMT\X64\Migdocs.xml" /i:"C:\MININT\USMT\X64\UDIOffline.xml" /config:"C:\MININT\USMT\X64\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 ZTIUserState 10.12.2012 13:51:05 0 (0x0000)
ZTI Beginning user state capture ZTIUserState 10.12.2012 13:51:05 0 (0x0000)
Event 41004 sent: ZTI Beginning user state capture ZTIUserState 10.12.2012 13:51:06 0 (0x0000)
About to run command: cmd /c ""C:\MININT\USMT\X64\scanstate.exe" "C:\StateStore" /v:5 /c /o /i:"C:\MININT\USMT\X64\MigApp.xml" /i:"C:\MININT\USMT\X64\Migdocs.xml" /i:"C:\MININT\USMT\X64\UDIOffline.xml" /config:"C:\MININT\USMT\X64\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" ZTIUserState 10.12.2012 13:51:06 0 (0x0000)
Return code from command = 11 ZTIUserState 10.12.2012 13:51:08 0 (0x0000)
ZTI ERROR - Non-zero return code from Scanstate, RC = 11 ZTIUserState 10.12.2012 13:51:08 0 (0x0000)
Event 41006 sent: ZTI ERROR - Non-zero return code from Scanstate, RC = 11 ZTIUserState 10.12.2012 13:51:08 0 (0x0000)
FAILURE ( 9707 ): Non-zero return code from USMT capture, rc = 11 ZTIUserState 10.12.2012 13:51:08 0 (0x0000)
Event 41002 sent: FAILURE ( 9707 ): Non-zero return code from USMT capture, rc = 11 ZTIUserState 10.12.2012 13:51:08 0 (0x0000)
Also Customsettings:
[Settings]
Priority=MMSettings, MMApps, Default
Properties=MyCustomProperty
[Default]
UserDataLocation=Network
UDShare=\\server\migdata$
UDDir=%OSDComputerName%
DeploymentType=REFRESH
EventService=http://server:9800
_SMSTSORGNAME=blabla
SLSHARE=\\server\instlogs$\
OSInstall=YES
SkipCapture=YES
SkipAdminPassword=YES
SkipProductKey=YES
SkipComputerName=NO
SkipComputerBackup=YES
ComputerBackupLocation=NONE
SkipBitLocker=YES
SkipAppsOnUpgrade=YES
SkipAdminPassword=YES
SkipProductKey=YES
SkipUserData=NO
SkipLocaleSelection=YES
TaskSequenceID=WIN7-OFFICE2010
SkipTimeZone=YES
SkipApplications=YES
SkipBitLocker=YES
SkipSummary=NO
SkipBDDWelcome=YES
SkipFinalSummary=NO
DoNotCreateExtraPartition=YES
JoinDomain=domain
DomainAdmin=deployuser
DomainAdminPassword=password
DomainAdminDomain=domain
I was expecting the USMT parameters to exclude hardlink parameters when running from network, is this assumption correct?
I have an old deployment share from MDT2010 that is not upgraded and still running, and the USMT parameters are the same, except /targetWindows7 parameter.. I have tried using USMT5 and USMT4, with no success.. Please guide me in the right direction, anyone!