You might receive an error message when you are recovering a virtual machine with the same name in a single vCenter Server instance.

Problem

Failed to register the recovered virtual machine 'VM_NAME' with
config file <path_to_config_file>.

Cause

You cannot recover virtual machines with the same name in the same source and destination folder in the vCenter inventory.

Results

Recover the virtual machine in a different VMs and Templates folder in the same datacenter. Optionally, after successful recovery, you can remove the old virtual machine from the vCenter inventory and drag the recovered virtual machine to the required virtual machine folder.