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

Run another operating system on your Windows computer with Oracle VirtualBox

Updated November 6, 2022

Have you ever wanted to try another operating system but did not want to have to erase your drive to do it? Maybe you have an app that will not work on the latest version of Windows? If so, then Oracle VirtualBox may be just what you are looking for.

Three different versions of Windows running in VirtualBoxes
Windows 8.1, Windows 10, and Windows 11 running inside of VirtualBoxes

VirtualBox is a virtualization program that allows you to run an operating system (OS) in a Virtual Machine (VM) environment. VMs emulate the most common hardware found in modern computers, including Trusted Platform Module (TPM) ver. 1.2 and 2 (Windows 11 requires TPM v2).

One of my favorite things is to try out different operating systems, like other versions of Linux, including Android-x86 and Wubuntu. I have used VMs for many years now to do just that and have found VirtualBox to be the one I use the most often.

Another thing I use VMs for is running legacy software on older operating systems. I have several programs that will only run on Windows XP, so I have a dedicated Windows XP VM just for these programs.

And you can configure a VM so it appears as a separate computer on your network. You can even map shared network folders and print to network printers. You can even have multiple monitors too.

A Windows 11 virtual machine using dual monitors
Windows 11 with dual monitors running inside of a VirtualBox

Creating a new VM is relatively simple, give it a name, select the operating system being installed, and the location of the installation media. You will need to know what amount of memory and disk space the operating system you are installing requires.

When it comes to creating a VM for another OS, it is the same as if you were installing the OS on physical hardware. If the OS you are installing requires a product key, like Windows, you will need it. Usually, when it comes to Windows, you can only use retail product keys, not Original Equipment Manufacturer (OEM) product keys.

VirtualBox currently runs on Windows 8.1 through Windows 11, Windows Server 2012 through 2022, macOS 10.15 through 12, Ubuntu 18.04 LTS, 20.04 LTS and 22.04, Debian GNU/Linux 10 (Buster) and 11 (Bullseye), Oracle Linux 7, 8 and 9, CentOS/Red Hat Enterprise Linux 7, 8 and 9, Fedora 35 and 36, Gentoo Linux, SUSE Linux Enterprise Server 12 and 15, openSUSE Leap 15.3 and Oracle Solaris 11.4.

With its flexibility in configuration, multiple monitor support, and support for 64-bit virtual machines (only on 64-bit host operating systems), it's my choice for VM. And did I mention that it's free? For more information on Oracle VirtualBox, follow the link below:

Oracle VirtualBox

Beta testing Windows 7 - Part 1

I finally got around to installing the Beta release of Windows 7. Did the first install into a VM (virtual machine) to get a feel for the new OS. I installed a copy of Sun xVM VirtualBox, version 2.2.2, which has predefined settings for a Windows 7 environment. I then loaded the Windows 7 image file as a DVD drive and got the install going. The install went smoothly, and the interface looked quite a bit like Windows Vista.

I will work with the VM installation while I assemble a non-production test system. I'll keep you updated on my adventures.

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