Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

we are using Esxi 4.1. One of the VM is there in datastore which could not be deleted due to the files were locked.

We were trying to reload the VM into inventory by creating new VM with custom option(there we would be given option to select existing virtual disk). But we were unable to select that.

I think as it is locked , we were either unable to delete or load it again?

How to delete the file completely?

share|improve this question

There's a few things you can try:

  • You can try restarting mgmt-vmware on the host, and see if you can delete it after.
  • Login to the service console and kill the PID of the VM then delete.
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.