Migration – Windows XP to Windows 7 using USMT Hard Link Migration


USMT 4.0 hard-link migration is a new feature that you can use to perform an in-place migration much faster than by using traditional file copy mechanisms. Hard-link migration in USMT scans the computer for user files and settings and then creates a directory of hard links to those files. The hard links are remapped into the appropriate locations in the new operating system. The entire process typically takes a few minutes to run, does not duplicate files on the local disk, and can save several hours when upgrading to Windows 7. You can use USMT hard-link migration both online and offline.

1. Install Windows 7 on a Windows XP or newer operating system by using standard DVD or ISO media. As a best practice, backup your files before installing the new operating system. In this step choose to do a custom installation. (Upgrade is not supported)


2. Select the partition where Windows XP is already installed. Do not delete or format this partition.


3. The following Warning appears. Click OK.


3. Click Next and proceed with the new installation of Windows 7.


4. Once you have completed installing Windows 7, click the Start button, click Computer, and then double-click Local Disk (C:). If the operating system is not installed on C:, click the drive letter that contains the Windows 7 OS. The C: directory contains any folders that were already there in the Windows XP operating system, in addition to a windows.old folder.

Windows.old contains the files and settings to migrate from Windows XP to the newly installed Windows 7. If you were previously joined to a domain, join the computer to the domain now, before running USMT commands in the following steps. Also, install any applications from the previous operating system, as USMT migrates application settings for these applications. For example, Microsoft Office Outlook® settings and PST files are automatically mapped for that program, and USMT migration eliminates the need to manually reconfigure Microsoft Office Outlook.





5. Insert your USB drive with USMT files. Copy the migrate.bat file to the desktop. Right-click the migrate.bat file and choose Run as Administrator. The batch file copies USMT 4.0 files from the USB drive to the Windows directory and then runs scanstate.exe and loadstate.exe commands to create the hard-link store and map the links into to the new locations.

 9-RunningUSMT in newly installed win7 for hard link PC refresh





6. Click Start, click Computer, double-click Local Disk (C:), and then double-click the Users folder. The Users folder contains all user files in corresponding file libraries. Open Internet Explorer® to see that application settings have been migrated.

 14-User accounts created as in old comp

 15 - User Documents and settings successfully migrated

Once you have finished these steps, you can reuse the USB drive and batch file on computers with clean installations of Windows Vista or Windows 7 that contain Windows.old directories. When you determine that all necessary files were migrated from Windows.old, use the Disk Cleanup utility and remove previously installed versions of Windows to delete Windows.old. Deleting Windows.old does not delete the files that you have migrated by using hard links.


Technorati Tags: ,,,,


One thought on “Migration – Windows XP to Windows 7 using USMT Hard Link Migration”

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s