--- title: Log Files (Windows 10) description: Log Files ms.assetid: 28185ebd-630a-4bbd-94f4-8c48aad05649 ms.reviewer: manager: laurawi ms.author: greglin ms.prod: w10 ms.mktglfcycl: deploy ms.sitesec: library audience: itpro author: greg-lindsay ms.date: 04/19/2017 ms.topic: article --- # Log Files You can use User State Migration Tool (USMT) 10.0 logs to monitor your migration and to troubleshoot errors and failed migrations. This topic describes the available command-line options to enable USMT logs, and new XML elements that configure which types of errors are fatal and should halt the migration, which types are non-fatal and should be skipped so that the migration can continue. [Log Command-Line Options](#bkmk-commandlineoptions) [ScanState and LoadState Logs](#bkmk-scanloadstatelogs) [Progress Log](#bkmk-progresslog) [List Files Log](#bkmk-listfileslog) [Diagnostic Log](#bkmk-diagnosticlog) ## Log Command-Line Options The following table describes each command-line option related to logs, and it provides the log name and a description of what type of information each log contains.
Command line Option | File Name | Description |
---|---|---|
/l[Path]FileName |
Scanstate.log or LoadState.log |
Specifies the path and file name of the ScanState.log or LoadState log. |
/progress[Path]FileName |
Specifies the path and file name of the Progress log. |
Provides information about the status of the migration, by percentage complete. |
/v[VerbosityLevel] |
Not applicable |
See the "Monitoring Options" section in ScanState Syntax. |
/listfiles[Path]FileName |
Specifies the path and file name of the Listfiles log. |
Provides a list of the files that were migrated. |
Set the environment variable MIG_ENABLE_DIAG to a path to an XML file. |
USMTDiag.xml |
The diagnostic log contains detailed system environment information, user environment information, and information about the migration units (migunits) being gathered and their contents. |
Key | Value |
---|---|
program |
ScanState.exe or LoadState.exe. |
productVersion |
The full product version number of USMT. |
computerName |
The name of the source or destination computer on which USMT was run. |
commandLine |
The full command used to run USMT. |
PHASE |
Reports that a new phase in the migration is starting. This can be one of the following:
|
detectedUser |
|
includedInMigration |
Defines whether the user profile/component is included for migration. Valid values are Yes or No. |
forUser |
Specifies either of the following:
|
detectedComponent |
Specifies a component detected by USMT.
|
totalSizeInMBToTransfer |
Total size of the files and settings to migrate in megabytes (MB). |
totalPercentageCompleted |
Total percentage of the migration that has been completed by either ScanState or LoadState. |
collectingUser |
Specifies which user ScanState is collecting files and settings for. |
totalMinutesRemaining |
Time estimate, in minutes, for the migration to complete. |
error |
Type of non-fatal error that occurred. This can be one of the following:
|
objectName |
The name of the file or setting that caused the non-fatal error. |
action |
Action taken by USMT for the non-fatal error. The values are:
|
errorCode |
The errorCode or return value. |
numberOfIgnoredErrors |
The total number of non-fatal errors that USMT ignored. |
message |
The message corresponding to the errorCode. |