VMC2HV – update for 2008 R2 SP1 available
Exactly one month after my blog post on the work on the updated version of VMC2HV for Windows Server 2008 R2 SP1, I announce the availability as of today. The tool has several new features, a different UI and many improvements over the previous version. If you want to import your VMC’s from Virtual Server 2005, Virtual PC 2007 or Windows Virtual PC then now you can.
VMC to Hyper-V Import Tool, VMC2HV for short, imports the configuration from a Virtual Machine Configuration (VMC) file. Virtual Server, Virtual PC 2007 and Windows Virtual PC use VMC files to store the hardware configuration and other properties of a VM. VMC2HV reads the VMC file and maps all relevant properties to those for a Hyper-V VM. For those properties that did not exist, it provides additional options. Those properties that no longer exist are ignored.
VMC2HV imports settings from VMC files created with Virtual Server 2005, Virtual PC 2007 and Windows Virtual PC (the release for Windows 7). Importing has been tested with many different VMC files coming from different releases.
VMC2HV is intended for the IT Pro who only needs basic import functionality and not the extensive functionality (and extensive requirements) of SCVMM (see also the comparison below).
Out of scope
The tool imports a VM configuration. This means it does nothing inside the VM like removing Virtual Machine Additions or installing Integration Components. I just want to make that clear to manage the expectations. Although uninstalling the Additions, installing the Integration Components and the process involved requires some work it is much less than reading the VMC file and searching and copying the hardware properties over to Hyper-V. If you want automatic removal of Additions and installation of Integration Components, use System Center Virtual Machine Manager (SCVMM).
Comparison with SCVMM
VMC2HV was never developed to replace the SCVMM functionality, as VMRCplus was never developed to fully replace Virtual Server Administration. SCVMM is an enterprise class product which you should use to import, create and manage virtual machines. SCVMM can import the VMC file as well and provides some additional management functionality.
VMC2HV has much less requirements; it only needs the .Net Framework. It installs (and uninstalls) in seconds and is simple and easy to use.
So what does the tool offer? See the categories of VM properties below. Besides importing the VM properties it also lets you:
· Set the VM Name
· Set Notes
· Set the VM Path
· Set the Snapshot File Location
· Set the Start and Stop actions
· Set the Integration Services
· Set the Num Lock key
· Set the startup order
· Set static memory
· Set dynamic memory and properties
· Set memory weight
· Set number of processors
· Set resource control
· Set processor compatibility
· Set the virtual drive image paths
· Toggle import of virtual drive
· Swap the first SCSI disk to the first IDE disk
For each adapter:
· Set MAC address
· Toggle adapter type
· Toggle MAC address spoofing
· Select Virtual Network to connect to
· Set VLAN ID
· Set the COM port property for COM1 and COM2
As you can see, VMC2HV not only imports the configuration but lets you adjust almost any setting before creating the VM in Hyper-V. Several shortcut keys have been added to help speed the process if you only want to do an import-and-create of many VMC files.
VMC2HV requires the .Net Framework 3.5.
VMC2HV supports both x86 and x64 Windows 7 SP1 and Windows Server 2008 R2 SP1. There is a separate version for each architecture.
The Hyper-V host must be running Windows Server 2008 R2 SP1.
You can import VMC files from any file location. Then you can create the VM either locally or remotely. In the remote scenario, both the client where VMC2HV runs and the remote Hyper-V host must be in the same domain. Or alternatively, both client and remote Hyper-V host can exist in a workgroup but you need to use mirrored administrator accounts (both same administrator, same password). Other configurations simply do not work.
When running VMC2HV in a remote scenario, you must set file paths using local syntax. VMC2HV does not contain a remote disk/folder browser. For example when a VHD exists in c:\vm you must use c:\vm as the file path, not a UNC path.
The tool prevents importing VMC files which contain either saved state information or Undo disks. VM’s must be shut down and Undo disks must be committed or discarded.
I hope it just works for you but I know there are always circumstances I did or could not test. If you run into issues with a VMC file, send me the file and I will look at it to see what causes problems. If the VMC file is from an old Virtual PC version, I prefer you open the VMC file in Virtual PC 2007 SP1 first and then save the configuration from there. It will be reformatted in Virtual PC 2007 layout and likely solve any import issues. If you cannot, I can look into the specific issue. The same applies to old Virtual Server VMC file versions. If import fails when using the latest VMC files, send a copy to me.
You can find both the x86 and x64 files here.