- Learn different methods to clone VMs in environments VMware ESXi
- Learn to clone Virtual machines with or without vCenter
- Explore external tools like Vinchin or NAKIVO to automate the process
- Avoid common mistakes such as conflicts of MAC or SID in the clones
Clone a virtual machine in VMware ESXi It may seem like a complex task, but it's a fundamental skill today if you manage any type of virtual infrastructure. Whether you want to run tests without affecting your production environment, perform a migration, or simply save time creating repetitive environments, knowing all the available options will allow you to choose the most effective one based on your resources and configuration.
In this article I will explain How to clone virtual machines in VMware ESXi, whether you have access to vCenter or are working with standalone hosts. You'll also learn about advanced alternatives with external tools like Vinchin and NAKIVO that make this task easier and offer additional benefits such as automated replication and disaster recovery.
What exactly is cloning a VM?
Cloning a virtual machine consists of create an exact replica of an existing VMThat is, a complete copy of the hardware virtual machine, operating system, network configurations, hard drives, and other settings. This technique allows for the deployment of functionally identical machines in a matter of minutes, resulting in Ideal for testing environments, mass deployments or service migrations. For more information on managing these tasks, you can consult the article on How to copy a VMware virtual machine to another PC.
This differs from a snapshot, which captures the state of a VM at a particular point in time but cannot be run separatelyA snapshot is useful for recovery, but not for duplicating runnable machines.
Classic Method: Clone a VM with vCenter Server
The easiest and most direct way to clone a VM is using vCenter ServerThis tool provides a very intuitive graphical interface that automates almost the entire process.
To do this, you just need to open the vSphere Web Client connected to your vCenter instance and follow these steps:
- Access the section Hosts and Clusters and locate the VM you want to clone.
- Right click on the VM and select Clone > Clone to Virtual Machine.
- Give the cloned machine a new name and choose the destination folder from the inventory.
- Select the physical host or cluster where the clone will be executed.
- Specifies the data warehouse where the files of the new VM will be saved.
- Define the disk configuration (thin or thick provisioning) and whether you want it to start automatically after cloning.
- Review the options summary and confirm the transaction.
Once cloning is complete, you'll have a new VM registered and ready for use. This procedure is extremely reliable and fast, but requires a vCenter license, which may not be within everyone's reach. If you're looking for more affordable options, it's also worth considering programs to clone hard drives.
Clone a VM without vCenter with VMware Host Client

If you don't have vCenter, you can still clone virtual machines using the native web interface of each ESXi host, known as the VMware Host Client. Although the process is manual, it is entirely feasible and effective.
This method consists of copy the .vmx and .vmdk files from the original VM to a new directory, modify the identifiers and manually register the new machine on the host.
The general steps are as follows:
- Shut down the original VM that you want to clone.
- Access the Host Client and create a new directory within the datastore where you will save the copy.
- Use the data warehouse browser to copy the .vmdk and .vmx files to the new directory.
- Download the file .vmx, open it in a text editor and change the VM name and disk references if necessary.
- Upload the modified .vmx to the new directory again.
- Register the new VM from the option Create/Register virtual machine selecting the option to use an existing VM.
- After registration, you will be able to start the clone and the system will ask you if it has been copied or moved. Select “Copied.”
This process may seem more technical, but gives you full control over cloning and is completely viable in environments without additional licenses. However, you should be careful with MAC, UUID, and SID conflicts if you are working with machines Windows integrated into domains.
Another manual alternative: create a new VM and insert the existing disks
There is a very interesting third way if you don't want to touch configuration files, which is Create a new VM manually and connect the disks of an existing one.
Here the process is:
- Shut down the original VM.
- Create a new VM from scratch, but without adding a hard drive during setup.
- From the data warehouse browser, copy the file .vmdk of the original VM to the new directory of the cloned VM.
- Edit the settings of the new VM and add existing hard drive pointing to the copied path.
- Save the changes and start the new VM.
This method avoids touching the file .vmx, which makes it safer for users who aren't comfortable modifying configuration files. It will work as long as the base configuration of both machines is the same (CPU, RAM, hardware compatibility, etc.).
Cloning from the command line on ESXi
You can also clone VMs directly using commands from the ESXi shell or by connecting via SSH. This method is ideal if you feel comfortable in the terminal and you have access root to the system.
The general steps are:
-
- Connect via SSH or access the ESXi shell.
- Usa
vim-cmd vmsvc/getallvmsto list the registered VMs and note the VMID of the machine you want to clone. - Shut down the VM using
vim-cmd vmsvc/power.off [VMID]. - Create a new destination directory with
mkdir. - Usa
vmkfstools -iTo clone the virtual disks to the new directory:
vmkfstools -i /origen/Windows-VM.vmdk /destino/Win-VM-Clone2.vmdk -d thin
-
- Copy the .vmx file with
cpand edit its content withviTo update names:
- Copy the .vmx file with
:%s/Windows-VM/Win-VM-Clone2/g
- Register it with
vim-cmd solo/registervm /ruta/Win-VM-Clone2.vmx. - Power on the cloned VM:
vim-cmd vmsvc/power.on [nuevo VMID].
This process, although technical, offers maximum flexibility, and is ideal when working on multiple hosts or automating deployments through scripts. If you're interested in learning more about how to do this in conjunction with other tasks, check out the article programs to repair hard drive.
Using external tools: cloning with NAKIVO Backup & Replication
If you manage many VMs or your infrastructure requires repetitive or automated processes, one of the most recommended options is to use external tools such as NAKIVO Backup & Replication.
NAKIVO allows you to clone virtual machines using the replication feature and offers advantages such as:
- Clone VMs from one host to another even if they are not in the same vCenter.
- Schedule periodic replications.
- Keep multiple restore points.
- Space reduction thanks to deduplication and compression.
The process consists of:
- Add ESXi hosts or vCenter to NAKIVO.
- Create a new replication job from the console.
- Select the original VM, destination, network and re-IP options, and schedule the task.
- Run the job and monitor it from the main panel.
Once finished, you will have a working virtual machine on your chosen destination, without having to manually touch files or worry about conflicts.
Vinchin Backup & Recovery as a more economical alternative
Another totally valid option is Winchin Backup & Recovery, a backup solution that allows you to restore VMs on other hosts as if they were clones.
This software offers:
- A very intuitive web console.
- Cloned from backups, no vCenter required.
- Premium features like CBT, deduplication and compression.
The flow would be:
- Configure a backup job on the original VM.
- Select a destination repository to store the data.
- Run the job.
- From the “Recovery” option, select the new host and restore the VM with a different name.
The advantage is that in addition to achieving effective cloning, you will also be protecting your data as part of the process.
Frequently Asked Questions When Cloning VMs in VMware
Can you clone a VM while it is running?
Yes, although it's not recommended in all cases. Some tools like vCenter or NAKIVO allow you to do this, but it's safest to turn it off first to avoid inconsistencies.
What about the hostname, MAC and SID?
When cloning a machine, you must be careful to change these unique identifiers, especially in Windows environments. To do this, you can use Sysprep or rename manually from the operating system.
Can I clone an entire ESXi host?
Not as such. ESXi doesn't have a host-level clone feature, but you can replicate the configuration and restore VMs to another host.
What is the best option for large environments?
For infrastructures with many VMs or strict availability requirements, it's ideal to opt for solutions like NAKIVO or Vinchin, which automate and easily scale cloning, backup, and recovery operations.
Cloning virtual machines in VMware can take multiple paths depending on your context, expertise, and available tools. From graphical interfaces to terminals and complete commercial solutions, there's always an option to suit your needs. The key is to identify which one offers the right balance of time, control, and scalability for your virtualized environment.
Passionate writer about the world of bytes and technology in general. I love sharing my knowledge through writing, and that's what I'll do on this blog, show you all the most interesting things about gadgets, software, hardware, tech trends, and more. My goal is to help you navigate the digital world in a simple and entertaining way.

