How to Create a Virtual Machine of your Windows Computer

Published in: virtualization

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

📮  Subscribe to our Email Newsletter for Google tips and tutorials!
Published in: virtualization

Looking for something? Find here!

Meet the Author

Web Geek, Google Developer Expert
Amit Agarwal

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. He is the developer of Mail Merge for Gmail and Document Studio. Read more on Lifehacker and YourStory

Get in touch

Google Add-ons

Do more with your Gmail and GSuite account

We build bespoke solutions that use the capabilities and the features of Google Workspace for automating business processes and driving work productivity.

  1. Mail Merge with Attachments
    Send personalized email to your Google Contact with a Google Sheet and Gmail
  2. Save Emails and Attachments
    Download email messages and file attachments from Gmail to your Google Drive
  3. Google Forms Email Notifications
    Send email notifications to multiple people when a new Google Form is submitted
  4. Document Studio
    Create beautiful pixel perfect documents merging data from Google Sheets and Google Forms
  5. Creator Studio for Google Slides
    Turn your Google Slides presentations into animated GIFs and videos for uploading to YouTube