Microsoft Virtual PC


An article from Pieter's Knowledge Base



Table of Contents

Disclaimer

What is Microsoft Virtual PC?

Pricing

Where to download?

Resizing A Virtual Disk


Disclaimer

All information on this page is provided on an as-is basis with no warranty of any kind. Using this information is at your own risk. In no case I will be held liable for any damages resolving from using this page.


What is Microsoft Virtual PC?

Virtual PC is a program by Microsoft that runs within Windows and can run another operating system (Windows or any practically any other operating system that can run on an x86 PC). This is handy because it allows you to test operating systems and software without making changes to your main operating system. It also allows you to run programs that require old operating systems on newer operating systems.

Pricing

Virtual PC itself is a free product, but you will need to have a license for each operating system you install in a so-called virtual machine.

Where to download?

Virtual PC can be downloaded from the Microsoft web site:

http://www.microsoft.com/virtualpc


Resizing A Virtual Disk

Once you have created a virtual disk (and possibly installed an operating system on it), its maximum size is fixed, even if it is a dynamically expanding disk. So if the virtual disk has a maximum size of 10 GB, it will never grow beyond that size, and Virtual PC itself is not capable of resizing. There is, however, a way around it, which we will go through step by step.

Note: this procedure only works with virtual machines running Windows 2000, Windows XP,Windows Server 2003 and Windows Vista.

Resizing the disk using VHD Resizer

The first step to perform, is to resize the virtual disk using a free tool named VHD resizer. You can download it from:

http://vmtoolkit.com/files/folders/converters/entry87.aspx

Expanding the partition on the Virtual Disk

After you have resized the disk with Vhd Resizer, the partition (drive) on it will still be the same old maximum size, and not grow when it needs to! So we need to resize the partition as well.

As is clear from the example above, we now have two virtual drives:, the old one and the new one. It is convenient that we still have the old one, since we can use it to work on the new one:


© 2007 Dutch Alps/Pieter Mol