If you removed a VM or VM template from vCenter Server but did not delete it from disk, you can return it to the vCenter Server inventory by registering it with the vCenter Server.

Procedure

  1. In the vSphere Client inventory, right-click the datastore on which the virtual machine configuration file is stored and select Register VM.
  2. Browse to, select the virtual machine configuration (.vmx) file or the VM template configuration file ( .vmtx file) and click OK.
  3. Use the existing name or type a new name, select a datacenter or folder location and click Next.
  4. Select a resource pool in which to run the virtual machine and click Next.
  5. Review your selections and click Finish.