Installing Windows 7 on an Existing Windows XP Computer

Applies To: Windows XP

To install Windows 7 and migrate existing user files and settings

  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.

Important

Follow the default installation instructions and do not delete or format partitions containing the operating system or user data.

  1. 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.

  2. 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.

  3. 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.

Conclusion

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.