How to Convert VDI to VMDK in Windows

By Mark David

Virtualization allows you to run multiple operating systems on one system. There are several popular virtual hard disk formats in use such as VDI, VMDK and VHD. Oracle VirtualBox is a free virtualization platform and supports Windows, Mac and Linux. It can boot all three major hard disk formats and has the ability to convert existing virtual hard disks to other formats using its command line tool. Virtualbox uses the VDI format by default.

Step 1

Download and install the latest version of Oracle Virtualbox if it is not already installed.

Step 2

Press the "Windows" key and "R" to bring up a "Run" dialog box. Type "cmd" and press "Enter" to open a command prompt.

Step 3

Type "cd C:\Program Files\Oracle\VirtualBox." Change the "C" drive to the location of your "Program Files" folder.

Step 4

Type "VBoxManage clonehd filename.vdi filename.vmdk --format vmdk" and press "Enter." Replace both instances of "filename" with the actual files you want to import and export. For example, you could type "VBoxManage clonehd C:\Users\Test\linux.vdi C:\Users\Test\linux.vmdk --format vmdk" if you have a VDI file named "linux.vdi" in the "C:\Users\Test\" directory.

Tips & Warnings

  • Copy your VDI file to a safe location for backup before converting it to VMDK.