Knowledge Base

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

Deleting an orphaned virtual machine when the Remove option is not available (1011468)

Purpose

This article provides the steps to delete an orphaned virtual machine. You may want to delete an orphaned virtual machine when you do not have the Remove option in vCenter Server.

Resolution

To delete an orphaned virtual machine:
  1. Open VMware Infrastructure or vSphere Client and connect to vCenter Server with a user with Administrative rights.
  2. Change the view to the VMs and Templates inventory view.
  3. On the left hand pane, right-click on vCenter Server and click New Folder....
  4. Provide any alpha-numeric name to the folder. 
  5. Left-click the virtual machine and while holding the left mouse button, drag the Virtual Machine the folder created in step 3.
  6. Right-click on the folder, and click Remove. The folder and its contents are deleted. 
Note: In VMware View source or replica virtual machines, the source and replica files are linked to the pool desktop. Deleting any of these files before deleting the pool breaks all pool desktops. For more information, see Unable to delete the VMware View source or replica virtual machine (1030568).

Additional Information

If these steps do not resolve the issue, there may be a file lock on the virtual machine files by an ESX host. To determine if an ESX host has a lock on the virtual machine files see Identifying the ESX host that is locking the file in Investigating virtual machine file locks in ESX/ESXi (10051)
 
If a host is maintaining a lock on the virtual machine files, connect directly to the host with the vSphere Client as root to determine the virtual machine status and try to power off and remove the virtual machine from inventory.

See Also

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

  • 35 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)
  • 35 Ratings
Actions
KB: