User State Migration Tool

Last updated
User State Migration Tool (USMT)
Developer(s) Microsoft
Stable release
5.0
Operating system Microsoft Windows
Type Command
License Proprietary commercial software
Website docs.microsoft.com/en-us/windows/deployment/usmt/usmt-technical-reference

The User State Migration Tool (USMT) is a command line utility program developed by Microsoft that allows users comfortable with scripting languages to transfer files and settings between Windows PCs. This task is also performed by Windows Easy Transfer, which was designed for general users but then discontinued with the release of Windows 10, [1] where they instead partnered with Laplink. [2] Starting with Windows 8, many settings and data are now being synchronized in cloud services via a Microsoft Account and OneDrive. USMT allows a high-volume, automated deployment of files and settings, [3] and is also useful in migrating user settings and files during OS upgrades. Because USMT has high complexity and a command line interface, there have been several attempts to provide access to its useful functionality by creating GUI wrappers for it. 32-bit to 64-bit migrations are supported, but 64-bit to 32-bit are not.

Contents

USMT 4 is included in the Windows Automated Installation Kit. USMT 5 is included in the Windows Assessment and Deployment Kit (ADK). [4] Versions of the USMT are included in the Windows ADKs for Windows 10, versions 1511 and 1607. [5]

Overview

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.

What to transfer is specified as commandline switches in the configuration XML files migapp.xml, migsys.xml, miguser.xml and other optional Config.xml files. Which Users (and their data) to transfer is controlled by other switches.

An example of a "load data on to PC" command could look like this (in one line – newlines and indents added here for readability):

loadstate "Y:\temp\Migrationstorage\WS_toolshop1"           /i:"Y:\temp\Migrationstorage\WS_toolshop1\migapp.xml"           "Y:\temp\Migrationstorage\WS_toolshop1\migsys.xml"           /i:"Y:\temp\Migrationstorage\WS_toolshop1\miguser.xml"           /ue:*\* /ui:gutte /ui:Lotta /lac /lae           /progress:"C:\Documents and Settings\Administrator\Local Settings\Temp\USMTprog.log"           /l:"C:\Documents and Settings\Administrator\Local Settings\Temp\USMTscan.log"..           /c

The "Scanstate" command is similar in complexity. Both commands require strict adherence to syntax.

Supported OSes

Source operating systems
Version98NT 4.02000 [lower-alpha 1] XPVista788.110Cite
2 [lower-alpha 2] YesYesYesYesNoNoNoNoNo
3NoNoYesYesYesNoNoNoNo [6]
4NoNoNoYes [lower-alpha 3] Yes [lower-alpha 4] YesNoNoNo
5NoNoNoYesYesYesYesNoNo [7]
6.1NoNoNoNoNoYesYesYesNo [8]
10NoNoNoNoNoYesYesYesYes [9]
Destination operating systems
Version2000 [lower-alpha 1] XPVista788.110Cite
2 [lower-alpha 2] YesYesNoNoNoNoNo
3NoYesYesNoNoNoNo [6]
4NoNoYesYesNoNoNo
5NoNoYesYesYesNoNo [7]
6.1NoNoNoYesYesYesNo [8]
10NoNoNoYesYesYesYes [9]
  1. 1 2 Versions that cover Windows 2000 only cover the Professional edition
  2. 1 2 This version supports 32-bit operating systems only
  3. Service Pack 3 only
  4. Service Pack 1 only

What USMT transfers

USMT transfers [10]

GUI wrappers for USMT

Because of the complexity of USMT command-line input, there have been third-party attempts to create GUI front-ends for it. These include (but are not limited to):

Both Workstation Migration Assistant and USMT XML Builder are out of date but there are up to date commercial GUI's for USMT.

Related Research Articles

<span class="mw-page-title-main">History of the graphical user interface</span>

The history of the graphical user interface, understood as the use of graphic icons and a pointing device to control a computer, covers a five-decade span of incremental refinements, built on some constant core principles. Several vendors have created their own windowing systems based on independent code, but with basic elements in common that define the WIMP "window, icon, menu and pointing device" paradigm.

VBScript is a deprecated Active Scripting language developed by Microsoft that is modeled on Visual Basic. It allows Microsoft Windows system administrators to generate powerful tools for managing computers without error handling and with subroutines and other advanced programming constructs. It can give the user complete control over many aspects of their computing environment.

<span class="mw-page-title-main">Ardour (software)</span> Open-source digital audio workstation

Ardour is a hard disk recorder and digital audio workstation application that runs on Linux, macOS, FreeBSD and Microsoft Windows. Its primary author is Paul Davis, who was also responsible for the JACK Audio Connection Kit. It is intended as a digital audio workstation suitable for professional use.

<span class="mw-page-title-main">UltraEdit</span>

UltraEdit is a text editor for Microsoft Windows, Linux, and macOS users. It was initially developed in 1994 by Ian D. Mead, the founder of IDM Computer Solutions Inc., and was acquired by Idera Inc. in August 2021. Originally called MEDIT, it was first designed to run on Windows 3.1. A version called UltraEdit-32 was later created to run on Windows NT and Windows 95. The last 16-bit UltraEdit program version was 6.20b. UltraEdit-32 was renamed to UltraEdit in version 14.00. Version 22.2 was the first native 64-bit version of the text editor. Starting with 2022.0, versioning had become year-based.

<span class="mw-page-title-main">Shell (computing)</span> Computer program that exposes an operating systems services to a human user or other programs

In computing, a shell is a computer program that exposes an operating system's services to a human user or other programs. In general, operating system shells use either a command-line interface (CLI) or graphical user interface (GUI), depending on a computer's role and particular operation. It is named a shell because it is the outermost layer around the operating system.

<span class="mw-page-title-main">Windows Preinstallation Environment</span> Lightweight version of Microsoft Windows for deployment

Windows Preinstallation Environment is a lightweight version of Windows used for the deployment of PCs, workstations, and servers, or troubleshooting an operating system while it is offline. It is intended to replace MS-DOS boot disks and can be booted via USB flash drive, PXE, iPXE, CD, DVD, or hard disk. Traditionally used by large corporations and OEMs, it is now widely available free of charge via Windows Assessment and Deployment Kit (WADK).

<span class="mw-page-title-main">Microsoft Diagnostics</span>

Microsoft Diagnostics (MSD) was a software tool developed by Microsoft to assist in the diagnostics of 1990s-era computers. Users primarily deployed this tool to provide detailed technical information about the user's software and hardware and to print the gathered information, usually for use by support technicians in troubleshooting and resolving problems. The assumptions made by the program were valid until the late 1990s: it does not handle plug-and-play USB or other new technologies that appeared around 2000.

<span class="mw-page-title-main">Microsoft Office 2007</span> Version of Microsoft Office

Microsoft Office 2007 is an office suite for Windows, developed and published by Microsoft. It was officially revealed on March 9, 2006 and was the 12th version of Microsoft Office. It was released to manufacturing on November 3, 2006; it was subsequently made available to volume license customers on November 30, 2006, and later to retail on January 30, 2007, shortly after the completion of Windows Vista. The ninth major release of Office for Windows, Office 2007 was preceded by Office 2003 and succeeded by Office 2010. The Mac OS X equivalent, Microsoft Office 2008 for Mac, was released on January 15, 2008.

SQL Server Reporting Services (SSRS) is a server-based report generating software system from Microsoft. It is part of a suite of Microsoft SQL Server services, including SSAS and SSIS.

In computing. Physical-to-Virtual involves the process of decoupling and migrating a physical server's operating system (OS), applications, and data from that physical server to a virtual-machine guest hosted on a virtualized platform.

Sandcastle is a documentation generator from Microsoft. It automatically produces MSDN-style code documentation out of reflection information of .NET assemblies and XML documentation comments found in the source code of these assemblies. It can also be used to produce user documentation from Microsoft Assistance Markup Language (MAML) with the same look and feel as reference documentation.

Robocopy is a command-line file transfer utility for Microsoft Windows. Robocopy is functionally more comprehensive than the COPY command and XCOPY, but replaces neither. Created by Kevin Allen and first released as part of the Windows NT 4.0 Resource Kit, it has been a standard feature of Windows since Windows Vista and Windows Server 2008.

logparser

logparser is a flexible command line utility that was initially written by Gabriele Giuseppini, a Microsoft employee, to automate tests for IIS logging. It was intended for use with the Windows operating system, and was included with the IIS 6.0 Resource Kit Tools. The default behavior of logparser works like a "data processing pipeline", by taking an SQL expression on the command line, and outputting the lines containing matches for the SQL expression.

Windows Vista contains a range of new technologies and features that are intended to help network administrators and power users better manage their systems. Notable changes include a complete replacement of both the Windows Setup and the Windows startup processes, completely rewritten deployment mechanisms, new diagnostic and health monitoring tools such as random access memory diagnostic program, support for per-application Remote Desktop sessions, a completely new Task Scheduler, and a range of new Group Policy settings covering many of the features new to Windows Vista. Subsystem for UNIX Applications, which provides a POSIX-compatible environment is also introduced.

Windows Deployment Services (WDS) is a deprecated component of the Windows Server operating system that enables centralized, network-based deployment of operating systems to bare-metal computers. It is the successor to Remote Installation Services (RIS). WDS officially supports remote deployment of Windows Vista and later, as well as Windows Server 2008 and later. However, because WDS uses disk imaging, in particular the Windows Imaging Format (WIM), it could deploy virtually any operating system. This is in contrast with its predecessor, RIS, which was a method of automating the installation process.

<span class="mw-page-title-main">Windows Easy Transfer</span> File transfer program by Microsoft

Windows Easy Transfer was a specialized file-transfer program developed by Microsoft that allowed users of the Windows operating system to transfer personal files and settings from a computer running an earlier version of Windows to a computer running a newer version.

Microsoft Deployment Toolkit is a free software package from Microsoft for automating the deployment of Windows 10, Server 2019 and older Windows Server and desktop operating systems.

Windows Assessment and Deployment Kit, formerly Windows Automated Installation Kit, is a collection of tools and technologies produced by Microsoft designed to help deploy Microsoft Windows operating system images to target computers or to a virtual hard disk image in VHD format. It was first introduced with Windows Vista. WAIK is a required component of Microsoft Deployment Toolkit.

Laplink PCmover is a PC migration software developed by Laplink Software. Introduced in 2005, as the successor to Laplink, PCmover comes in a variety of versions that provide the ability to move or restore all selected files, folders, settings, user profiles and programs from an old PC to a new one, an old operating system to a new one, or an old hard drive to a new one. Microsoft has partnered with Laplink on multiple occasions and recommends PCmover for automatically moving programs, files and profile setting to new Windows 10 PCs.

PC migration is the process of transferring the entire user environment between two computer systems. The migration problem is often associated with the concept of total cost of ownership where the requirement to migrate information is considered a "cost" in purchasing a new PC, similar considerations exist for businesses upgrading hardware/software.

References

  1. Ehler, Thomas (December 24, 2015). "How to Migrate Windows User Profile to New Account, New Pc, or New Domain". TechNet. Microsoft. Retrieved December 22, 2018.
  2. "User State Migration Tool (USMT) Overview". Microsoft. October 15, 2017. Retrieved December 22, 2018. USMT is intended for administrators who are performing large-scale automated deployments. If you are only migrating the user states of a few computers, you can use PCmover Express. PCmover Express is a tool created by Microsoft's partner, Laplink.
  3. Windows Vista™ Resource Kit . Microsoft Press. 2007. ISBN   978-0-7356-2283-8.
  4. "User State Migration Tool (USMT) Technical Reference". Microsoft. March 5, 2014.
  5. "User State Migration Tool (USMT) Technical Reference (Windows 10) - Windows Deployment". Microsoft Learn. 28 February 2023. Retrieved 12 October 2023.
  6. 1 2 "Requirements". Microsoft. July 24, 2008. Retrieved December 22, 2018.
  7. 1 2 "USMT Requirements". Microsoft. November 7, 2013. Retrieved December 22, 2018.
  8. 1 2 "How to migrate user data from Windows XP to Windows 8.1 with System Center 2012 R2 Configuration Manager". Microsoft. October 16, 2018. Retrieved February 9, 2021.
  9. 1 2 "USMT Requirements". Microsoft. May 2, 2017. Retrieved December 22, 2017.
  10. more details on Microsoft Docs