How to Move VMware Virtual Machines to Another Host

User Author

Achilles.H

Junary 29, 2024

How to Move VMware Virtual Machines to Another Host

How do I share the virtual machine with others and use a virtual machine shared by others? It is essentially a question of how do you move the virtual machine to another computer. The general idea is to copy the files needed to run the virtual machine to another computer, and then run the virtual machine after some simple configuration. I will introduce it in how to move VMware virtual machines to another host. Let's get started now.

1. Prerequisites

You will need to do these preparations first.

1. Prepare a Removable media(a USB flash or hard drive) for transferring files between computers.(You can also transfer files through cloud storage services like Google Drive or OneDirve.)

2. Try to install the same version of VMware software on the computer on which the virtual machine will later run as the version used during the initial creation of the virtual machine. This can prevent potential compatibility issues.

3. Shut down the virtual machine before backing up. If possible, delete all snapshots taken in the start or pause state to prevent potential conflicts.

Attention: The hardware configuration of the two computers should not be too different. If the difference is too large, the virtual machine may not start properly.

2. Solutions

There are three ways to move a virtual machine to another pc, which are "export and import", "clone", and "directly copy vm files to another pc". All of these methods can be broken down into two steps, the first step is to acquire the necessary files for running the virtual machine, and the second step is to move these files to another computer. I will show you how to do it one by one.

Way 1: Use export and import feature to move vm

You can export the virtual machine through export feature provided by VMware Workstation Pro. The specific steps are as follows.

Step 1: Select the virtual machine you want to move.

Step 2: Export the virtual machine to the USB flash drive or other location through File -> Export to OVF. Wait patiently for the export process to complete.

select export to ovf

Tip: When you export it, you can change the file suffix to .ova, which can save all files into one file for easy transfer.

export to ova

Step 3: Open VMware Workstation Pro on another computer, and select File -> Open.

file open

Step 4: Navigate to the location where the exported files is stored, then select the ova file, click Open.

file open ova

Step 5: Name the virtual machine in the Import Virtual Machine Window that pops up. When you input the name, the storage path will be generated automatically. If you want to store it in another location, change it to your specified location.

name for the new vm import

Note: Storage path default is your default location for virtual machines, which concatenates with the name you input. You can change the default location for virtual machines through Edit -> Preferences. Then specify the desired storage location for virtual machines by navigating to the Default location for virtual machines option under the Workspace tab.

default location for virtual machines

Step 6: Click Import, and wait for it to complete.

Step 7: Now you can use the virtual machine in VMware on your new computer.

Tip: Select I Copied It if you are asked. VMware will generate a new UUID and MAC address for this virtual machine to prevent network conflicts in this manner. You can find more details in Copying a Workstation virtual machine from one location to another (2030609). If you do not plan to use the virtual machine in its original location in the future, you can also select I Moved It.

i move it i copy it

Note: If it can't start, try to adjust the configuration of this virtual machine to suit your computer.

Way 2: Directly copy all files to move vm

This method does not require additional operations to generate vm files. But if you store some files(such as ISO image file) reside outside of the VM directory, you need to make sure they are copied as well.

Step 1: Choose the virtual machine you wish to relocate.

Step 2: Right click and select Open VM directory to open vm directory.

open vm directory

Step 3: Copy all the files to the USB flash drive. If the ISO image file is not in the VM directory, remember to copy it too.

ubuntu 2204 all files isofiles demo

Step 4: Transfer all files you copied to another computer.

Step 5: Launch VMware on another computer, then select File -> Open to open vm.

Step 6: Navigate to the path of the vm files, select the file whose suffix is .vmx in the Open window.

open directly copy all files

Step 7: Modify the settings of the virtual machine. In general, you need to change the ISO image position to the current actual location.

directly copy all files open change path of iso

Step 8: Now you can power on this virtual machine in VMware on another computer.

Way 3: Use clone feature to move vm

This way will generate a clone of your virtual machine.

Step 1: Select the virtual machine in the Library.

Step 2: Right click it and select Manage -> Clone to clone this machine.

select clone

Step 3: Follow the prompts of Clone Virtual Machine Wizard.

Step 4: Select Create a full clone at step "Clone Type".

clone virtual machine wizard clone type

Step 5: Change the storage location to the USB flash drive at step "Name of the New Virtual Machine".

clone virtual machine wizard name of the vm

Step 6: Click "Finish" and wait for the cloning to complete.

Step 7: Open the virtual machine on a new computer by performing the same operations as above.

3. Summary

This article demonstrates three methods for transferring a virtual machine between computers. Both directly copying all files and using the clone function require you to copy the VM's files and the ISO file to a USB flash drive, and then transfer these files to a new computer. In contrast, when using the export method, you only need to save the export file to the USB flash drive during export and then import it from the USB drive during the import process. However, it's important to note that the process of exporting and importing can be time-consuming.

My level of recommendation is: Export and import > Directly copy all files > Use clone feature.

P.S. You can store the virtual machine on a USB flash drive, allowing you to easily access it across multiple devices. However, you also need to consider whether the read and write performance of the USB flash drive can meet your requirements, or opt for a high-speed solid-state USB flash drive.