Geeks in Phoenix

Geek Blog


Running your old version of Windows XP in a Virtual Machine

If you haven't heard by now, Windows XP has come to the end of its life. After April 8th, 2014, Microsoft will no longer support Windows XP, which means no more security patches or hotfixes. Using Windows XP as a primary operating system is no longer an option. But you can still use your old version of Windows XP and the installed programs on a newer version of Windows using a Virtual Machine (VM).

A physical to virtual migrated version of Windows XP inside of VirtualBox running on Windows 8
A physical-to-virtual migrated version of Windows XP inside of VirtualBox running on Windows 8

The problem most people are having with going to a new version of Windows is that they have software installed on Windows XP that they cannot install or will not run on a more recent version of Windows. Either the software came pre-loaded, they lost the installation media, or the company went out of business. If you're one of these people, there is hope.

I've written a few times about using VM's to run different operating systems on the same computer. You create a virtual hard drive and install your operating system inside of it. You can also create a virtual hard drive from your physical hard drive. This way, you can upgrade to a newer version of Windows and still access your old Windows XP programs.

Note: With the change of hardware from physical-to-virtual, Windows will need to be re-activated. Physical-to-virtual hard drive migration of a Windows installation is a valid function for customers with full retail copies of Windows XP, Windows Vista, Windows 7, and Windows 8.

To do this, you will need two programs, Microsoft's Windows Sysinternals Disk2vhd and Oracle's VirtualBox. Both programs are free for personal use, and the links to the software are below. The first thing to do is create a virtual hard drive from your existing physical hard drive. Startup Disk2vhd, and you get only a straightforward menu. Select 'Prepare for use in Virtual PC' and 'Use Volume Shadow Copy' and deselect 'Use Vhdx'. Next, select the location for the virtual hard drive file. For the best performance, you should create the virtual hard drive on a different physical drive (network or external).

The Disk2vhd main screen with options
The Disk2vhd main screen with options

Now it's time to install VirtualBox on the new system. Remember also to download and install the VirtualBox Guest Extensions. Once installed, copy over the virtual hard drive you created with Disk2vhd. Next, you create a new VM with settings (operating system, memory, etc.) based on your old computer. You then will be prompted to create a new virtual drive or use an existing one. Browse and select the virtual drive that you created.

Modified boot menu in physical to virtual migrated version of Windows XP
Modified boot menu in physical to virtual migrated version of Windows XP

The first time you start the VM, it will find the new VM hardware and try to install drivers for them. If it fails to find drivers, just go to the 'Devices' tab on the top menu and select 'Insert Guest Additions CD image'. Open Windows Explorer and browse to the virtual drive named VBOXADDITIONS and run VBoxWindowsAdditions. This will install the keyboard, video, and mouse drivers. You will have to tweak the settings to get it run flawlessly. If you're migrating a version of Windows XP, I recommend disabling access to the internet since there are no longer security updates and patches for Windows XP after 4/8/14.

For more information on VirtualBox or Disk2vhd, just follow the links below.

Oracle VM VirtualBox
Sysinternals Disk2vhd

Add comment

Free computer diagnostics

Repairing a PC can sometimes be expensive, and that is why we offer free basic in-shop diagnostics. Give one of our professional and experienced technicians a call at (602) 795-1111, and let's see what we can do for you.

Check out our reviews

Geeks In Phoenix LLC, BBB Business Review

Customer service is #1

Here at Geeks in Phoenix, we take pride in providing excellent customer service. We aim to give the highest quality of service  from computer repair, virus removal, and data recovery.

Bring your computer to us and save

Repairing a computer can be time-consuming. That is why we base our in-shop service on the time we work on your computer, not the time it takes for your computer to work! From running memory checking software to scanning for viruses, these are processes that can take some time.

Contact us

If you have any questions, please feel free to give us a call at (602) 795-1111  and talk with one of our Geeks. Or you can send us a message from our contact page , and one of our Geeks will get back to you as soon as possible. Or you can stop by and see us. Here are our hours and location.

Like Geeks in Phoenix on Facebook

Follow Geeks in Phoenix on Twitter

Watch Geeks in Phoenix on YouTube