Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to convert a VDI HDD to a VHD?

share|improve this question
up vote 5 down vote accepted

The best way is to use VBoxmanage as explained by Derek P. If you have an old VirtualBox, either upgrade, or:

You convert VDI to VMDK, then convert VMDK to VHD in one of several ways:

  1. VMWare VCenter Converter Standalone Client
  2. vmToolkits VMDK to VHD converter
  3. WinImage (shareware)
share|improve this answer
how would i convert the VMDK to VHD? – IT_07 Nov 12 '09 at 5:36
This is a horrible way of doing it, look at the posts below for a better way. – cc0 Dec 22 '10 at 8:31
@cc0, you're right. Back when I wrote this though, VBoxManage didn't support vdi to vhd, just the other way around. Derek P's answer is better. – DaveParillo Jan 6 '11 at 18:44

This function is built into VirtualBox:

VBoxManage clonehd source.vdi target.vhd --format vhd
share|improve this answer
Worked like a charm, thanks! – Krisc Feb 18 '11 at 11:05
Excellent. Thank you! – whatever Feb 19 '14 at 10:05

There is a new option now in VirtualBox 4.1 to copy a VDI with a new format (including VHD), which is equivalent to the command Derek P pointed out last year, but in a nice GUI :)

share|improve this answer

Yes, as Derek said, builtin tool with VirtualBox works well under Windows OS without any third party software. Converted OS is booting without any troubles, for more information with example steps check this post,

VDI to VHD – Convert VirtualBox Virtual Machines to Virtual PC

share|improve this answer

Without downloading and installing VirtualBox, you can use qemu-img from QEMU package:

qemu-img.exe convert source.img -O vhdx -o subformat=dynamic dest.vhdx

Download for windows:

share|improve this answer

You must log in to answer this question.

protected by studiohack Apr 27 '11 at 1:25

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .