vmtoolkit.com
The source for virtual machine tools and expertise
Welcome to vmToolkit Sign in | Join | Help
in Search

Announcements

VMDK to VHD Converter Available

We have made our first tool; the VMDK to VHD file converter, available on our downloads page. This is a file conversion tool it will not make any modifications to the source image such as uninstalling VMTools etc... but it will leave your source VMDK un-touched so you can continue to use it.

We use it test and move VMWare images and appliances into Virtual Server and Virtual PC. Please use it and abuse it, let us know if you have any questions or problems in the forums. The only pre-requisite is .NET Framework 2.0. We do not have a linux version at the moment.

Update: 1.0.13: 2/13/2006

  • Resolves problem with VMDK's produced with VMWare Converter
Published Monday, November 20, 2006 1:52 PM by paulm
Filed under:

Comments

 

RichardBowden said:

This is what i have been looking for, i want to use VMWare P2V tool to do the conversion becuase it actually works un like microsoft offering, then conver the hard disks from vmdk to VHD, i am going to give this tool a blast, if it works it has 50+ server hard drives to convert.

November 29, 2006 2:37 AM
 

paulm said:

RichardBowden: Let us know how it goes if you can. That's an interesting path to get a physical machine into vhd. Is is the VSMT tool from MS that isn't working?

November 30, 2006 4:40 PM
 

Maciek said:

Wow, perfect timing with the release of this tool! Exactly what I was looking for, thanks.

December 5, 2006 8:29 PM
 

spot said:

The exact tool I am searching for. It worked like a charm. Converted a vmware .vmdk with CentOS 4 as guest os to .vhd to be used on Virtual Server 2005 R2. Worked withou tany problem. Guest OS booted and reconfigured its drivers. Done. Thank You very much.

December 12, 2006 6:40 PM
 

Dugie's Pensieve said:

I've just come across an awesome little tool called VMDK2VHD. VMDK2VHD converts VMware virtual...

December 13, 2006 7:23 PM
 

Virtual PC Guy's WebLog said:

As covered by Andrew Dugdell (aka Dugie) there is now a tool available to convert VMware virtual hard

December 14, 2006 12:04 AM
 

VMblog.com - Virtualization Information said:

Over at the VMToolKit Web site, they've released their first downloadable virtual machine tool, and it's a really good one! The VMDK to VHD file converter is available on their download page. This is simply a file conversion tool that will convert virtual

December 14, 2006 4:49 AM
 

Geeking Microsoft said:

I blogged a long time ago about VMWare's ability to convert a Microsoft vitual machine to VMware's virtual

December 14, 2006 8:27 AM
 

Christian Saborío's Blog said:

Many people at Artinsoft use VMWare for their Virtualization needs. This quickly became a hassle...

December 14, 2006 9:47 AM
 

Technical Weblog of Eric Charran said:

I was struggling with this for some time. Here is a great link on how to do it easily! Many customers

December 14, 2006 8:48 PM
 

gsustech said:

From the tests that I made, it seems that this tool does not accept Linked-Clone VMDKs and also does not accept VMware GSX VMDK files (older VM hardware).

Apart from this, the tool worked well for standard VMDKs.

Anyone done some other tests?

December 15, 2006 2:29 AM
 

brookz said:

Works good for VMware vmdk that had XP or 2003 installed, however Vista doesnt seem to like it much :(

December 15, 2006 8:33 AM
 

CoqBlog said:

Je viens de le découvrir via le blog de Ben : il existe un outil permettant de convertir les fichiers

December 15, 2006 11:47 AM
 

[MSFT-BE] Arlindo's Blog - IT Pro Evangelist said:

Always wanted to migrate your VmWare virtual harddisks VMDK into our Virtual Harddisks VHD. Now is the

December 15, 2006 2:23 PM
 

John Luif said:

December 15, 2006 3:08 PM
 

fdgdfgdfgd said:

December 16, 2006 4:14 AM
 

JulioCampos Blog. said:

Microsoft Dynamics CRM 3.0 VPC , 3.2Gb Internet Explorer 6 Application Compatibility VPC Image , 495Mb

December 16, 2006 7:22 PM
 

Welcome to Flaphead.com @ Home said:

Duane sent me this link … It’s a FREE tool that will convert VMWare VMDKs to Virtual...

January 2, 2007 5:05 AM
 

tomdr said:

I installed the tool and converted a VMware HD to VPC but unfortunately I doesn't run in VPC. I can load it in the console and adjust the settings. When I press start the VPC seems to boot but the screen turns black and it won't go any further.

January 8, 2007 6:46 AM
 

darkeddie said:

I see the same thing as tomdr... what happened?!

January 27, 2007 8:08 AM
 

Christian Saborío's Blog said:

There are many many alternatives out there that will assist you to migrate a Physical machine to a Virtual...

January 30, 2007 12:49 PM
 

paulm said:

If you are converting a Windows based VMDK there are some pre-req steps required to get it to work without getting the black screen on boot.

There is a forum thread on the black screen problem here:

http://vmtoolkit.com/forums/thread/78.aspx

Or you can look at this post from Chris Wolf: http://vmtoolkit.com/blogs/paul/archive/2006/12/14/preparing-a-windows-vmdk-for-conversion.aspx you will get some guidance on "How to migrate VMware virtual machines to Virtual Server" you will just need to go through part one (don't forget to make a copy of the original) then use our converter.

January 31, 2007 4:28 PM
 

Lance's Whiteboard said:

I recently wanted to retry the idea of using virtual development environments instead of developing locally

February 22, 2007 9:02 AM
 

nilesf said:

This VMDK file that I am trying to convert is valid. This VM is not running. The VMDK file is 30Gb in size. Please advise.

Thanks,

Niles

March 14, 2007 6:37 PM
 

nilesf said:

"Invalid VMDK file, please select another"

This VMDK file that I am trying to convert is valid. This VM is not running. The VMDK file is 30Gb in size. Please advise.

Thanks,

Niles

March 14, 2007 6:39 PM
 

sgheeren said:

Great tool! I had the problem mentioned a few times, that converstion completes without problem, but the system won't boot. I tried Win2k3 repair with fixthis and chkthat (disable vmscsi, vclone etc. etc.) but no luck. Then i stumbled on this site which will be interesting for all our readers:

http://searchservervirtualization.techtarget.com/tip/0,289483,sid94_gci1225164,00.html?asrc=SS_CLA_303373&psrc=CLT_94

I'm going to give it a try. Anyways, since I don't trust complicated URLs to remain valid after a day, i suppose the core bit of it involves

1. removing vmtools

2. restoring hal/ntoskernel from the proper SERVICE PACK (!!!!)  and

3. running a script to disable VMWare specific boot drivers

'prepvm.vbs

'Removes VMware-specific drivers from a system

On Error Resume Next

' Instantiate Shell Object

Set objShell = CreateObject("WScript.Shell")

' Disable VMware Tools Service

objShell.RegWrite "HKLM\\SYSTEM\\CurrentControlSet\\Services\\VMTools\\Start", _

                4, "REG_DWORD"

' Disable VMware vmx_svga video driver

objShell.RegWrite "HKLM\\SYSTEM\\CurrentControlSet\\Services\\vmx_svga\\Start", _

                4, "REG_DWORD"

' Disable VMware vmmouse driver

objShell.RegWrite "HKLM\\SYSTEM\\CurrentControlSet\\Services\\vmmouse\\Start", _

                4, "REG_DWORD"

' Disable VMware vmscsi driver

objShell.RegWrite "HKLM\\SYSTEM\\CurrentControlSet\\Services\\vmscsi\\Start", _

                4, "REG_DWORD"

' Disable VMware PCnet driver

objShell.RegWrite "HKLM\\SYSTEM\\CurrentControlSet\\Services\\PCnet\\Start", _

                4, "REG_DWORD"

' Disable VMware Buslogic driver

objShell.RegWrite "HKLM\\SYSTEM\\CurrentControlSet\\Services\\buslogic\\Start", _

                4, "REG_DWORD"

' Disable SCSI Miniport drivers

objShell.RegWrite "HKLM\\SYSTEM\\CurrentControlSet\\Services\\symc810\\Start", _

                4, "REG_DWORD"

objShell.RegWrite "HKLM\\SYSTEM\\CurrentControlSet\\Services\\symc8xx\\Start", _

                4, "REG_DWORD"

objShell.RegWrite "HKLM\\SYSTEM\\CurrentControlSet\\Services\\cpqarray\\Start", _

                4, "REG_DWORD"

objShell.RegWrite "HKLM\\SYSTEM\\CurrentControlSet\\Services\\pcntn4m\\Start", _

                4, "REG_DWORD"

objShell.RegWrite "HKLM\\SYSTEM\\CurrentControlSet\\Services\\cpqnf3\\Start", _

                4, "REG_DWORD"

objShell.RegWrite "HKLM\\SYSTEM\\CurrentControlSet\\Services\\MRaidNT\\Start", _

                4, "REG_DWORD"

' Restart Computer

strComputer = "."

'Prompt user of impending reboot

WScript.Echo("The system is prepared for imaging and will now shutdown.")

WScript.Sleep(3)

Set objWMIService = GetObject("winmgmts:" _

   & "{impersonationLevel=impersonate,(Shutdown)}!\\\\" & _

       strComputer & "\\root\\cimv2")

Set colOperatingSystems = objWMIService.ExecQuery _

   ("Select * from Win32_OperatingSystem")

For Each objOperatingSystem in colOperatingSystems

   objOperatingSystem.Shutdown()

Next

April 1, 2007 8:18 AM
 

sgheeren said:

Let me just inform y'all that the information i posted found in the previous post indeed fixed the problems for me!

April 1, 2007 8:57 AM
 

Tobidom Weblog said:

April 19, 2007 1:51 AM
 

bradleydg said:

Every time I try to run is I get invalid vmdk please select another. Does anyone have any suggestions?

July 17, 2007 8:17 PM
 

daniele2 said:

When I run Vmdk2Vhd to convert any vmdk file (e.g. http://s94002264.onlinehome.us/grub/vmk520_45731.zip), I get

"Invalid VMDK file, please select another"

This VMDK file that I am trying to convert is valid.

Any ideas anyone?

July 20, 2007 6:13 AM
 

paulm said:

Make sure your VMDK file is not sitting on a compressed volume. In a number of cases, that causes the issue of the: "Invalid VMDK file, please select another" message. We are going to have a look at it. (thanks to Kenny)

August 9, 2007 9:43 PM
 

d500 samsung phone model said:

d500 samsung phone model

November 5, 2007 5:33 AM
 

mzanier said:

Same problem to me, always invalid file...

November 28, 2007 7:05 AM
 

Gadi's Blog said:

אז התקדמתם, יש לכם כבר עשרות מכונות וירטואליות, שרצות על Virtual Server כמובן (אני לא יורק לבאר :) )

December 5, 2007 9:55 AM
 

k.honda said:

d

December 12, 2007 1:01 AM
 

k.honda said:

d

December 12, 2007 1:01 AM
 

taheireem said:

that's the tool i was looking for,keep it up developers

December 24, 2007 9:40 PM
 

Mirrored Blogs said:

Si bien no tiene mucho que ver con SharePoint, hace algun tiempo un cliente con plataforma en VMWARE

March 19, 2008 9:28 AM
 

motoki_4n said:

Thank You

June 15, 2008 9:06 PM
 

tponnet said:

I too get the "Invalid VMDK file, please select another" message, has this issue been resolved or a workaround found?

Thanks!

July 4, 2008 1:50 AM
 

khalil.benz said:

disable NTFS compression  and it will works

Thanks for this tools

Khalil

July 20, 2008 10:31 AM
 

jbinarao said:

When I started my VMDK to VHD conversion, I browsed to the directory containing my VMware virtual, and I noticed 2 VMDK files:

- "vmXP" [1KB]

- "vmXP-flat" [10GB]

I selected the larger of the two files (10GB) and got the "Invalid VMDK file, please select another" error. I selected the smaller one (1KB) and the conversion took off and completed successfully.

Then I used Virtual PC 2007 and went through the New Virtual Machine Wizard:

- Create a virtual machine

- Assigned a named for the virtual and browsed to converted VHD directory

- Selected OS

- Adjusted RAM

- Selected "An existing virtual hard disk" (My newly converted VHD)

- Browse to the converted VHD (I like Undo Disks because I test alot)

- Finish

Started the new virtual, and worked great!

August 22, 2008 5:48 AM
 

Shafquat Hussain Mahar's blogs said:

Converting the VPC image to VMWare does not require any add-on, just open the VMWare and select the VPC

September 14, 2008 1:01 PM
 

unique_ching said:

I also get the error message of invalid vmdk files.

Here is what I did for the conversion

I got a ESX 3.5 server which holding few inventories. Then I stopped the target machine from VMWare Infrastructure Client and copy the two vmdk files to my PC. Then I install the captioned software in the PC and choose the vmdk files to convert. But both got me the error messages.

Any ideas?

December 18, 2008 8:15 PM
 

Be.St.Blog said:

Convertire una macchina Hyper-V in VMware

February 28, 2009 2:16 AM
 

JBDive said:

Same problems, invalid vmdk.

March 5, 2009 10:20 PM
 

bryanc said:

invalid vmdk, what gives, no replies? great tool - but it doesnt work?

March 18, 2009 9:23 AM
 

bryanc said:

Download winimage to convert from VMDK to VHD, this works perfect.

March 18, 2009 9:29 AM
 

bagslead said:

this is very useful for my work.thanks

March 29, 2009 8:30 AM
 

dharmendr22 said:

invalid vmdk says, great tool - but it doesnt work?

April 10, 2009 2:30 AM
 

bpeckhart said:

I downloaded the 1.0.13 version fo the vmdktovhd tool.  I keep getting Invlaid file when I run it against the vmdk from VMware 3.x.  Is there something I am doing wrong when I Export virtual to create the vmdk? I have tried it on multiple vmdk files that we have exproted from vmware without any success.  I am stuck and could use some direction.

April 30, 2009 12:35 PM
 

KAF said:

I have the same problem where is days invalid vmdk and the drive was not compressed.

I did get it to work though. Try unzipping the file to your hard drive. It worked for me.

Running the exe straight out of the zip didn't work

May 11, 2009 7:21 PM
 

MikeByrne said:

Not sure if anyone else had this problem/solution with linux so I'll mention it.  My ubuntu vm wouldn't boot up after converting from vmware server vmdk to vhd for use in hyper-v.  The machine would hang just after grub, and after several minutes return hda doesn't exist error.

Followed instructions here and it worked.

http://dietrichschroff.blogspot.com/2008/10/using-vmware-images-with-virtualbox.html

Basically just changing fstab and grub info to reference hda instead of sda (the scsi vs ide error) fixed.  Also on a side note for networking only a 'legacy network adapter' would work - not the marvell one.

July 21, 2009 11:32 AM
 

cstutz said:

I had a problem similar and found because to be happening. You scheme physical converted into virtual for the Vmare VCenter Converter, occur

this problem. I converted these you scheme using vmtoolkit and gave the message of ' Disk Read Error' in the hour it schemes to initiate it.

You scheme already them that they had been installed virtual in the Vmware and they had not been converted, function normally. That I finish

it release of the Vmdk2Vhd adjusts problems related to the Vmware Converter, but the same already it was discontinued and now it is the

Vmware VCenter Converter. They would have you some solution for this case of machines converted with the Vmware Vcenter Converter? Thanks!

August 14, 2009 10:39 AM
 

pduhaime said:

I got "invalid VMDK file" as well. Not on a compressed drive, not being used, program unzipped. Finlay gave up and and using winimage which works perfectly!!!!

October 13, 2009 2:50 PM
 

Youporn said:

Perfect timing with the release of this tool!

January 16, 2010 3:13 PM
Anonymous comments are disabled
Powered by Community Server, by Telligent Systems sponsored by xcarab, inc