How to clone a VirtualBox VM

It seems it's not possible to clone a VM, but it is possible to clone a disk image. You just have to create a new VM which uses that image, which is pretty simple.

To clone the image that's located at d:\Virtual Machines\VirtualBox\WindowsXP\WindowsXP.vdi to d:\Virtual Machines\VirtualBox\WinXPVS2005\WinXPVS2005.vdi use the vboxmanage tool with the clonedvi command:

D:\Virtual Machines\VirtualBox>"c:\Program Files\innotek VirtualBox"\VBoxManage clonevdi "d:\Virtual Machines\VirtualBox\WindowsXP\WindowsXP.vdi" "d:\Virtual Machines\VirtualBox\WinXPVS2005"\WinXPVS2005.vdi
VirtualBox Command Line Management Interface Version 1.5.4
(C) 2005-2007 innotek GmbH
All rights reserved.

0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%

D:\Virtual Machines\VirtualBox>
page_revision: 4, last_edited: 1215260232|%e %b %Y, %H:%M %Z (%O ago)
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License