Data Migration Tool: USMT GUI backup/restore tool

Many of the tools Microsoft provides to its customers are not easy to set up and use without having the technical skills. One of the tools is User State Migration Toolkit (USMT),  which is a program that can back up your files/settings and save them a single file (.MIG), which you then can load onto your new computer with the same USMT program. For example, if you were to migrate your workstation from Windows 7 to Windows 10, this tool will be used. Of course, it also works from Windows 10 to Windows 10.

The advantage of using this solution is that users can transfer their personal data and settings themselves while using their old computer. That way, the user can decide his or her own time and should be able to do the data migration while using the old computer.

If your company does not have any on-premise solutions and runs with cloud-based solutions from Microsoft, then we recommend using OneDrive with ‘Known Folder Move’ and that way have your data to follow you across devices and not having to migrate data to a new computer.

We have chosen to call the tool Data Migration Tool and it can be downloaded on GitHub here:
Data-Migration-Tool-1.14

Here is a some of what the program backs up:

  • Files and folders on the desktop
  • Files and folders in the the documents folder
  • Files and folders in the the pictures folder
  • Internet Explorer favorites
  • Outlook signatures
  • WLAN profiles

It’s possible to make a backup/retore to either a USB storage device or a SMB fileshare.

How to use the tool?

There are several ways to use the tool depending of your setup. There are 3 methods:

  • By running the tool from a USB storage device (requires users to be local administrators) (NOTE: It is strongly recommended to use an encrypted storage device)
  • By installing the tool as an application with SCCM (requires users to be local administrators)
  • By running the tool as a package with SCCM

If you are a system administrator in a company, it is recommended to use SCCM, as this gives you more control over the users’ data.

Method: USB storage device

The easiest method is to download the tool and transfer it to a USB storage device:

  1. Transfer the Data Migration Tool folder from the .zip file to your USB storage device.
  2. Move the storage device to the computer to be backed up and run Deploy-Application.exe from the Data Migration Tool folder.
  3. When the window is presented, select Use USB.
  4. Here you select Backup.
  5. Wait while the backup is being made.
  6. When the backup is complete, press Exit.

  7. Move the storage device to the destination computer and run Deploy-Application.exe.
  8. When the window is presented, select Use USB.
  9. Select Restore.

  10. Wait while the restorer is being made.
  11. When the restoration is complete, press Exit.

Are you in a company that uses SCCM?

As mentioned earlier, there are 2 ways to run this tool if you use SCCM in your business.
Options:

  1. Package (running in SYSTEM context): Select this if users have default rights on the local machine.
  2. Application (running as local administrator): This makes the application available as a local application with a shortcut in start. Requires users to be a local administrator.

It is recommended that in both scenarios you create an SMB share where data is stored.

Creation of SMB share and allocation of rights

If you are in an environment where users are not local administrators, the best option is to run this as a package in SYSTEM context (1st option above). Note that this option allows all computer objects in the domain to access the folders in the share.

In both options we use a share with this name during the guide: USMT Data Migration Tool$

Rights on the SMB share when configuring option 1

To ensure that only Domain Computers has access to the share, share permissions need to be changed:

  1. First, create a folder and go to properties:
  2. In Properties, press Sharing and Advanced Sharing.
  3. Here you name the share.
  4. Make sure only Domin Computers can read and write to the share.
  5. Press Apply until you return to the Properties window, go to Security -> Advanced so you can set NTFS privileges.
  6. Here you remove the rights to Authenticated Users.
  7. Now the rights should look like this:

The necessary rights have now been set up to use the option 1 and you can therefore skip the next section.

Rights on the SMB share for option 2

To ensure that Domain Users have access to write and CREATOR OWNER can read – as well as make changes to subfolders and files – do the following:
In this setup, only the user who created the backup can access their own backup folder/file.

  1. First, create a directory and go to properties:
  2. In Properties, press Sharing and Advanced Sharing.
  3. Here you name the share.
  4. Ensure that only Domain Users have rights to modify the share.
  5. Press Apply until you return to the Properties window, go to Security -> Advanced so you can set NTFS privileges.
  6. Click on Domin Users and ensure that they only can write to the folder:

  7. Click Add to add CREATOR OWNER permissions:

  8. Now the result should look like this:

Transfer files and define variable

Now that the rights to the share are in place, the files must be transferred to the SCCM server and the UNC path from the share must be inserted in the tool. In the example here, the files are located in this path:
\\MR-PROD-SCCM02\PKGsource\Packages\Zwable\Data Migration Tool 1.14

  1. Transfer the files to your desired folder on the SCCM server:
  2. Go to the Data Migration Tool folder and edit the Deploy-Application.ps1 file
  3. Click Edit
  4. Insert the UNC path from earlier and click Save.

Now the files are ready to be used for a package/application depending on which option you choose to go with.

Option 1. Package creation:

  1. Go to the  SCCM console and start the Package wizard.
  2. Enter information about the package. NOTE: The path refers to the subfolder, that’s on purpose:
    Name: Data Migration Tool
    Manufacturer: Zwable
    Language: EN
    Version:1.14
    Source folder: \\MR-PROD-SCCM02\PKGsource\Packages\Zwable\Data Migration Tool 1.14\Data Migration Tool
  3. Choose Standard program
  4. Enter information and make sure the package is running in SYSTEM context:
    Name: Data Migration Tool
    Command line: Deploy-Application.exe
  5. Click Next
  6. Click Next until the package is created:
  7. Now that the package is made, it must be distributed to a distribution point. Right-click the package and press Distribute Content
  8. Choose either one distribution point or a group.
  9. Click next until it’s distributed.
  10. Now that the package is ready and distributed, you can deploy it to a collection. Right-click the program and press Deploy.
  11. Select the desired Collection and press Next.
  12. Choose it to be Available.
  13. Click Next.
  14. Click Next.
  15. Choose package availability management according to your needs and press Next.
  16. Click Next until it’s created.

Now everything is in place! Go to one of the clients in the collection you have deployed to and run a policy sync in Software Center:

The package is now ready to run under Applications

Option 2. Application creation:

  1. Go to the SCCM console and start the application wizard.
  2. Choose to manually define information.
  3. Type in the following information and click next Next:
    Name: Data Migration Tool
    Publisher: Zwable
    Sofware version: <verison>
  4. Click Browse and select the folder:
    \\MR-PROD-SCCM02\PKGsource\Packages\Zwable\Data Migration Tool 1.14\Data Migration Tool\AppDeployToolkitLogo.ico
  5. Click Next.
  6. Click Add to add the Deployment Type.
  7. Choose to manually define the information:
  8. Type in the following and click Next:
    Name: Data Migration Tool
  9. Add the following and click Next:
    Content location: \\MR-PROD-SCCM02\PKGsource\Packages\Zwable\Data Migration Tool 1.14\
    Installation program: powershell.exe -ExecutionPolicy Bypass -file .\Deploy-DataMigrationTool.ps1
    Uninstall program: powershell.exe -ExecutionPolicy Bypass -file .\Deploy-DataMigrationTool.ps1 -uninstall
  10. Click Add Clause.
  11. Configure as shown in the picture and click OK:
    Path: %PROGRAMFILES%
    File or folder name: Data Migration Tool
  12. Click Next.
  13. Ensure that Install for system and Whether or not a user is logged on is selected and click Next.
  14. Click Next until the Deployment Type has been created.
  15. Back in the application wizard click Next.
  16. Click Next until the application is created.
  17. Now distribute the content. Right click and select Distribute Content.
  18. Click Next.
  19. Choose destination and click Next.
  20. Click Close.
  21. Now that the application is created and distributed it needs to be installed on the clients. Right-click the application and select Deploy.
  22. Choose the desired collection and click Next.
  23. Choose whether it needs to be installed or simply made available. Click Next.
  24. Choose how you want to notify end users upon installation. I choose to hide all.
  25. Click Next.
  26. Click Close.

Now everything is in place! Go to one of the clients in the collection you have deployed to and run a policy sync Software Center:

Under applications you can see that the application is installed or made available according to your configuration:

Now the application is installed:

By pressing start you can see the shortcut:

Let us know what you think of the solution. Maybe you have suggestions for improvements and new features? Leave a comment below.

Leave a Comment

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

Scroll to Top

Find us

Zwable ApS
Jægersborgvej 128, kl.
DK-2820 Gentofte
Find us

Click on this link, to get remote support.

Contact us

We are at the office monday to friday from 8am to 5pm. Our emergancy phone is open 24 hours 365 days a year.

Follow us

Signup for our news letter, so you don’t miss out of any news, prices or other information.

We use cookies to improve your user experience. You accept cookies by clicking on “OK“. Read more about our cookie policy.