User State Migration Tool
Windows 10

User State Migration Tool – A Perfect Tool To Migrate User Profiles

How to migrate user profiles? Are there any tools that can greatly assist you in the process of migrating user data? If those questions are haunting you every moment you close your eyes, then you have come to the right place.

Our today’s article will introduce a great tool that can facilitate your work – the User State Migration Tool. When having this tool as a sidekick, you can breathe a sigh of relief as everything will become so straightforward, even if you are not a geek. 

But how to migrate user profiles with User State Migration Tool (USMT) on Windows 10? How to employ this tool smartly? Stay tuned as we will get you covered soon.

User State Migration Tool: What Is It? 

User State Migration Tool
User State Migration Tool

Also known in its abbreviated form of USMT, User State Migration Tool is a set of CLI utilities that was created with the primary function of supporting user state migration throughout the massive Window deployment.

USMT covers a wide variety of user-related means, including their account, user files, operating system installation, and application installation. Besides, it will perform the task of migrating them to your desired Windows installation.

USMT takes effect in many aspects so that you can utilize it for your computer replacement. It also works very well with computer refresh migrations.

What can you do with it?

With USMT, you can finish these tasks with ease:

  • Configure your migration based on your enterprise demands. You can do that thanks to migration rule files (.xml). This file gives precise control over which files and settings are migrated and clearly defines how they are moved.
  • Tailor the custom migration into your automated deployment workflow. This can be achieved by leveraging the ScanState and LoadState tools, which have control over the collection and restoration of user files and user settings.
  • Execute offline migrations with the help of the ScanState command in WinPE or take advantage of prior Windows installations to implement migrations.

How To Migrate User Profiles With The Help Of User State Migration Tool

The user state migration tool is intelligently tailored in order for an Information technology engineer to be able to automate and accurately identify the migration utilizing the USMT .xml scripting language. To employ this tool successfully, you must follow our instructions in the correct order to get the best results.

USMT: Downloading and Installation

Up to the present time, the latest USMT 10 version has the function of migrating the user’s settings and configuration. It applies installation from operating systems (from Windows 7 to 10). 

So what is the difference compared to this utility prior version? It’s the settings collection function in Offline mode, which means you do not have to operate the operating system at that time. In case you still prioritize legacy systems like Windows XP or Windows Vista and want to apply USMT, the USMT 3.0.1 version is required.

In this step, ADK ( standing for Windows Assessment and Deployment Kit) is needed. For ADK installation, click here.

ADK stands for Windows Assessment and Deployment Kit

Installing the ADK on the administrator’s workstation or source computer takes one step to complete. First of all, run adksetup.exe file and choose USMT to start the installation.

As soon as the installation completes successfully, click on directory C to search for the USMT files. You go through the steps: directory C, select Program Files (x86), go to Windows Kits \ 10, then click on the Assessment and Deployment Kit, and finally the User State Migration Tool. On a side note, you are able to copy those files onto the source computer later on.

There are 2 command-line programs (including scanstate.exe and loadstate.exe) that are included in the utility. Besides this, you can also find a series of XML files that depict the procedure of gathering and applying the setting.

Note that you need to have an account that has local administrator rights and run these two tools under that account.

In order for the USMT to perform the data transfer, it can be done in 2 separate steps: The first step is to export the data with the help of the ScanState command. This step is performed from the source computer . And the last step is to import data on the target computer with LoadState.

Save User Profiles Using User State Migration Tool

The first phase of the process happens on the source computer. In this case, the Scanstate command will be utilized for user data collection.

To specify, the Scanstate.exe command has some main functions such as scanning the computer based on specific requirements, creating archives and collecting the profiles of users, installing applications and operating systems, files, and some basic data.

You should also be aware that with Windows 10 1607, the start menu layout can not be migrated using USMT. In this case, the Export-StartLayout and Import-StartLayout PowerShell cmdlets are needed.

The USMT utility will shape into four migration files under the form of .XML. These files have the function of storing rules to help you migrate many different data types:

  • MigApp.xml – includes user data transfer rules;
  • MigUser.xml – related user profile transfer rules;
  • MigDocs.xml – includes rules related to document transfer;
  • Config.xml – shows information about the components cut out from the migration.
MigApp.xml

Migrating all settings between computers requires the command: scanstate \\ fs1 \ migr \ userdata /i:miguser.xml /i:migapp.xml / o

All user profiles on the computer will be migrated by default. It’s up to you to indicate which users will move thanks to the include and exclude options.

In case you want to migrate 2 user accounts between two different computers, use the command: scanstate \\ fs1 \ migr \ userdata / ue: ** / ui: corpuser1 / ui: corpuser2 /i:miguser.xml / i: migapp.xml / o

However, only those who have logged in to the PC can be migrated. Let’s take a practical example! You have the right to indicate that only recently-logged-in users who have used this computer during the past 80 days will migrate. To do this, the / uel: 50 option takes precedence. Besides, the user profile is selected according to the Last Modified Date of Ntuser.dat file in the user folder in C: \ Users folder.

The Shadow Volume Replication Service is powered by Scanstate, which means you are able to migrate even files locked by the latest running applications. In this case, people often prioritize the / vsc parameter.

Typically, while the profile files are saved, the compression will take effect. This process enables users to minimize the storage file size. However, it may take you quite a time to generate the archive. To avoid this, feel free to disable compression using the /nocompress option.

Besides, USMT can also execute offline profile migration. To do this, please boot the PC into the Windows РЕ environment. After that, let the ScanState run to export users’ profile settings.

Once a store is created, examine its integrity using the command:

USMTutils.exe / Verify

Migrate and Deploy User Profile

The next step in the profile transfer will take place on the target computer. For a smooth migration, the loadstate.exe command usually takes precedence. The loadstate will help you extract all archived items.

Migrate and Deploy User Profile

 Remember the command loadstate \\ fs1 \ migr \ userdata /i:miguser.xml /i:migapp.xml as it will help load all the configurations on the source computer from the store generated before.

Thanks to the / md: OldDomain: NewDomain option, you can specify a new domain. This option was created with the task of changing the user’s domain during migration. In case there is a mismatch in the username between the source and target domains, you can merge them together using : / mu: OldDomain \ User1: NewDomain \ NewUser1

USMT: Pros and Cons

USMT brings a lot of great benefits to enterprises that are executing the Windows operating system:

  • Ensure absolute security during migration
  • Cut down on Windows deployment costs thanks to the ability to maintain user state.
  • Minimize end-user death
  • Helping users effortlessly get acquainted with the new operating system.

However, it demands end-user interaction, which is considered a con of this tool.

The Bottom Line

User State Migration Tool or USMT is really a helpful sidekick for your business when it comes to migrating user profiles or data. In this article, we have shown you the instructions on how to migrate user profiles with the help of the user state migration tool.

We hope that you can now have an in-depth understanding of this tool and can follow the right order to employ it for the best results.

Thanks for your time!

Maybe you are interested in

Leave a Reply

Your email address will not be published. Required fields are marked *

Back To Top