views:

252

answers:

4

Hi,

How do I clone an existing virtualPC (2007) vm ?

I am setting up my development environment and want to clone it, and also keep one as a backup that has all my baseline installs.

+2  A: 

Just make a copy of the vhd (the virtual hard disk) and vmc (the settings) files. You may need to edit the vmc to point to the renamed vhd file (if you choose to use a different name)

Alternately make a new virtual machine, say that it's based on an existing vhd and point it to the copy.

Daniel LeCheminant
so when its based on an existing, it won't effect the existing one obviously right?
If you point it to the copy, it won't affect the original. If you really want to be sure, make the original VHD read-only - VirtualPC will respect this flag.
Piskvor
Like Piskvor says, if the "existing" is the *copy* of the vhd, you should be okay.
Daniel LeCheminant
A: 

Because I Virtual PC is just a couple of files, you can just copy the Virtual PC file (VMC) and Virtual Hard Drive(s) (vhd) and you've cloned the device.

Don't forget you can also use the Undo disk feature to reset all the changes made to the Virtual PC over a session.

Nidonocu
A: 

Each Virtual PC has its own folder and set of files; simply make a copy of its folder and you have a second copy of the machine.

I believe by default it's in My Documents > My Virtual Machines.

routeNpingme
A: 

Just make sure you run NewSid on the copied machine if you ever plan on booting both machines (doesn't matter whether in the same time or not).

muerte