home lab

Copy VMware Workstation VM to ESXi: Home Lab

Copy VMware Workstation VM to ESXi. A walkthrough of the process to upload a VM from Workstatio to ESXi host for your home lab

When it comes to building your first home lab, there is nothing wrong with starting out with VMware Workstation. Realistically, this may be all you need. Having a decent workstation or laptop with a good bit of RAM running VMware Workstation is a great learning tool to get started playing around with VMware technologies, included nested environments. With modern versions of VMware Workstation, you can run vCenter Server and nested ESXi servers among all the other various technologies that you may want to learn. What though if your lab environment evolves beyond a simple laptop with VMware Workstation installed? You may need to move to a more robust lab environment with dedicated hardware and a Type 1 hypervisor such as ESXi. What if you have VMs you want to keep that you have configured in VMware Workstation? Let’s take a look at how to copy VMware Workstation VM to ESXi and why you may want to do so.

Evolving home lab

The beauty of a home lab is that it can evolve with your needs. As mentioned, for some, a healthy laptop or workstation running VMware Workstation is all that is needed. For many though, the home lab may quickly evolve into requiring more hardware and resources than are available in a standard laptop or workstation.

Vmware workstation pro is a great option for a home lab environment on a budget
Vmware workstation pro is a great option for a home lab environment on a budget

Dedicated hosts may be needed running VMware ESXi as this allows for more dedicated resources for virtual machines and more closely resembles production infrastructure. With ESXi hosts, you can still run nested environments very well and benefit from the more advanced features that VMware vSphere offers.

With this being said, what if you have a highly customized virtual machine running in VMware Workstation that you want to copy to your ESXi host running in a vSphere cluster?

Copy VMware Workstation VM to ESXi

There is a process built into VMware Workstation that allows you to easily copy a virtual machine running in Workstation over to your ESXi host. Let’s look at this simple and straightforward process. VMware Workstation contains a process to connect to VMware vSphere environments. If you are running the latest version of VMware Workstation 16, you can connect to all the current versions of VMware vSphere, including vSphere 7.x environments.

The first step is to establish this connection between VMware Workstation and VMware vSphere so that VMware Workstation is connected with vSphere. To connect VMware Workstation to a VMware ESXi host, navigate to the File > Connect to Server menu.

Connect vmware workstation to esxi using the connect to server option
Connect vmware workstation to esxi using the connect to server option

This launches the Connect to Server dialog box. Enter the connection details, including the ESXi host address and credentials for connecting.

Enter the connection information for the esxi host
Enter the connection information for the esxi host

Accept any self-signed certificate warnings presented. This comes from the ESXi host and the self-signed cert that is installed by default.

Confirm the self signed certificate for connecting
Confirm the self signed certificate for connecting

VMware Workstation will list the ESXi host in the interface once it has been successfully connected. As a side note here, you can manage an ESXi host directly from VMware Workstation. This includes power operations such as restarting or shutting down the host as well as placing the host in maintenance mode.

Vmware workstation is successfully connected to a vmware esxi host
Vmware workstation is successfully connected to a vmware esxi host

Now, for the actual upload process. To upload a virtual machine from VMware Wokstation, the virtual machine needs to be powered off. To kick off the upload process, click the VM > Manage > Upload option.

Choosing to upload your vmware workstation vm
Choosing to upload your vmware workstation vm

Now, the connection to the ESXi host established earlier, comes into play. Select the destination ESXi host for uploading the VM from VMware Workstation.

Select a destination server for the vm upload
Select a destination server for the vm upload

Select the destination VM name and storage location for the upload. You should see the remote ESXi datastores enumerated. Select the remote datastore on which you want to store the uploaded virtual machine.

Select the destination location and vm name
Select the destination location and vm name

Depending on the size of the virtual machine, this process can take some time to complete as it will upload and convert the disk format to the format needed for ESXi. However, the great thing is the Upload process takes the heavy lifting out of any manual processes to copy VMware Workstation VM to ESXi.

The vmware workstation vm is successfully uploaded to the vmware esxi host
The vmware workstation vm is successfully uploaded to the vmware esxi host

VMware Workstation is a great platform for home lab configurations that can even run some very complex nested virtualization scenarios and networking. This may be all that is needed for many. However, if your home lab running on VMware Workstation evolves to the point where you want to start using dedicated VMware ESXi hosts to run workloads, you may find that you want to copy a VMware Workstation VM to ESXi to save configurations or other customized software you may be running inside VMware Workstation.

By using the Upload process, you can easily upload an existing virtual machine from VMware Workstation to an ESXi server. This process converts the disk format and performs the process automatically to copy the VM to the ESXi host. The one caveat is the VM has to be powered off in VMware Workstation. However, for most home lab environments or other scenarios, this won’t matter too much.

Subscribe to VirtualizationHowto via Email ๐Ÿ””

Enter your email address to subscribe to this blog and receive notifications of new posts by email.



Brandon Lee

Brandon Lee is the Senior Writer, Engineer and owner at Virtualizationhowto.com, and a 7-time VMware vExpert, with over two decades of experience in Information Technology. Having worked for numerous Fortune 500 companies as well as in various industries, He has extensive experience in various IT segments and is a strong advocate for open source technologies. Brandon holds many industry certifications, loves the outdoors and spending time with family. Also, he goes through the effort of testing and troubleshooting issues, so you don't have to.

Related Articles

One Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.