Hello,
I have a strange issue with USMT and my OSD Task Sequence. I'm upgrading Windows XP to Windows 7 Enterprise via in-place upgrade with SCCM 2012 SP1 integrated with MDT. My TS runs 100% perfectly if I deploy the TS to my collection, make it "Available," and run it from the Software Center. All configured profiles get copied and restored using hardlinks as expected.
When I create a "Required" deployment, however, and let it run on it's own, the USMT never runs and I lose all profile information as a result of the drive format. The rest of the TS runs as expected, but as I said, the USMT (scanstate.exe) won't run. There are no discernible errors in the SMSTS.log file. I see where it processes my TS variable (OSDMigrateAdditionalCaptureOptions) and where it processes the "Capture User State" step, but scanstate.exe never kicks off or creates a log file.
Am I missing something here? Is this expected behavior? I can't find documentation on this, at least not yet. I have reproduced this exact behavior three times now, and I'm out of ideas.
Snippet of log from working, "Available" deployment:
Parsing step node: Capture User StateTue 02/04/2014 9:09:06 AM260 (0x0104)Description: Tue 02/04/2014 9:09:06 AM260 (0x0104)
ContinueOnError: Tue 02/04/2014 9:09:06 AM260 (0x0104)
SuccessCodeList: 0Tue 02/04/2014 9:09:06 AM260 (0x0104)
(__hrMethodRetVal == ((HRESULT)0L)) || (bFailIfMissing == false), HRESULT=80070002 (e:\NTS_SCCM_RELEASE\sms\common\inc\ccmxml.h,582)Tue 02/04/2014 9:09:06 AM260 (0x0104)
No condition is associated with the step.Tue 02/04/2014 9:09:06 AM260 (0x0104)
Disable: Tue 02/04/2014 9:09:06 AM260 (0x0104)
Run in attribute: FullOSTue 02/04/2014 9:09:06 AM260 (0x0104)
Timeout: Tue 02/04/2014 9:09:06 AM260 (0x0104)
DefaultVarlist foundTue 02/04/2014 9:09:06 AM260 (0x0104)
Variable name: OSDMigrateContinueOnLockedFilesTue 02/04/2014 9:09:06 AM260 (0x0104)
Variable name: OSDMigrateEnableVerboseLoggingTue 02/04/2014 9:09:06 AM260 (0x0104)
Variable name: OSDMigrateFileAccessTue 02/04/2014 9:09:06 AM260 (0x0104)
Variable name: OSDMigrateModeTue 02/04/2014 9:09:06 AM260 (0x0104)
Variable name: _OSDMigrateOfflineUserStateTue 02/04/2014 9:09:06 AM260 (0x0104)
Variable name: OSDMigrateSkipEncryptedFilesTue 02/04/2014 9:09:06 AM260 (0x0104)
Variable name: _OSDMigrateUseHardlinksTue 02/04/2014 9:09:06 AM260 (0x0104)
Variable name: _OSDMigrateUsmtPackageIDTue 02/04/2014 9:09:06 AM260 (0x0104)
Action command line: osdmigrateuserstate.exe /collect /continueOnError:%OSDMigrateContinueOnLockedFiles% /skipefs:%OSDMigrateSkipEncryptedFiles%Tue 02/04/2014 9:09:06 AM260 (0x0104)
Adding instruction at 23Tue 02/04/2014 9:09:06 AM260 (0x0104)
***Shortly after the above step runs, the Scanstate.exe runs and creates a log file
Snippet from non-working, "Required" deployment:
Parsing step node: Set OSDMigrateAdditionalCaptureOptionsTue 02/04/2014 9:25:41 AM2024 (0x07E8)Description: Tue 02/04/2014 9:25:41 AM2024 (0x07E8)
ContinueOnError: Tue 02/04/2014 9:25:41 AM2024 (0x07E8)
SuccessCodeList: 0Tue 02/04/2014 9:25:41 AM2024 (0x07E8)
(__hrMethodRetVal == ((HRESULT)0L)) || (bFailIfMissing == false), HRESULT=80070002 (e:\NTS_SCCM_RELEASE\sms\common\inc\ccmxml.h,582)Tue 02/04/2014 9:25:41 AM2024 (0x07E8)
No condition is associated with the step.Tue 02/04/2014 9:25:41 AM2024 (0x07E8)
Disable: Tue 02/04/2014 9:25:41 AM2024 (0x07E8)
Run in attribute: WinPEandFullOSTue 02/04/2014 9:25:41 AM2024 (0x07E8)
Timeout: Tue 02/04/2014 9:25:41 AM2024 (0x07E8)
DefaultVarlist foundTue 02/04/2014 9:25:41 AM2024 (0x07E8)
No variables found in default variable listTue 02/04/2014 9:25:41 AM2024 (0x07E8)
Action command line: tsenv.exe "OSDMigrateAdditionalCaptureOptions=/uel:30 /ue:*"Tue 02/04/2014 9:25:41 AM2024 (0x07E8)
Adding instruction at 23Tue 02/04/2014 9:25:41 AM2024 (0x07E8)
Parsing step node: Capture User StateTue 02/04/2014 9:25:41 AM2024 (0x07E8)
Description: Tue 02/04/2014 9:25:41 AM2024 (0x07E8)
ContinueOnError: Tue 02/04/2014 9:25:41 AM2024 (0x07E8)
SuccessCodeList: 0Tue 02/04/2014 9:25:41 AM2024 (0x07E8)
(__hrMethodRetVal == ((HRESULT)0L)) || (bFailIfMissing == false), HRESULT=80070002 (e:\NTS_SCCM_RELEASE\sms\common\inc\ccmxml.h,582)Tue 02/04/2014 9:25:41 AM2024 (0x07E8)
No condition is associated with the step.Tue 02/04/2014 9:25:41 AM2024 (0x07E8)
Disable: Tue 02/04/2014 9:25:41 AM2024 (0x07E8)
Run in attribute: FullOSTue 02/04/2014 9:25:41 AM2024 (0x07E8)
Timeout: Tue 02/04/2014 9:25:41 AM2024 (0x07E8)
DefaultVarlist foundTue 02/04/2014 9:25:41 AM2024 (0x07E8)
Variable name: OSDMigrateContinueOnLockedFilesTue 02/04/2014 9:25:41 AM2024 (0x07E8)
Variable name: OSDMigrateEnableVerboseLoggingTue 02/04/2014 9:25:41 AM2024 (0x07E8)
Variable name: OSDMigrateFileAccessTue 02/04/2014 9:25:41 AM2024 (0x07E8)
Variable name: OSDMigrateModeTue 02/04/2014 9:25:41 AM2024 (0x07E8)
Variable name: _OSDMigrateOfflineUserStateTue 02/04/2014 9:25:41 AM2024 (0x07E8)
Variable name: OSDMigrateSkipEncryptedFilesTue 02/04/2014 9:25:41 AM2024 (0x07E8)
Variable name: _OSDMigrateUseHardlinksTue 02/04/2014 9:25:41 AM2024 (0x07E8)
Variable name: _OSDMigrateUsmtPackageIDTue 02/04/2014 9:25:41 AM2024 (0x07E8)
Action command line: osdmigrateuserstate.exe /collect /continueOnError:%OSDMigrateContinueOnLockedFiles% /skipefs:%OSDMigrateSkipEncryptedFiles%Tue 02/04/2014 9:25:41 AM2024 (0x07E8)
Adding instruction at 24Tue 02/04/2014 9:25:41 AM2024 (0x07E8)
Any thoughts or advice would be appreciated. This can be done using "Available," but having to log in to each machine in order to kick-off the TS via Software Center seems inefficient.