Clone a VMWare virtual machine

Posted in dev-sys on April 18, 2006

Simple one, you have a windows virtual machine and you want to copy it:

  • Copy the folder the VM is in (assuming you use a folder per virtual machine) and rename it to the new host name
  • Click on the .vmx icon (you can rename this file first so it's new-host-name.vmx)
  • Select "Edit this virtual machine's settings"
  • Under Hardware -> Hard Disk -> 'disk file', overtype so its new-host-name.vmdk file name (which you've not renamed yet). You'll get an 'Are you sure' type message, say yes.
  • Under Options, change the virtual machine name
  • Rename the vmdk file with the name that you used in the step above
  • Start up the VM, when all working make sure you change the computer name (My computer -> properties -> Computer name) and if you've hard coded the IP either change it or switch to DHCP

This worked for me using VMWare 4.5.

Comments (0)