Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

USMT 3.0 Error 31

Status
Not open for further replies.

mib147

MIS
Apr 11, 2003
148
US
I am using SMS 2003 OSD to deploy Vista. When performing a refresh scenario, the data gets backed up no problem. However, the restore phase ends with error 31. I know the .mig file is good because I can restore the data by running the loadstate.exe manually or even by double clicking the .mig file and running through the easy transfer wizard. Any ideas?



Info [0x000000] \\NWD2DEG2\E$\APPS\IMAGES\OSD\VISTA-RTM-RC\USMTLoad\loadstate.exe /v:13 /l:C:\MININT\SMSOSD\OSDLOGS\loadstate.log C:\MININT\SMSOSD\StateStore
Info [0x000000] 6.0.5860.5 (winmain(wmbla).061221-1313)
Info [0x000000] USMT logger started successfully.
Info [0x000000] Trying to get the OS version
Info [0x000000] Windows LH or above
Info [0x000000] Starting command line parsing.
Info [0x000000] Got 4 arguments
Info [0x000000] Token = v Argument= 13
Info [0x000000] Recieved Switch /v
Info [0x000000] Token = l Argument= C:\MININT\SMSOSD\OSDLOGS\loadstate.log
Info [0x000000] Recieved Switch /l
Info [0x000000] Token = Argument= C:\MININT\SMSOSD\StateStore
Info [0x000000] Command line parsing completed.
Info [0x000000] No Progress logs required.
Info [0x000000] Initializing AppData dir
Info [0x000000] Initializing Log dir
Info [0x000000] Starting directory creation
Info [0x000000] Working Dir:C:\Windows\TEMP\USMT\WorkingDir App Data Dir:\\NWD2DEG2\E$\APPS\IMAGES\OSD\VISTA-RTM-RC\USMTLoad\AppDataDir Log Dir:
Info [0x000000] USMT initialization completed.
Info [0x000000] Setting Script files
Info [0x000000] Getting Script files
Info [0x000000] Setting Files and Setting Agent = MXEAgent.dll;CSIAgent.dll
Info [0x000000] Migration Files = ''
Info [0x000000] Migration Agents = 'MXEAgent.dll;CSIAgent.dll'
Info [0x000000] Setting Store Path
Info [0x000000] Store path = C:\MININT\SMSOSD\StateStore\USMT3
Info [0x000000] Setting Compression
Info [0x000000] Setting Comression = TRUE
Info [0x000000] Setting encryption
Info [0x000000] Setting encryption to FALSE.
Info [0x000000] The target XP marker file does not exist.
Info [0x000000] Starting migration engine.
Info [0x000000] Entering MigStartUp method
Info [0x0803ac] Initializing online WinNT platform (Read/Write)
Info [0x080000] Platform is using admin privileges
Info [0x0803df] Adding direct mapping from HKLM to HKEY_LOCAL_MACHINE (R/W)
Info [0x0803e1] Successfully mapped HKLM
Info [0x0803df] Adding direct mapping from HKU to HKEY_USERS (R/W)
Info [0x0803e1] Successfully mapped HKU
Warning [0x08040b] State data store failed calling CoInitializeEx in apartment-threaded mode. (hr = 0x80010106)
Info [0x08040e] State data store is available.
Warning [0x080262] GAC data store failed calling CoInitializeEx in apartment-threaded mode. (hr = 0x80010106)
Info [0x0803b4] COnlineWinNTPlatform: ComputerName=RWRIGHT2-VISTA7
Info [0x0803b5] COnlineWinNTPlatform: Get Machine Sid S-1-5-21-249398013-237848097-1766649016
Info [0x0803b8] Processing profile: C:\Windows\system32\config\systemprofile
Info [0x0803bf] User profile HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-18 excluded because SID S-1-5-18 is excluded by default.
Info [0x0803b8] Processing profile: C:\Windows\ServiceProfiles\LocalService
Info [0x0803bf] User profile HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-19 excluded because SID S-1-5-19 is excluded by default.
Info [0x0803b8] Processing profile: C:\Windows\ServiceProfiles\NetworkService
Info [0x0803bf] User profile HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\S-1-5-20 excluded because SID S-1-5-20 is excluded by default.
Info [0x0803ae] Dumping detected users:
Info [0x0803af] Name: Administrator, Domain: RWRIGHT2-VISTA7, Profile: (NULL), SidString: S-1-5-21-249398013-237848097-1766649016-1001, ID: USER00000002, IsAdmin: 0, IsBuiltInAdmin: 0, IsDisabled: 0, IsInteractive: 0, Groups:
Info [0x0803af] Name: Adiuser, Domain: RWRIGHT2-VISTA7, Profile: (NULL), SidString: S-1-5-21-249398013-237848097-1766649016-1000, ID: USER00000001, IsAdmin: 0, IsBuiltInAdmin: 0, IsDisabled: 1, IsInteractive: 0, Groups:
Info [0x0803af] Name: AdiPcAdmin, Domain: RWRIGHT2-VISTA7, Profile: (NULL), SidString: S-1-5-21-249398013-237848097-1766649016-500, ID: USER00000000, IsAdmin: 1, IsBuiltInAdmin: 1, IsDisabled: 1, IsInteractive: 1, Groups: Administrators
Info [0x0803af] Name: TempAccount, Domain: RWRIGHT2-VISTA7, Profile: (NULL), SidString: S-1-5-21-249398013-237848097-1766649016-1002, ID: USER00000004, IsAdmin: 0, IsBuiltInAdmin: 0, IsDisabled: 0, IsInteractive: 1, Groups: Users
Info [0x0803af] Name: Guest, Domain: RWRIGHT2-VISTA7, Profile: (NULL), SidString: S-1-5-21-249398013-237848097-1766649016-501, ID: USER00000003, IsAdmin: 0, IsBuiltInAdmin: 0, IsDisabled: 1, IsInteractive: 1, Groups: Guests
Info [0x0805a8] Added drive root mapping for 'C:\' (type: 1, fs: 1)
Info [0x0805a8] Added drive root mapping for 'D:\' (type: 1, fs: 1)
Info [0x0805a8] Added drive root mapping for 'E:\' (type: 2, fs: 0)
Info [0x0803e5] Not unmapping HKCU\Software\Classes; it is not mapped
Info [0x0803e5] Not unmapping HKCU; it is not mapped
Info [0x080411] Setting SMI registry mappings for system context
Info [0x080000] This platform supports mandatory labels (LABEL_SECURITY_INFORMATION)
Info [0x0804ad] CMigWorkingDirHelper: creating root working directory C:\Windows\TEMP\USMT\WorkingDir
Info [0x080485] Initializing OS analysis service (data path = \\NWD2DEG2\E$\Apps\IMAGES\OSD\VISTA-RTM-RC\USMTLoad)
Warning [0x080480] RetrieveINFInfo: SetupOpenInfFile failed to open \\NWD2DEG2\E$\Apps\IMAGES\OSD\VISTA-RTM-RC\USMTLoad\SFPAT.INF file. Error 2 on line 0.
Warning [0x080480] RetrieveINFInfo: SetupOpenInfFile failed to open \\NWD2DEG2\E$\Apps\IMAGES\OSD\VISTA-RTM-RC\USMTLoad\SFPATLH.INF file. Error 2 on line 0.
Warning [0x080480] RetrieveINFInfo: SetupOpenInfFile failed to open \\NWD2DEG2\E$\Apps\IMAGES\OSD\VISTA-RTM-RC\USMTLoad\SFPAT.INF file. Error 2 on line 0.
Warning [0x080480] RetrieveINFInfo: SetupOpenInfFile failed to open \\NWD2DEG2\E$\Apps\IMAGES\OSD\VISTA-RTM-RC\USMTLoad\SFPATLH.INF file. Error 2 on line 0.
Info [0x080466] Creating list-based system object filter
Info [0x080469] Opening file list from file: \\NWD2DEG2\E$\Apps\IMAGES\OSD\VISTA-RTM-RC\USMTLoad\SFLISTLH.DAT
Warning [0x080462] CListSysFileFilter::BuildTree: could not create FileList object for \\NWD2DEG2\E$\Apps\IMAGES\OSD\VISTA-RTM-RC\USMTLoad\SFLISTLH.DAT: class UnBCL::FileNotFoundException: \\?\UNC\NWD2DEG2\E$\Apps\IMAGES\OSD\VISTA-RTM-RC\USMTLoad\SFLISTLH.DAT: file not found.
void __stdcall UnBCL::File::ThrowWinIOErr(long,const class UnBCL::String *)

Info [0x080486] Initialized OS analysis service
Info [0x080489] Setting system object filter context (System)
Info [0x080536] CreateMigrationLogger: Migration diagnostic logging is not enabled.
Info [0x080172] AgentManager: not loading agent CMockAgent in mockagent.dll due to configuration settings
Info [0x080172] AgentManager: not loading agent CMsiAgent in msiagent.dll due to configuration settings
Info [0x080172] AgentManager: not loading agent CIS5Agent in is5agent.dll due to configuration settings
Info [0x080172] AgentManager: not loading agent CIS6Agent in is6agent.dll due to configuration settings
Info [0x080172] AgentManager: not loading agent CHeuristicAgent in hagent.dll due to configuration settings
Info [0x080172] AgentManager: not loading agent CDocsAgent in docagent.dll due to configuration settings
Info [0x080172] AgentManager: not loading agent CViseAgent in viseagent.dll due to configuration settings
Info [0x080172] AgentManager: not loading agent CWiseAgent in wiseagent.dll due to configuration settings
Info [0x080172] AgentManager: not loading agent CUpgradeAgent in upgradeagent.dll due to configuration settings
Warning [0x080000] CMigApp::Init - CReport::Initialize() failed.
Info [0x080320] WorkingDirectory = C:\Windows\TEMP\USMT\WorkingDir
Info [0x080321] AppDataDirectory = \\NWD2DEG2\E$\APPS\IMAGES\OSD\VISTA-RTM-RC\USMTLoad\AppDataDir
Info [0x080000] LogDirectory =
Info [0x000000] Entering MigAddExclusionRoot method
Info [0x000000] Entering MigAddExclusionPattern method
Info [0x080000] MigAddExclusionPattern - Adding - Hard: File, C:\Windows\TEMP\USMT\WorkingDir\* [*]
Info [0x000000] Leaving MigAddExclusionPattern method
Info [0x000000] Leaving MigAddExclusionRoot method
Info [0x000000] Entering MigAddExclusionRoot method
Info [0x000000] Entering MigAddExclusionPattern method
Info [0x080000] MigAddExclusionPattern - Adding - Hard: File, \\NWD2DEG2\E$\APPS\IMAGES\OSD\VISTA-RTM-RC\USMTLoad\AppDataDir\* [*]
Info [0x000000] Leaving MigAddExclusionPattern method
Info [0x000000] Leaving MigAddExclusionRoot method
Info [0x080000] Configuring engine as migration target
Info [0x000000] Leaving MigStartUp method
Info [0x080312] EarlyDiscover start at 7/19/2007 15:15:2
Info [0x000000] Starting engine done.
Info [0x000000] Entering MigCanMigrateAllUsers method
Info [0x080000] MigCanMigrateAllUsers: srcAdmin: 1, destAdmin: 1, src&&dest: 1
Info [0x000000] Leaving MigCanMigrateAllUsers method
Info [0x000000] Selecting Image Transport with Compression=TRUE Encryption=FALSE
Info [0x000000] Entering MigSelectIMGTransport method
Info [0x0802e2] User selecting transport(UNC Image Transport) with initialization data(LIB: Path(C:\MININT\SMSOSD\StateStore\USMT3\USMT3.MIG))
Error [0x0802e3] SelectTransport: OpenDevice failed with Exception: class Mig::DeviceException: Win32ErrorException: Error(2), (NULL). Inner Exception: class UnBCL::FileNotFoundException: \\?\C:\MININT\SMSOSD\StateStore\USMT3\USMT3.MIG: file not found.
void __stdcall UnBCL::File::ThrowWinIOErr(long,const class UnBCL::String *)

void __thiscall Mig::CMediaManager::SelectTransport(unsigned int,struct Mig::IDeviceInitializationData *,int,int,int,__w64 unsigned long)
void __thiscall Mig::CIMGTransport::OpenDevice(struct Mig::IDeviceInitializationData *,int,int,int,int,__w64 unsigned long)

Error [0x08031c] SelectTransportInternal("LIB: Path(C:\MININT\SMSOSD\StateStore\USMT3\USMT3.MIG)") caught exception = class Mig::DeviceException: Win32ErrorException: Error(2), (NULL). Inner Exception: class UnBCL::FileNotFoundException: \\?\C:\MININT\SMSOSD\StateStore\USMT3\USMT3.MIG: file not found.
void __stdcall UnBCL::File::ThrowWinIOErr(long,const class UnBCL::String *)

enum MIGSTATUS __stdcall SelectTransportInternal(enum TransportID,struct Mig::IDeviceInitializationData *,int,int,int,__w64 unsigned long)
void __thiscall Mig::CMediaManager::SelectTransport(unsigned int,struct Mig::IDeviceInitializationData *,int,int,int,__w64 unsigned long)
void __thiscall Mig::CIMGTransport::OpenDevice(struct Mig::IDeviceInitializationData *,int,int,int,int,__w64 unsigned long)

Info [0x000000] Leaving MigSelectIMGTransport method
Error [0x000000] Unable to Select the IMG transport: MigSelectIMGTransport failed with MIGSTATUS 0x14.
Error [0x000000] Inconsistency detected: Store is not encrypted but user is supplied the key to decrypt.
Info [0x000000] Entering MigShutDown method
Info [0x000000] Entering WaitForInternalThreads method
Info [0x080315] EarlyDiscover end at 7/19/2007 15:15:2, Canceled
Info [0x000000] Leaving WaitForInternalThreads method
Info [0x0803e6] Removing mapping for HKLM
Info [0x0803e7] Successfully unmapped HKLM
Info [0x0803e6] Removing mapping for HKU
Info [0x0803e7] Successfully unmapped HKU
Info [0x080487] Destroying OS analysis service
Info [0x080488] Destroyed OS analysis service
Info [0x0804ae] CMigWorkingDirHelper: removing working directory C:\Windows\TEMP\USMT\WorkingDir
Info [0x000000] Leaving MigShutDown method
Info [0x000000]
Info [0x000000] MIGSTATUS 0x14 means 'MIGSTATUS_TRANSPORT_UNAVAILABLE'
Error [0x000000] Unable to start the migration engine successfully
Error [0x000000] USMT is unable to complete successfully.
Error [0x000000] Unable to restore the user state from the given location. The store may be invalid, you may have specified /decrypt for a store that is not encrypted, or you may not have specified /nocompress for an uncompressed store.
Info [0x000000] Please see the log file for more details.
Info [0x000000] USMT error Code (status) = 31

 
I have resolved this issue. Basically I was running the USMT twice. Two scans and two loads. I was having native OSD run both and also the ZTI scripts. You need to make sure you remove the native OSD USMT tasks and just use the ZTI scripts. So specify your USMT commands in customsettings.ini and include USMT30_x86.cab as part of your package source. What happens is the ZTI actually installs the USMT then runs the scanstate and loadstate commands. Once I did this my problem went away. I believe it was because two loadstate command were trying to run on the same MIG file which was generating the error 31.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top