How to Fix Invalid or Greyed out Virtual Machines in VMware vSphere Client

[fa icon="long-arrow-left"] Back to all posts

[fa icon="pencil'] Posted by Lewan Solutions [fa icon="calendar"] December 23, 2009

If there are disk array or networking issues in VMware ESX 3.x or vSphere, some virtual machines (VMs) may appear in the vSphere Client as being Invalid and are greyed out. The following steps will fix this issue.

(A little background...we were unscuessesful when following instructions from VMware support or the how-to's on Google (including restarting the VMware Management services on the ESX host), so we came up with this procedure leveraging feedback on the VMware Community Forum and found success.)

  1. Via the VI Client, make a note of the invalid VM name, the ESX host it lives on, and the datastore where the VM's files are (all from the Summary page of the VM)
  2. Remove the invalid VM from inventory by right clicking on the VM and choosing Remove from Inventory
  3. Use an SSH client (with Putty or some other method) to login to the ESX host (from step 1)
  4. Use the cd command to move into the datastore volume (from step 1)
  5. Rename the vm-name.vmxf file to something else
    Note: it is the .vmxf file, not the .vmx file
  6. Connect the VI Client to the specific ESX host (from step 1, not your vCenter Server)
  7. Browse the datastore (from step 1)
  8. Find the vm-name.vmx file and right click, choosing Add to Inventory.
  9. In the main VI Client connected to your vCenter Server, power on the VM, which should now be available and no longer Invalid and greyed out

You can also do the rename of the .vmxf file from within the VI Client thats connected to vCenter:

  1. Repeat step 1 above
  2. Remove the invalid VM from inventory
  3. Browse the datastore
  4. Right click the .vmxf file to rename it
  5. Add the .vmx file to inventory
  6. Power up the VM. Seems to work great all within the VI Client.

Topics: Manuals & How-To's, Virtualization, VMware, General Storage, vSphere, VM, networking, vcenter, Disk Performance, Disk Storage, VMware vSphere, VMware vCenter

Lewan Solutions
Written by Lewan Solutions

  • View & Submit Comments

[fa icon="envelope"] Subscribe to Email Updates



[fa icon="comments-o"] Follow us

Get even more great content, photos, event info and industry news.


[fa icon="tags"] Posts by Topic

see all