Desktop Virtualization Revisited Part Two: Microsoft’s Virtual PC

Small, simple, stable and priced right: Is Microsoft's Virtual PC a good introduction to the world of virtualization and a great way to pull Linux into a Windows environment?

Microsoft’s foray into desktop-level virtualization came to them via Virtual PC’s purchase from Connectix in 2003. Since that time, Microsoft has made significant improvements to the product but dropped support for Mac OS as a guest and host operating system (OS). Virtual PC now includes support for Windows Vista as a host OS and as a guest. The latest version is Virtual PC 2007 SP1.

Virtual PC is a free download from the Virtual PC site. It is a small (~37MB) download and installs easily to your PC. The filename is simply, setup.exe but I suggest that you change it to something more descriptive (virtualpc_2007_sp1_setup.exe, for example) in case you need to reinstall later. Installing Virtual PC is easy—launch the installer, click through the install wizard and you are ready to setup your first virtual machine.

Read Part One of this series: Sun’s xVM VirtualBox.

Virtual PC Essentials

Once you’ve downloaded and installed Virtual PC, you have very few options in the small and simplistic Virtual PC Console (See Figure 1). You have the option to create a new virtual machine via the New Virtual Machine Wizard, create a new virtual hard disk using the Virtual Disk Wizard or setting some generic global options for all virtual machines under Options.

The vanilla Virtual PC Console
The vanilla Virtual PC Console

Virtual PC offers the following global options: Restore VMs when starting Virtual PC, Performance, Hardware Virtualization, Resolution, Sound, Messages, Hot Keys, Mouse Capture, Security, and Language.

For this Desktop-level Virtualization series I’m using a Windows computer (Windows XP) as the host with Linux guests. I’ve selected Debian 5.0 running XFCE for the standard Linux guest VM.

Virtual PC Advantages and Disadvantages

Advantages:

  • Easy to Install and Use
  • Small Footprint
  • Free
  • Excellent Support for Windows Guests
  • Supports a Variety of Guest OSs
  • Actively Developed
  • Windows Vista Support
  • Hardware Virtualization

Disadvantages:

  • Windows Only Host
  • Limited Linux Support
  • Emulation Software
  • No VM Cross-Compatibility

Setup a New VM

To setup a new VM in Virtual PC, click the New button or select File->New Virtual Machine Wizard to launch the New Virtual Machine Wizard. Click Next on the Welcome screen. You’re prompted to select from three options: Create a virtual machine, Use default settings to create a virtual machine and add an existing virtual machine. If this is your first time to use Virtual PC, I suggest that you select Create a virtual machine and click Next to continue. Select a location and name your new virtual machine.

This step creates a file with extension .vmc that defines your new VM. Click Next. Select your operating system from the dropdown list—for Linux, you’ll choose Other and click Next. Select the amount of memory you want to allocate to the new VM by either accepting the default (128MB) or by selecting Adjusting the RAM. If you select, adjusting the RAM, a slider appears for you to choose the amount you’d like to use. Click Next to continue.

You’re now at the Virtual Hard Disk Options screen where you’ll select an existing virtual hard disk or create a new one. Select A new virtual hard disk and click Next. This screen prompts you for a name, location and size for your new virtual hard disk. Make your selections and click Next and Finish. Your new VM is defined and added to the virtual machine inventory in the Virtual PC Console. See Figure 2.

The virtual machine inventory in the Virtual PC Console
The virtual machine inventory in the Virtual PC Console

Next: Install Some Linux

Comments on "Desktop Virtualization Revisited Part Two: Microsoft’s Virtual PC"

royw

Maybe I’m dense, but I just don’t get why this series of windows applications is in a linux magazine. Who really cares?

More apropos would be digging into the details of bridge networking to VMs on linux hosts or optimizing server VMs using JEOS guests…

Reply
khess

If you notice, I’m installing Linux in the VM in the series. It’s about using Linux on your Desktop computer and the series highlights various tools for doing that. Some people can’t convert 100% to Linux for whatever reasons so desktop-level virtualization is one way to keep Windows and use Linux too.
The column is virtualization and I cover all aspects of that beat, including those related to Microsoft–but always with a Linux spin. ;-)

Reply
sandbender

I’m surprised you didn’t mention VirtualBox at all in the article. It runs on most operating systems, it’s open source, and it supports Linux officially. It’s certainly more appealing to me than Virtual PC.

Reply
dragonwisard

@sandbender: VirtualBox was in the the Part One article. And he gave a pretty terrible review of it, in my opinion.

Reply
bhupi

I will stick with Virtual Box, thank you. Nice to know, though that Microsoft does it as well.

Reply

Definitely would love to start a website like yours. Wish I had the time. My site is so amateurish compared to yours, feel free to check it out: http://tinyurl.com/o55af8p Alex :)

Reply

Blog looks nice. I’m still trying to make a blog but it won’t be as professional as yours /: Keep on blogging :) pirater un compte facebook

Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>