USMT consists of two separate programs. Scanstate.exe scans the source PC for the data and settings and stores it in a .MIG file. Loadstate migrates the data and settings from the .MIG file onto the target PC.
loadstate
The scanstate and loadstate
scanstate which is the machine that you are backing up from. and loadstate which is the machine that you are restoring from.
Scanstate and Loadstate.
Scanstate and Loadstate
Two common commands in the User State Migration Tool (USMT) are "ScanState" and "LoadState." "ScanState" is used to collect user profiles, files, and settings from the source computer, while "LoadState" is used to restore and apply the collected data to the destination computer.
Two command prompt commands in the User State Migration Tool (USMT) are "scanstate" (used to collect user profiles, OS settings, and application settings) and "loadstate" (used to restore the user profiles and settings to a new or updated Windows installation).
Found on the ScanState Syntax document at microsoft docs site."Causes the ScanState command to copy the files in the encrypted format. The files will be inaccessible on the destination computer until the EFS certificates are migrated. EFS certificates will be automatically migrated; however, by default USMT fails if an encrypted file is found, unless you specify an /efs option. Therefore you should specify the /efs:copyraw option with the ScanState command to migrate the encrypted file. Then, when you run the LoadState command, the encrypted file and the EFS certificate will be automatically migrated.For example:ScanState /i:migdocs.xml /i:migapp.xml \server\share\migration\mystore /efs:copyrawImportantAll files must be encrypted if the parent folder is encrypted. If the encryption attribute on a file inside an encrypted folder has been removed, the file will be encrypted during the migration using the credentials of the account used to run the LoadState tool. For more information, see Migrate EFS Files and Certificates."
loadstate
Loadstate
scanstate
ScanState