Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Recovery of a lost or deleted virtual machine .vmx configuration file on an ESXi/ESX host (1002294)

Details

This article provides steps to recover a lost or deleted virtual machine .vmx configuration file that is deleted or corrupted when the virtual disk file (.vmdk) still exists.

Solution

To resolve this issue, create a new virtual machine configuration file and point it to the existing virtual disk (.vmdk) file.
 
To create a new virtual machine configuration file and point it to the existing .vmdk file:
  1. Log in to the vSphere Client as an administrator.
  2. Right-click the affected virtual machine and click Remove from Inventory.
  3. Right-click an ESXi/ESX host.
  4. Click New Virtual Machine.
  5. Select Custom.
  6. Go through the Create New Virtual Machine wizard until you reach the Select a Disk screen.
  7. Select Use an existing virtual disk and browse to the .vmdk file.
  8. Complete the Create New Virtual Machine wizard.
This procedure recreates the configuration file (.vmx) for the virtual machine and other supporting files.You can now start the virtual machine from the Inventory of the vSphere Client.
 
Note: Although there are differences in the GUI, this same logic can be used in older versions of ESX.

For more information, see Rebuilding the virtual machine's .vmx file from vmware.log (1023880) and Starting a virtual machine generates a syntax error (1003597).

Update History

02/20/2013 - Added ESXi 4.x and 5.x to Products. 07/23/2013 - Added step 2.

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 13 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 13 Ratings
Actions
KB: