Using Virtual PC 2004 Differencing Disks - Matt's Blog

Using Virtual PC 2004 Differencing Disks

I use Microsoft (formerly Connectix) Virtual PC to test servers etc, and I find it very useful to have a handfull of different OS's pre-installed into VPC. To speed things up even more, you can use the disk differencing feature.

Disk Differencing works by storing only the changes to an original image in a new VPC virtual hard-disk. So in ASCII:

VPC Image:

________________________
|                                     |
|              OS VHD             |
|                                     |
|_______________________|

Differencing VHD:

 _ _ _ _ _ _ _
|                 |
|    Changes  |
|                 |
|_ _ _ _ _ _ _|

This allows you to then have multiple VM's on your machine using only one parent VHD.

This is how its done:

1. Create a new Virtual Hard Disk using the Wizard

 

 

2. Create the differencing VHD in a folder of your choice. (This is the disk that will hold the changes made to the parent)

 

3. Select Differencing hard disk

 

4. Then select the Parent VHD. (The one with the OS installed on it) 

TIP: Always mark your parent hard disk “Read Only“ as to prevent making accidental changes to it. If you do make changes; it can cause all sorts of problems with your VPC's based off that parent. (Thanks to John Howard for this tip!)

 

5. And you're done creating the disks.

 

6. Now create a New Virtual PC to host the Virtual disks

 

 

7. Choose a folder and a name for the VPC

 

8. Select an OS from the list and assign it memory; then select to use an existing disk.

 

9. Select the differencing disk you created in step 2. (You can enable undo disks too; but that will degrade performance and use up even more hard drive space)

 

10. You're done. 

 

Published Tuesday, June 29, 2004 3:59 PM by matt
Filed under: ,

Comments

# Article:Using Virtual PC Differencing

Tuesday, June 29, 2004 4:30 PM by TrackBack

# re: Using Virtual PC 2004 Differencing Disks

Tuesday, June 29, 2004 8:55 PM by David
Cool article. Have you seen Virtual PC 2005 RC is available for download. Enterprise edition allows for up to 32 processors and the use of SCSI drives.

# re: Using Virtual PC 2004 Differencing Disks

Wednesday, June 30, 2004 9:03 AM by Matt
Thanks for the heads-up on VPC 2005 (actually Vitrual Server 2005). Here is the link: http://www.microsoft.com/windowsserversystem/virtualserver/evaluation/rceval.mspx
(Requires registration via passport)

# re: Using Virtual PC 2004 Differencing Disks

Sunday, July 04, 2004 7:07 PM by Armand du Plessis
All your points is still valid for VS2005. Will be using it for demo on Tuesday with differencing disks, thanks!

# re: Using Virtual PC 2004 Differencing Disks

Friday, September 10, 2004 8:52 PM by James
What happens if you update the parent disk? Does the differencing disk always overwrite the parent when creating the final disk image?

# re: Using Virtual PC 2004 Differencing Disks

Monday, September 13, 2004 10:13 AM by Matt
James, I have never tried that. :O
I'll give it a bash and see what happens.

# re: Using Virtual PC 2004 Differencing Disks

Monday, September 13, 2004 12:19 PM by Matt
I gives you a warning that changing the parent disk can cause corruption, and recommends that you mark it read-only. (All I did was create a text file on the desktop of the parent disk; which did not get shown in the differencing VM; but I guess if you did a significant change - like load XP SP2 - it would cause trouble.)

# Differencing Disks in Virtual PC 2004

Monday, December 27, 2004 6:05 PM by TrackBack

# Differencing Disks in Virtual PC 2004

Monday, December 27, 2004 6:16 PM by TrackBack

# Virtual PC / Virtual Server ... an information primer

Tuesday, December 28, 2004 10:35 PM by TrackBack

# Differencing Disks in Virtual PC 2004

Wednesday, December 29, 2004 4:45 PM by TrackBack

# Using disk differencing with VirtualPC 2004

Thursday, December 30, 2004 4:50 PM by TrackBack

# Using disk differencing with VirtualPC 2004

Thursday, December 30, 2004 4:51 PM by TrackBack
Excerpt: A step-by-step guide for using difference disks with VirtualPC 2004...

# Virtual PC / Virtual Server ... an information primer

Friday, December 31, 2004 12:00 AM by TrackBack

# Using Virtual PC 2004 Differencing Disks

Saturday, January 01, 2005 9:29 AM by TrackBack

# Virtual PC Differencing Disks

Wednesday, February 02, 2005 10:20 PM by TrackBack
Virtual PC Differencing Disks

# re: Virtual reality

Thursday, March 03, 2005 4:09 PM by TrackBack

# re: Using Virtual PC 2004 Differencing Disks

Wednesday, June 22, 2005 2:02 PM by Twp
Great step by step I am moving from VMware and trialing Vitrual Server 2005 as a replacement. This really helped!

# re: Using Virtual PC 2004 Differencing Disks

Wednesday, June 22, 2005 5:30 PM by Nick
Not that I'm a huge advocate of VMware (I use Virtual PC and Virtual Server), but they did add a nice snapshot management tool for making it easier to track and manage all of those VHDs you end up creating.

I did a write-up diff. disks on my blog recently, but my instructions lack your nice screen caps. :)

http://addicted-to-it.blogspot.com/2005/06/virtual-pc-using-differencing-disks-to.html

# re: Using Virtual PC 2004 Differencing Disks

Wednesday, June 22, 2005 5:38 PM by Fraser Dickson
Very nice. It was my boss that brought that feature to my attention and I use it often.
Good set of instructions.

If only VPC installed Guest OS' a little faster....

# Virtual PC And Differencing Disks

Thursday, October 06, 2005 11:18 PM by TrackBack
As I'm sure I've mentioned in previous posts, I've been using Microsoft's Virtual PC for all of my Team...

# Правильно используем Virtual PC

Monday, December 26, 2005 4:19 PM by /home/makc
Разбирая записи и ссылки, наткнулся на две очень полезные статьи об использовани

# re: Using Virtual PC 2004 Differencing Disks

Friday, January 06, 2006 6:48 PM by Andy
Nice article. I've tried following your steps to create a Win2K Server base hard disk and then create a differencing disk for installations of SP3 and SP4, so 3 hard disk images in total. I've noticed however, that the size of the SP3 and SP4 disk images are bigger than the base disk image. I would have thought given the nature of differencing that it would only store the changes. Did I do something wrong or are Service Packs a special case scenario that requires a complete image as opposed to only the changes?

# re: Using Virtual PC 2004 Differencing Disks

Thursday, March 16, 2006 4:31 AM by Photik
Like Kipling, your page is a treasure. Many thanks

<a href = "http://www.photovideo-store.info">www.photovideo-store.info</a>

# re: Using Virtual PC 2004 Differencing Disks

Thursday, March 23, 2006 8:36 AM by Ajith de Silva
Hello,
Thanks for the infomation.

Hi, Is there a way to use the existing OS in HD via Virtual PC.
I want to use another XP version and Host also XP

Thanks,
Ajtih de Silva.

# What the Difference Between a Disk?

Tuesday, June 06, 2006 11:09 PM by Zupancic Perspective

# penis enlargement

Monday, November 27, 2006 7:46 AM by enlargement

penis enlargement

# Virtual PC Differencing Disk feature

Monday, June 18, 2007 1:41 PM by Hans Geurtsen

Aangezien ik nog steeds toegang heb tot de MoreInfo blogs, deel ik nog maar even langs deze weg wat kennis

# Nestor Sulikowski &raquo; Handling VHD files

Wednesday, June 10, 2009 12:39 AM by Nestor Sulikowski » Handling VHD files

Pingback from  Nestor Sulikowski &raquo; Handling VHD files

Leave a Comment

(required) 
(required) 
(optional)
(required) 

Enter the numbers above:
Powered by Community Server (Commercial Edition), by Telligent Systems