Following are the various file types registered on a user’s machine when Windows® Virtual PC is installed:
.VMC (Virtual Machine Configuration)
Contains Virtual Machine (VM) configuration like RAM, hard disk, network settings and undo disk settings. This file is associated with vmwindow.exe.
Yes
.VHD (Virtual Hard Disk)
This is the hard disk of VM and most important file to back up. This is a large file and it should be created on disk volume with enough free space. All data for the VM including the operating system data are stored in this file. Refer this article for more details for understanding disk types.
.VUD (Virtual Undo Disk)
Undo disk for the VM. When undo disk option is enabled all changes to VM are stored in this file. This file is generated at the same path as the .VMC file. So, if you keep undo disk enabled for long time, make sure there is enough free disk space in the volume.
.VSV (Virtual machine Saved-State)
Dump of virtual machine RAM. Helps to restore VM quickly. Size of this file is the same as amount of RAM assigned to the VM
No
.VFD (Virtual Floppy Disk)
Floppy disk image. There is no UI to attach VFD to VM since usage of floppy is obsolete. User can still use COM API to attach vfd to VM
.VMCX (vmc eXtended)
This is used by VPC for internal usage only. Explorer shell uses this file to display virtual machine information to the user
. vpcbackup
Internal use only. Keeps backed up .vmc file
Now with the understanding of various file types, it should be clear that .VHD is the most important file to save when you want to back up a VM. Follow the steps as below:
Let’s walk through an example for backing up a VM created in Windows® XP Mode:
Figure 1. Specifying the Hard Disk location in Windows XP Mode Settings UI
3. Check Undo disks settings. If this is enabled, open directory of .VHD as shown in hard disk page. Here you can find the .vud file
4. The .VMC file is stored at %localappdata%\Microsoft\Windows Virtual PC. You can find the path of .VMC file in “Virtual Machines” folder. Refer “Configuration file” column in this folder
5. Copy .VMC, .VHD, .VUD file to backup virtual machine. Make sure you keep the relative path same for diff disk VHD and parent VHD. A typical out of box installation of Windows XP Mode VM involves the following files to backup
There are various ways to back up the VM files. You may be using Windows® backup for complete system backup or making volume back up using VSS or you may use simple copy to save VM files. The important point is to backup all required files (.VHD, .VUD, .VMC) and restore them using same toolset.
Vinod Atal
SDE
Microsoft Virtualization Team