Hi All,
I have recently attempted to perform OSD using SCCM 2012. Bare metal deployments seem to be working fine, but now that I have tried to create a refresh task sequence using USMT 5 the TS fails during Scanstate.
From looking at the errors USMT is trying to load the MigSys.dll file from C:\_SMSTaskSequence\Packages\0010005A\MigSys.dll but that file is actually in C:\_SMSTaskSequence\Packages\0010005A\x86\MigSys.dll". I don't know why it knows to run scanstate.exe
from the proper architecture folder, but ignores that and looks for all of the other files at the root of the package id folder.
Here is the scanstate.log:
2013-07-18 13:31:42, Info [0x000000] SCANSTATE.EXE Version 6.2.9200.16384[gle=0x000000b7]
2013-07-18 13:31:42, Info [0x000000] USMT Started at 2013/07/18:13:31:42.569
2013-07-18 13:31:42, Info [0x000000] Command line: C:\_SMSTaskSequence\Packages\0010005A\x86\scanstate.exe
\\SMP\SMPSTOREE_35137197$\4198A4A7DB1F8C89ECD956761335080BCBF8CF8B9FF9666C94A498762FDBF164 /o /localonly /encrypt /keyfile:**** /efs:copyraw /c /l:C:\WINDOWS\CCM\Logs\SMSTSLog\scanstate.log /progress:C:\WINDOWS\CCM\Logs\SMSTSLog\scanstateprogress.log /i:C:\_SMSTaskSequence\Packages\0010005A\MigUser.xml
/i:C:\_SMSTaskSequence\Packages\0010005A\MigDocs.xml /i:C:\_SMSTaskSequence\Packages\0010005A\MigApp.xml /uel:30 /ue:*
2013-07-18 13:31:42, Info [0x000000] Script file specified: C:\_SMSTaskSequence\Packages\0010005A\MigUser.xml[gle=0x00000002]
2013-07-18 13:31:42, Info [0x000000] Script file specified: C:\_SMSTaskSequence\Packages\0010005A\MigDocs.xml[gle=0x00000002]
2013-07-18 13:31:42, Info [0x000000] Script file specified: C:\_SMSTaskSequence\Packages\0010005A\MigApp.xml[gle=0x00000002]
2013-07-18 13:31:42, Info [0x000000] Starting the migration process[gle=0x00000006]
2013-07-18 13:31:42, Warning [0x080404] AdjustPrivilege: LookupPrivilegeValue failed (Error:0x521)
2013-07-18 13:31:42, Warning [0x08040c] Failed to create SMI engine
2013-07-18 13:31:43, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:31:43, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 19)...
2013-07-18 13:31:49, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:31:49, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 18)...
2013-07-18 13:31:55, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:31:55, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 17)...
2013-07-18 13:32:01, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:32:01, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 16)...
2013-07-18 13:32:08, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:32:08, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 15)...
2013-07-18 13:32:14, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:32:14, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 14)...
2013-07-18 13:32:20, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:32:20, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 13)...
2013-07-18 13:32:26, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:32:26, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 12)...
2013-07-18 13:32:33, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:32:33, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 11)...
2013-07-18 13:32:39, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:32:39, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 10)...
2013-07-18 13:32:45, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:32:45, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 9)...
2013-07-18 13:32:51, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:32:51, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 8)...
2013-07-18 13:32:57, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:32:57, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 7)...
2013-07-18 13:33:04, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:33:04, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 6)...
2013-07-18 13:33:10, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:33:10, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 5)...
2013-07-18 13:33:16, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:33:16, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 4)...
2013-07-18 13:33:22, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:33:22, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 3)...
2013-07-18 13:33:28, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:33:28, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 2)...
2013-07-18 13:33:35, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:33:35, Warning [0x0803da] Waiting 6000 msec to retry hive load (tries remaining: 1)...
2013-07-18 13:33:41, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed (3)
2013-07-18 13:33:41, Warning [0x0803db] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4519,C:\Documents and Settings\rdailey\NTUSER.DAT)
failed; giving up (3)
2013-07-18 13:33:41, Warning [0x0809c0] Incomplete user profile detected and ignored:C:\Documents and Settings\rdailey. Error: 3. Subsequent missing profiles will be immediately
ignored.
2013-07-18 13:33:41, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4739,C:\Documents and Settings\tbramha\NTUSER.DAT)
failed (3)
2013-07-18 13:33:41, Warning [0x0803db] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-4739,C:\Documents and Settings\tbramha\NTUSER.DAT)
failed; giving up (3)
2013-07-18 13:33:41, Warning [0x0809c0] Incomplete user profile detected and ignored:C:\Documents and Settings\tbramha. Error: 3. Subsequent missing profiles will be immediately
ignored.
2013-07-18 13:33:41, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-5351,C:\Documents and Settings\tmorrow\NTUSER.DAT)
failed (3)
2013-07-18 13:33:41, Warning [0x0803db] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-5351,C:\Documents and Settings\tmorrow\NTUSER.DAT)
failed; giving up (3)
2013-07-18 13:33:41, Warning [0x0809c0] Incomplete user profile detected and ignored:C:\Documents and Settings\tmorrow. Error: 3. Subsequent missing profiles will be immediately
ignored.
2013-07-18 13:33:41, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-6572,C:\Documents and Settings\jburhan\NTUSER.DAT)
failed (3)
2013-07-18 13:33:41, Warning [0x0803db] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-6572,C:\Documents and Settings\jburhan\NTUSER.DAT)
failed; giving up (3)
2013-07-18 13:33:41, Warning [0x0809c0] Incomplete user profile detected and ignored:C:\Documents and Settings\jburhan. Error: 3. Subsequent missing profiles will be immediately
ignored.
2013-07-18 13:33:41, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-6688,C:\Documents and Settings\lmking\NTUSER.DAT) failed
(3)
2013-07-18 13:33:41, Warning [0x0803db] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-6688,C:\Documents and Settings\lmking\NTUSER.DAT) failed;
giving up (3)
2013-07-18 13:33:41, Warning [0x0809c0] Incomplete user profile detected and ignored:C:\Documents and Settings\lmking. Error: 3. Subsequent missing profiles will be immediately
ignored.
2013-07-18 13:33:41, Warning [0x0803d9] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-9658,C:\Documents and Settings\oresearcher\NTUSER.DAT)
failed (3)
2013-07-18 13:33:41, Warning [0x0803db] IndirectKeyMapper: RegLoadKey(HKEY_USERS,S-1-5-21-3399602010-199635127-1747905980-9658,C:\Documents and Settings\oresearcher\NTUSER.DAT)
failed; giving up (3)
2013-07-18 13:33:41, Warning [0x0809c0] Incomplete user profile detected and ignored:C:\Documents and Settings\oresearcher. Error: 3. Subsequent missing profiles will be immediately
ignored.
2013-07-18 13:33:50, Error [0x08055d] MXE Agent: Loading migration XML C:\_SMSTaskSequence\Packages\0010005A\MigApp.xml threw an exception.: Win32Exception: Failed
to load library "C:\_SMSTaskSequence\Packages\0010005A\MigSys.dll". Error: 0x0000007E: The specified module could not be found. [0x0000007E] void __thiscall Mig::CMXEScriptHandler::AddScriptFactory(class UnBCL::String *,class UnBCL::String *,int)
2013-07-18 13:33:50, Error [0x000000] EngineStartup caught exception: Win32Exception: Failed to load library "C:\_SMSTaskSequence\Packages\0010005A\MigSys.dll".
Error: 0x0000007E: The specified module could not be found. [0x0000007E] void __thiscall Mig::CMXEAgent::AddXmlFile(class UnBCL::String *)
void __thiscall Mig::CMXEScriptHandler::AddScriptFactory(class UnBCL::String *,class UnBCL::String *,int)
2013-07-18 13:33:50, Error [0x000000] Error while trying to start the migration process[gle=0x00000006]
2013-07-18 13:33:50, Warning [0x000000] Internal error 4 was translated to a generic error
2013-07-18 13:33:50, Info [0x000000] Failed.[gle=0x00000006]
2013-07-18 13:33:50, Info [0x000000] Software malfunction or Unknown exception[gle=0x00000006]
2013-07-18 13:33:50, Info [0x000000] USMT Completed at 2013/07/18:13:33:50.478[gle=0x00000006]
2013-07-18 13:33:50, Info [0x000000] ----------------------------------- USMT ERROR SUMMARY -----------------------------------[gle=0x00000006]
2013-07-18 13:33:50, Info [0x000000] * USMT error code 26: [gle=0x00000006]
2013-07-18 13:33:50, Info [0x000000] +-----------------------------------------------------------------------------------------[gle=0x00000006]
2013-07-18 13:33:50, Info [0x000000] | Software malfunction or Unknown exception, please check the following possible solutions:[gle=0x00000006]
2013-07-18 13:33:50, Info [0x000000] | - Check log for any errors found in loaded migxml files[gle=0x00000006]
2013-07-18 13:33:50, Info [0x000000] | - Verify config xml file is not loaded using /i[gle=0x00000006]
2013-07-18 13:33:50, Info [0x000000] | - If duplicate SID exists from temp profile – use environment variable or delete temp profile[gle=0x00000006]
2013-07-18 13:33:50, Info [0x000000] +-----------------------------------------------------------------------------------------[gle=0x00000006]