How to Create a Virtual Machine of your Windows Computer

virtual pc - windows xp in vistaVirtualization, in simple English, is a useful technology that helps you run multiple operating systems on the same machine.

For instance, if you are running Windows 7 on a computer, you can create virtual machines for Windows XP or Ubuntu Linux and run these operating systems on your existing Windows machine just like any other Windows application.

Related: How to Install Windows 8 as a Virtual Machine

How to Create a Virtual Machine

Windows Virtual PC, Virtual Box and VMware Workstation are some popular applications that allow you to create new virtual machines on a Windows PC but the only problem with these programs is that they require you do everything from scratch.

That is, if you want to create a new virtual machine, you will have to install the whole operating system first using the original installer DVD and then configure it with your favorite programs. This can be both time consuming and difficult.

What if you could use your existing Windows computer, that already has all your favorite programs installed, and turn into a virtual machine?

Convert your Computer into a Virtual Machine

While it has always been possible to convert an existing hard drive into a virtual machine, the process was difficult and often required expensive programs.

Well, not anymore. There’s a new utility from Microsoft that makes it both simple and free to convert an existing installation of Windows into a virtual machine ready to run on any other computer.

Microsoft’s Sysinternals team has released a simple application called Disk2vhd, that lets you easily migrate an existing computer to a virtualized hard drive (VHD). It’s a tiny utility doesn’t even require instillation.

Create Virtual Hard Disks with Disk2VHD

When you run Disk2vhd, it will immediately show you all the drives and partitions on your computer that it can migrate to a VHD.   Simply select a drive that you wish to create a VHD file from and click “Create.” Disk2vhd will convert the hard drive into a VHD file even if the computer /drive is currently in use.

create virtual machines

When the Virtual Machine VHD file is created, you can run it in any desktop virtualization program including the free Windows Virtual PC, Virtual Box, or VMware Player. You can also mount the virtual machine as a standard hard drive in Windows 7, and can even boot from it if your computer is running Windows 7 Ultimate.

You may use Disk2vhd to create virtual machines of your Windows XP, Windows Server 2003, Windows Vista and higher machines, including x64 systems.

Usage Scenario

Let’s say you have a computer that is already running all the software programs you frequently use, but you now want to move to a new computer or upgrade your operating system. You can then consider creating a virtual machine of your old machine using the Microsoft utility and this will help you use all your favorite programs (with the same settings) on the new machine.

You can also use virtualization to create a ghost image of your hard drive in a single file and this will be handy in the event of a disk failure.

Disk2vhd is an useful tool that will make it much easier for you to enjoy the benefits of virtualization without being too technical.

Related guide: How to Reinstall Windows from Scratch

Amit Agarwal

Amit Agarwal

Google Developer Expert, Google Cloud Champion

Amit Agarwal is a Google Developer Expert in Google Workspace and Google Apps Script. He holds an engineering degree in Computer Science (I.I.T.) and is the first professional blogger in India.

Amit has developed several popular Google add-ons including Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

0

Awards & Titles

Digital Inspiration has won several awards since it's launch in 2004.

Google Developer Expert

Google Developer Expert

Google awarded us the Google Developer Expert award recogizing our work in Google Workspace.

ProductHunt Golden Kitty

ProductHunt Golden Kitty

Our Gmail tool won the Lifehack of the Year award at ProductHunt Golden Kitty Awards in 2017.

Microsoft MVP Alumni

Microsoft MVP Alumni

Microsoft awarded us the Most Valuable Professional (MVP) title for 5 years in a row.

Google Cloud Champion

Google Cloud Champion

Google awarded us the Champion Innovator title recognizing our technical skill and expertise.

Email Newsletter

Sign up for our email newsletter to stay up to date.

We will never send any spam emails. Promise.