VMC to Hyper-V Import Tool Available
VMC to Hyper-V Import Tool
Now that we have launched the Microsoft Virtualization strategy this Monday, I wanted to release my tool so people could start using it to import their old Virtual Machine configurations. So first of all, what is the VMC to Hyper-V Import Tool and what was it intended for?
The tool
VMC to Hyper-V Import Tool, VMC2HV for short, imports the configuration from a Virtual Machine Configuration (VMC) file. Both Virtual PC and Virtual Server use VMC files to store the hardware and other properties of a VM. It 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 was developed to ease the transition from Virtual Server to Hyper-V. As I explained in an earlier post, I was quite annoyed by the fact that I had to enter all hardware properties manually if I wanted to use the VHD files from the Virtual Server VM with the hardware settings as they were in the original VM. It really took a lot of time to get my VS VM’s under Hyper-V. So I did not want to do that again and decided to develop a tool that would import the properties for me (development of the tool took quite more time but it was fun…).
Scope
The scope of the tool was initially to import Virtual Server VMC files. But some people also wanted to be able to import Virtual PC VMC files. So I did some additional testing with Virtual PC 2007 VMC files. It was not extensive but I did modify the code in several places to accommodate the differences between Virtual PC and Virtual Server. I did not specifically test Virtual PC 2004 VMC files. I imported several and it worked but I didn’t test those VMC files since the product has been superseded long ago. Basically the same is true for Virtual Server 2005 R2 SP1. I only tested VMC files under the latest release of Virtual Server 2005.
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) 2008.
Comparison with SCVMM
VMC2HV was never developed to replace the SCVMM functionality, as VMRCplus was never developed for the same reason. 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 basically does the same but was intended for people who do not (yet) have SCVMM. For example all people using Hyper-V on laptops or a couple of servers. Using SCVMM just for importing VMC files would be a bit too much of a step.
Features
So what does the tool offer? In a list of features:
· Import of VMC files of both VS2005 and VPC2007
· Creation of VM on local Hyper-V host
· Creation of VM on remote Hyper-V host
· Validation of virtual disk and ISO files in local scenario
· Editing of virtual drive image paths (vhd, vfd, iso)
· Swapping of the first SCSI disk with the first IDE disk
· Specification of static MAC addresses
· Specification of either legacy (emulated) or enhanced network adapter
· Specification of # of virtual processors and resource control
· Specification of management settings
· Specification of COM ports
· Specification of device boot order
· Specification of alternate Virtual Machine path
· Built-in help in CHM file
· Support for both x86 and x64 Vista and Server 2008
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.
Requirements
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.
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.
Support
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 may 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 and save the configuration from there. It will be reformatted in Virtual PC 2007 layout and likely to 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.
Before submitting any issues, please press F1 and see if your question is addressed in the help file. As the license agreement states, I may not support an issue at all or may not have the time. I will support on a best-effort basis.
Download
You can find both the x86 and x64 files here.
Comments
Anonymous
January 01, 2003
I have no idea. Please send me a mail with details of your configuration and what steps you took.Anonymous
January 01, 2003
Matthijs ten Seldam, der Entwickler von VMRCPlus hat nun ein Tool zur Verfügung gestellt, welches dieAnonymous
January 01, 2003
Tool zum Konvertieren von VMC-Dateien in eine Hyper-V-KonfigurationAnonymous
January 01, 2003
Nice and handy tool!! Unfortunately the window is too big for my laptop with res 1200x800 :-( Any chance to rearrange the interface or to create tabs? Thanks and ciao, GiangiAnonymous
January 01, 2003
The best tool for converting virtual machines to Hyper-V is System Center Virtual Machine Manager 2008,Anonymous
January 01, 2003
The comment has been removedAnonymous
January 01, 2003
We ran a Hyper-V day at the end of October, and collated a series of useful links and best practice guidance.Anonymous
January 01, 2003
Matthij, who has developped VMRC+, has just released a new tool that helps import Virtual Server or VirtualAnonymous
January 01, 2003
Я уже писал ранее о том, что автор VRMCPlus ведет разработку утилиты, импортирующей настройки виртуальныхAnonymous
January 01, 2003
Ben Armstrong: For users who want to move virtual machines from Virtual Server to Hyper-V there are twoAnonymous
January 01, 2003
Hola, hay abundante información sobre este tema por ahí, pero intentaré "resumir" aquí las diferentesAnonymous
January 01, 2003
サポートが受けられるようなツールではなさそうですが、もし興味をお持ちの方がいたら使ってみてはいかがでしょうか? http://blogs.technet.com/matthts/archive/2008/09/12/vmc-to-hyper-v-import-tool-available.aspxAnonymous
January 01, 2003
Here's my obscenely vast list of resources that I actually do reference and send to customers on a veryAnonymous
January 01, 2003
VMC to Hyper-V Import Tool, VMC2HV for short, imports the configuration from a Virtual Machine ConfigurationAnonymous
January 01, 2003
Have you ever gone looking for one thing only to find something else totally unrelated but really cool? Anonymous
January 01, 2003
Matthijs has created a tool that will help you import your Virtual Machine Configuration (VMC) file fromAnonymous
January 01, 2003
Matthijs' blog blog post describes the VMC2HV tool you can use to only import your Virtual Server andAnonymous
January 01, 2003
Ce n’est pas très difficile mais il y a quelques pièges a éviter (les disques bootables SCSI, par exempleAnonymous
January 01, 2003
Giangi, I am working on an updated version with Hyper-V v2 support. This has a Tabbed ui and requires a smaller resolution. MatthijsAnonymous
January 01, 2003
Feed: Virtual PC Guy's WebLog For users who want to move virtual machines from Virtual Server toAnonymous
January 01, 2003
Matthijs ten Seldam is een Microsoft (Nederland) medewerker die veel doet met Hyper-V. Naast infrastructureleAnonymous
January 01, 2003
Feed: Virtual PC Guy's WebLog For users who want to move virtual machines from Virtual Server toAnonymous
January 01, 2003
TomFanning - the resolution to the problem of a Vista machine ported from Virtual PC to Hyper-V, wherein the Mouse Integration and "Virtual Bus" driver aren't working, can be found at http://social.technet.microsoft.com/Forums/en-US/winserverhyperv/thread/a3b36767-b707-4536-b017-83bab5657dcf When a Vista or 2008 vm comes from VS or VPC, you need to:
- run msconfig
- go to the Boot tab
- click the Advanced options button
- check Detect HAL
- click OK
- click OK
- reboot the vm
- apply Integration Services
Anonymous
January 01, 2003
The comment has been removedAnonymous
January 01, 2003
The comment has been removedAnonymous
January 01, 2003
Matthijs ten Seldam has produced a cool tool that allows you to take your existing Virtual PC / VirtualAnonymous
January 01, 2003
Feed: System Center Virtual Machine Manager Have you ever gone looking for one thing only to find somethingAnonymous
January 01, 2003
Patch Per produrre un ambiente stabile basato su Windows Server 2008 e Hyper-V , non bastano un buonAnonymous
January 01, 2003
The download link does not function currently.Anonymous
January 01, 2003
Excellent Tool Matthijs! Going to download it and give it try now.Anonymous
January 01, 2003
Feed: System Center Virtual Machine Manager Have you ever gone looking for one thing only to find somethingAnonymous
January 01, 2003
(updated 9/26/08) My current project involves being the only dedicated technical resource on the VirtualizationAnonymous
December 04, 2012
I need this tool for Windows Server 2012. Will there be a new version for this OS?Anonymous
January 18, 2013
This doesn't work for Hyper-V in windows 8. Why didn't microsoft provided a tool for us to migrate our Virtual machines to Hyper-V ? Now I can't install Virtual PC in my Windows 8 and I can't import my ancient virtual PC machines into Hyper-V. GREAT!!!Anonymous
August 30, 2013
All sites show us this migration-tool, but it does not work on windows 8. "incompatible with the version of host". How can I get my existing VMCs to work on Win8? No VirtualPC2013-Version for win8 available and no migration tool to hyper-v... :-(Anonymous
February 19, 2014
I can't even connect... the tool crashes on Windows 8 when pressing the connect button ? Anyhow... it seems useless anyway as I need the old virtual PC on Hyper-V in Windows 8.Anonymous
April 29, 2014
System.Management.ManagementException: Não encontrado
em System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
em System.Management.ManagementObject.Initialize(Boolean getObject)
em System.Management.ManagementBaseObject.get_wbemObject()
em System.Management.ManagementBaseObject.get_ClassName()
em System.Management.ManagementClass.GetInstances(EnumerationOptions options)
em o.c(String A_0, String A_1, String A_2)
em o.ae(Object A_0, EventArgs A_1)
em System.Windows.Forms.Control.OnClick(EventArgs e)
em System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
em System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
em System.Windows.Forms.Control.WndProc(Message& m)
em System.Windows.Forms.ButtonBase.WndProc(Message& m)
em System.Windows.Forms.Button.WndProc(Message& m)
em System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
em System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)Anonymous
April 29, 2014
I installed the x64 version on my 64 -bit Windows 8.1 .
When I click the Connect button with host localhost , error exception occurs :
Does anyone know what can be ?Anonymous
May 14, 2014
Same problem here... no hint yet.Anonymous
August 29, 2014
I have x64 on 64b Win 8.1 and have the same problem as others. Error message only says "not found." I tried to connect using machine name and credentials, but that did not work, because it says to use localhost and no credentials for a local connection.Anonymous
August 29, 2014
BTW - I also tried to run the tool as Administrator. That made no difference...Anonymous
August 29, 2014
BTW - I also tried to run the tool as Administrator. That made no difference...Anonymous
November 04, 2014
Same Thing using win8.1 64x message: "Not found" anyone resolve it yet? thanks!Anonymous
September 07, 2015
I'm using Windows 10 and have the same issue:
"Not Found" error when I ckick in"connect" button with "localhost" and empty credentials.Anonymous
November 03, 2015
The comment has been removedAnonymous
December 17, 2015
The comment has been removedAnonymous
April 08, 2016
When starting the app, and connecting to localhost, it throws an exception, saying "not found".Anonymous
April 24, 2016
The comment has been removedAnonymous
April 24, 2016
The comment has been removedAnonymous
April 24, 2016
I don't think this works on Windows Server 2012......too old/not updated ??? Love to be wrong....Anonymous
April 24, 2016
The author no longer works for Microsoft :
Delivery has failed to these recipients or distribution lists:
matthts@microsoft.com
A communication failure occurred during the delivery of this message. Microsoft Exchange will not try to redeliver this message for you. Please try resending this message later, or provide the following diagnostic text to your system administrator.
Diagnostic information for administrators:
Generating server: by2msftvsmtp04.phx.gbl
matthts@microsoft.com
#< #5.4.1 smtp;550 5.4.1 [matthts@microsoft.com]: Recipient address rejected: Access denied> #SMTP#
Original message headers:
Received: from CO1MSDNBLOGS01 ([10.114.72.90]) by by2msftvsmtp04.phx.gbl with
Microsoft SMTPSVC(6.0.3790.4675); Sun, 24 Apr 2016 02:22:22 -0700
Content-Type: text/html; charset="utf-8"
From:
To:
Subject: =?utf-8?Q?TechNet=20Blogs=20-=20Contact=20request:=20=20VMC2HV=20does?=
=?utf-8?Q?=20not=20work=20on=20Windows=20Server=202012?=
Content-Transfer-Encoding: Quoted-Printable
Return-Path: Michael.green@solventgreen.com
Message-ID:
X-OriginalArrivalTime: 24 Apr 2016 09:22:23.0025 (UTC) FILETIME=[CF00C210:01D19E0A]
Date: Sun, 24 Apr 2016 02:22:23 -0700
MIME-Version: 1.0