The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
Deleting an orphaned virtual machine when the Remove option is not available (1011468)
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.
To delete an orphaned virtual machine:
- Open VMware Infrastructure or vSphere Client and connect to vCenter Server with a user with Administrative rights.
- Change the view to the VMs and Templates inventory view.
- On the left pane, right-click on vCenter Server, click New Folder and provide an alpha-numeric name to the folder.
- Left-click the virtual machine and while holding the left mouse button, drag the virtual machine to the folder created in step 3.
- Right-click on the folder, and click Remove. The folder and its contents are deleted.
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.
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.