Which of the following commands are used by the usmt software?

AffiliatePal is reader-supported. When you buy through links on our site, we may earn an affiliate commission.



USMT (User State Migration Tool) is a software developed by Microsoft that allows users to migrate user files and settings from one computer to another. It provides a convenient way to transfer data and settings, making it easier for users to transition to a new computer or operating system. In this article, we will explore the various commands used by the USMT software to facilitate the migration process.


ScanState is a command-line tool used to collect user files and settings from a source computer and store them in a migration store. This command is typically run on the source computer and creates a compressed store that contains all the necessary data for migration. It can be customized to include or exclude specific files, folders, or settings using various command-line options.


LoadState is the counterpart to ScanState and is used to restore the user files and settings stored in the migration store to a destination computer. This command is usually run on the destination computer and transfers the data collected by ScanState to the appropriate locations. Like ScanState, LoadState offers several command-line options to customize the migration process.


USMTUtils is a set of command-line utilities that complement the functionality of USMT. These utilities provide additional features and options to enhance the migration process. Some of the commonly used utilities include:

USMTUtils /genconfig: This utility generates a configuration file that can be used to customize the behavior of USMT. The configuration file can be edited to specify which files, folders, and settings to include or exclude during the migration process.

USMTUtils /genmigxml: This utility generates an XML file that defines the migration rules for specific applications. The XML file can be modified to ensure that application settings are correctly migrated to the destination computer.

USMTUtils /genkey: This utility generates an encryption key that can be used to secure the migration store. The encryption key ensures that the data stored in the migration store is protected from unauthorized access.

Hard-Link Migration is a feature of USMT that allows for efficient migration of user files. Instead of physically copying the files from the source to the destination, USMT creates hard links that point to the original files. This method saves time and disk space during the migration process, as only the changes made to the files need to be transferred.


USMTGUI is a graphical user interface (GUI) for USMT that provides a more user-friendly way to perform migrations. It simplifies the process by offering a point-and-click interface to select the source and destination computers, choose the migration options, and initiate the migration. USMTGUI utilizes the underlying USMT commands to perform the migration, making it an accessible option for users who prefer a visual interface.


In conclusion, the USMT software offers a range of commands and utilities to facilitate the migration of user files and settings. The ScanState command collects the data from the source computer and stores it in a migration store, while the LoadState command restores the data to the destination computer. The USMTUtils provide additional customization options, such as generating configuration files, migration rules, and encryption keys. The hard-link migration feature optimizes the migration process by creating hard links instead of physically copying files. Lastly, the USMTGUI offers a graphical interface for users who prefer a more intuitive migration experience.


– Microsoft Docs: USMT Overview – docs.microsoft.com/usmt
– Microsoft Docs: ScanState Syntax – docs.microsoft.com/usmt/scanstate-syntax
– Microsoft Docs: LoadState Syntax – docs.microsoft.com/usmt/loadstate-syntax
– Microsoft Docs: USMTUtils Syntax – docs.microsoft.com/usmt/usmtutils-syntax