This problem occurs if a virtual machine has not been properly deleted through the
Delete from Disk option of the vSphere Web Client, but has been only unregistered from inventory through the
Remove from Inventory option. In this case, the virtual machine folder still remains on the virtual datastore. The problem might also apply to other orphan virtual machines in vCenter Server, whose folders remain on the virtual datastore.
If you use the datastore browser to delete the folder, it disappears from the vSphere Web Client. However on the storage array side, this operation deletes only the configuration object, while other virtual volume objects, such as the virtual disk, remain intact in the storage container.