USMT User Data Migration 


Typically in the past data has been migrated manually by IT, this generally takes up a lot of time for the IT person involved in migrating the data and can result in varying experiences for the user. The USMT (User State Migration Tool) from Microsoft can be used to provide a much quicker and consistent migration experience for both the IT person and the general user.

Setup USMT


Download USMT and put on a file share either on a PC or a server in this case it is on C Root (Make sure enough disk space is available).


Inside the Microsoft USMT 4.0 the folder structure should look like the following




ScanState .Bat File


Create a batch file under Microsoft USMT 4.0 with the following command (TEST3007 in this case is the PC that the migration data will be stored on)

pushd "\\TEST3007\C$\Microsoft USMT 4.0\x86"

scanstate.exe \\TEST3007\C$\PCBackup\%computername% /ui:DOMAINNAME\* /i:migapp.xml /i:miguser.xml /v:13 /l:%COMPUTERNAME%_scan.log /o /c

pause

Name the batch file scanstate or something appropriate and change the ui:DOMAINNAME to your domain name.




PC Backup Folder


Create a folder called PCBackup on the C Root, changing the folder icon is optional.



You are now ready to migrate data from a source machine.

Migrating the Old Machine


To migrate data from the old machine is now a simple process, simply logon to the old machine and navigate to the directory where the Scanstate.bat file is located and double click on it. The migration process will now start.


 

Data will now be migrated to the location specified in the scanstate.bat file in this example it will be


On completion of the .bat a ScanState return code : 0 should be returned as shown below:-


If another code is returned then the transfer will not have completed and may have to be restarted. Google the error for more information.

Restoring User Profile to New Machine

To restore the migrated data to a new machine go to the PCBackup Folder and select the folder with the machine name that you have migrated. Inside the PCBacklup folder a USMT file will be available, double click on the file and restore the profile/s that you would like on the new machine. You can restore the profile data while the user is logged in or use separate logon a separate logon.



Shared Items should also be restored as this will restore items that outside the users profiles, such as files store on the C root of their old machine. This is located at the bottom of the easy transfer wizard.










Optional Step For Advanced Users - Config.xml File


You may want to further refine what you migrate from an old machine to a new one this can be done by generating a config.xml file. This can be done by running the following command:-

scanstate /i:migapp.xml /i:miguser.xml /genconfig:config.xml /v:13


Most people will skip this step but maybe handy for users that have to migrate specific data from a number of machines.

Conclusion

 The user should now have all the data they require on the new machine. To migrate another machine simply repeat the process with the only difference being that the machine backup folder will be a different name.  

Comments

Popular posts from this blog

Sccm Deploying Problem Driver

Dell Latitude 7040 - Enable PXE Boot

DWG Trueview 2012