Simon Jarvis - USMT XML Builder
Custom Search
Feedback  Feedback 

USMT MigRecover

 

MigRecover utility is a Microsoft command line tool meant for accessing USMT3 and USMT4 compressed umst migration files (.MIG files).

There are 2 versions of MigRecover which are specifically designed for extracting the files embedded within the compressed image store created during the USMT backup/scanstate process.

These utilities have been provided by Microsoft as is and are not maintained by our company.

USMT 3 Syntax

Syntax:

MigRecover.exe [source MIG file] [destination path] [password]
Where:


[source MIG file]
- the full path to the MIG file you need to recover files from

[destination path]
- the path where the tool should unpack the recovered files

[password]
- the password used to encrypt the store (if any)

Return codes:

0 - the tool completed successfully, the store is not corrupt (if /i /e were used there might still be corruption in unprocessed files)
1 - internal error
2 - invalid usage, see this help screen
3 - invalid destination directory
4,5 - error opening the store
6 - cannot create STATUS.TXT file
1392 (ERROR_FILE_CORRUPT)
- the tool completed successfully, but some of the data in the store is corrupt

USMT 4 Syntax

MigRecover.exe [/i:[include pattern]] [/e:[exclude pattern]] [/v] [source MIG file] [destination path] [password]


Where:

/i: [include pattern]


pattern for files to be extracted. Multiple include patterns are allowed. They can be combined with exclude patterns, whenever a conflict is detected the last specified pattern wins.

/e:[exclude pattern]


pattern for files not to be extracted. Multiple exclude patterns are allowed. They can be combined with include patterns, whenever a conflict is detected the last specified pattern wins.

/v
verify the store, don't extract anything. A list of all the files in the store together with their status will be generated in a file called STATUS.TXT in the root of the destination path.
This will have a line for each file, followed by a TAB and either "corrupt" or "OK" depending on the status of the file. The last entry will have the name "STRUCTURE" and will be set to "OK" if all the headers in the store file are intact.

[source MIG file]
- the full path to the MIG file you need to recover files from.

[destination path]
- the path where the tool should unpack the recovered files.

[password]
- the password used to encrypt the store (if any).

Return codes:

0 - the tool completed successfully, the store is not corrupt (if /i /e were used there might still be corruption in unprocessed files)
1 - internal error
2 - invalid usage, see this help screen
3 - invalid destination directory
4,5 - error opening the store
6 - cannot create STATUS.TXT file
1392 (ERROR_FILE_CORRUPT)
- the tool completed successfully, but some of the data in the store is corrupt

USMT MigRecover 3 can be downloaded here

USMT MigRecover 4 can be downloaded here

If splitting multiple usmt file Using the newer WET tool resolves that issue and worked great for the 100 GB store I was trying to recover, although it only processes one .MIG file at a time and it marks the last file in each set as "corrupted" (even though they don't appear to actually be corrupted–including videos that play fine).

These tools are provided by Microsoft as is and are not supported or maintained by this company.