Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

4 Answers 4

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
2  
This is a horrible way of doing it, look at the posts below for a better way. –  cc0 Dec 22 '10 at 8:31
1  
@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! –  Magnum Feb 19 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

protected by studiohack Apr 27 '11 at 1:25

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.