When it comes time to replace those old PCs, you always hope you'll be able to move the applications, documents, settings, and data from the old machines to the new ones in one sitting. If you read my article on migrating Windows 2000 to a new PC, then you already know just how tedious the migration process can be. However, migrating Windows XP is not as difficult as migrating Windows 2000. While you need to be aware of a few of XP's eccentricities, the migration process will go much smoother when you know what to look for. I’ll explain some of those eccentricities in this Drill Down and give you some ways to work around them.
Product activation concerns
Anytime I talk about moving Windows XP to new hardware, I am asked about product activation. Therefore, although the product activation is the last step in the process, I’ll discuss it first.
It seems that there’s a lot of bad information going around about the product activation codes. I’ve heard rumors ranging from product activation codes not working on the new hardware to Windows disabling itself when the new hardware is detected.
The truth is, after you’ve migrated Windows XP to the new hardware, Windows will require you to reenter the product activation code again. The reason you have to reactivate is that Windows realizes that the new hardware is substantially different from the old hardware, and therefore requires reactivation as a deterrent to software piracy. After you reenter the activation code, you’re in business. There’s really nothing dark and mysterious about the process. Just enter the code and go.
The prep work
Although migrating Windows XP is easier than Windows 2000, there’s still a bit of prep work required. Begin the process by taking a look at your old system and figuring out what drive and folder Windows XP is installed in by using Windows Explorer. Normally, Windows XP should be installed in the C:\Windows folder, but it's very important to make sure, because migrating to the wrong folder location will cause Windows XP to fail on the new machine.
Next, document which version of Windows XP (Home or Professional edition) the PC is running by checking the General tab of the System Properties dialog box. Next, go to the old machine and enter the DISKMGMT.MSC command at the Run prompt. Doing so will launch the Disk Management Console, shown in Figure A. Look through the console screen and record which partitions exist, the physical drives on which the partitions exist, the size of each partition, and what file system each partition uses.
|The Disk Management Console is the first place to look to find out how the hard drive is configured.|
Preparing the new PC
Once you’ve recorded all of the necessary information from the old machine, it’s time to begin preparing the new PC. Begin by verifying that the new PC has at least as many hard drives as the old PC, and that each hard drive in the new PC is at least as large as its counterpart on the old PC.
Now, install a copy of Windows XP onto the new system. You’ll have to use the same version of Windows XP as the old PC (Home or Professional edition). You’ll also have to install the new copy of Windows XP into the same location as the old PC (typically C:\Windows).
During the setup process, Setup will ask you to create a partition to install Windows onto. The partition that you create must be at least as large as the system partition on the old PC. Keep in mind that later, you’ll have to recreate the old PC’s partition scheme, so you must reserve enough space to do so.
When the setup process completes, open the Disk Management Console by using the DISKMGMT.MSC command, and recreate the old PC’s partition scheme. Make sure that any partition you create is at least as large as its counterpart on the old PC. Partitions can be larger than the original but can’t be smaller. You must also format each partition using the same file system that was in place on the old system. All tasks, such as creating and deleting partitions, changing logical drive letters, and formatting a partition, may be accomplished by right-clicking on the desired area of the graphical representation of the hard disk and selecting the appropriate command from the resulting context menu.
Once Windows is installed and you’ve recreated all of the necessary partitions, the next step is to begin configuring the new hardware by installing any hardware drivers that aren’t already loaded. Also, you may set the display to the desired resolution.
The migration process
The migration process is as simple as using the Backup utility, found on the Start | All Programs | Accessories | System Tools menu. When you open the Backup utility on the old PC, you’ll see a Wizard that asks what you want to back up. Tell the Wizard that you want to back up everything on the computer to a designated network drive or other backup device, and then follow the prompts to begin the backup process. When the backup process completes, use the Backup utility on the new computer to restore the backup. It’s that simple. When the restore process completes, the old system will have been migrated to the new system. The only thing that’s left is to reboot the new system and enter the product activation code.
How the Backup/Restore method works
If you’ve ever tried to migrate Windows 2000 by using the Backup/Restore method, you know that the technique doesn’t work very well. Therefore, you may be wondering what makes Windows XP so different. After all, we configured all of the new hardware before restoring the backup onto the new system, and yet the hardware settings weren’t wiped out.
The reason that Backup/Restore works so well under Windows XP is because of some creative programming on Microsoft's part. If you open the Registry Editor and look at the registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\BackupRestore\KeysNotToRestore, you can see how this little trick works.
You should always back up your system before working with the Registry Editor.
As you can see in Figure B, there are several different registry locations specified beneath this key. Any of the keys listed that end in a backslash (\) are protected. The backslash means that during a system restore, those registry keys will not be overwritten. This overwrite protection allows Windows XP to preserve your system’s hardware profile during a system restore. You might have noticed in the figure that some of the keys specified end in an asterisk (*). The asterisk tells Windows to merge the old registry key with the new registry key, thus preserving old and new settings.
|This registry key tells Windows which keys should not be overwritten during a restore operation.|
For multiple user data, use USMT
No Windows XP migration article is complete without mention of the User State Migration Tool (USMT). This command line tool allows administrators to migrate user data in larger organizations and tailor the migration for specific settings. Working from a set of INF files that can be modified for specific purposes, USMT will move a number of different settings during an upgrade or hardware migration, including:
- Internet Explorer settings
- Outlook Express settings and store
- Outlook settings and store
- Dial-up connections
- Phone and modem options
- Classic desktop
- Screen saver selection
- Folder options
- Taskbar settings
- Mouse and keyboard settings
- Sounds settings
- Regional options
- Office settings
- Network drives and printers
- My Documents folder
- My Pictures folder
- Cookies folder
For more information on USMT, check out the Microsoft Windows XP site.