Share via


How to Migrate Windows User with USMT

User Profiles can be migrated to a New Account, New PC, or New Domain

Requirements

 

All you need is MS USMT (User State Migration Tool).
USMT is part of Microsofts free to use Windows ADK 10

 

Historic info

For many years it has been possible to transfer user profiles with Windows Easy transfer (WET)
However, with the release of Windows 10 Microsoft decided to stop the development of WET.

Behind Windows Easy transfer (WET) was in reality MS USMT (User State Migration Tool).
USMT is the, command line, Enterprise profile migration tool from Microsoft, used in SCCM and MDT for automated migrations.

How to

With USMT it's NO problem moving accounts from one Account to another, one Pc to another or from one domain to another.

As this is a command line tool you need to open an elevated command prompt (right click the command prompt shortcut and select “Run as administrator”).
See more below for the syntax of using USMT.

Please note that to simplify using USMT you can use a GUI for USMT. There are several (commercial) GUI’s available,

To migrate all user accounts and user settings

1.      Log on to the source computer as an administrator, and specify the following in a Command-Prompt window:

scanstate`` \\server\share\migration\mystore /``i:migdocs.xml`` /``i:migapp.xml`` /o

2.      Log on to the destination computer as an administrator.

3.      Do one of the following:

o    If you are migrating domain accounts, specify:

loadstate`` \\server\share\migration\mystore /``i:migdocs.xml`` /``i:migapp.xml

o    If you are migrating local accounts along with domain accounts, specify:

loadstate`` \\server\share\migration\mystore /``i:migdocs.xml`` /``i:migapp.xml`` /lac /``lae

Note   You do not have to specify the /lae option, which enables the account that was created with the /lac option. Instead, you can create a disabled local account by specifying only the /lac option, and then a local administrator needs to enable the account on the destination computer.

To migrate two domain accounts (User1 and User2)

1.      Log on to the source computer as an administrator, and specify:

scanstate`` \\server\share\migration\mystore /``ue``:*\* /``ui:contoso``\user1 /``ui:fabrikam``\user2 /``i:migdocs.xml`` /``i:migapp.xml`` /o

2.      Log on to the destination computer as an administrator.

3.      Specify the following:

loadstate`` \\server\share\migration\mystore /``i:migdocs.xml`` /``i:migapp.xml

To migrate two domain accounts (User1 and User2) and move User1 from the Contoso domain to the Fabrikam domain

1.      Log on to the source computer as an administrator, and type the following at the command-line prompt:

scanstate`` \\server\share\migration\mystore /``ue``:*\* /``ui:contoso``\user1 /``ui:contoso``\user2 /``i:migdocs.xml`` /``i:migapp.xml`` /o

2.      Log on to the destination computer as an administrator.

3.      Specify the following:

loadstate`` \\server\share\migration\mystore /``mu:contoso``\user1:fabrikam\user2 /``i:migdocs.xml`` /``i:migapp.xml

References:

Identify Users

USMT Reference

ScanState Syntax

LoadState Syntax

USMT common Errors