VMware Cloud Community
prakash9339
Enthusiast
Enthusiast
Jump to solution

How to remove vmx.lck file , Unable to poweron VM

I am unable to power on VM

After so much of trouble shooting I came to know that it vmdk lock

How to remove vmx.lck

If I power off vm, lck file is no more if VM is power on I am able to see the lck file on data store VM folder,Plz help on this

pastedImage_4.png

0 Kudos
1 Solution

Accepted Solutions
rcporto
Leadership
Leadership
Jump to solution

Check if helps: VMware KB: Investigating virtual machine file locks on ESXi/ESX

If the problem now is just the .vmx file with lock, you can create a new virtual machine and point to the old .vmdk.

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto

View solution in original post

0 Kudos
5 Replies
rcporto
Leadership
Leadership
Jump to solution

Check if helps: VMware KB: Investigating virtual machine file locks on ESXi/ESX

If the problem now is just the .vmx file with lock, you can create a new virtual machine and point to the old .vmdk.

---

Richardson Porto
Senior Infrastructure Specialist
LinkedIn: http://linkedin.com/in/richardsonporto
0 Kudos
janus123
Contributor
Contributor
Jump to solution

I know this is old. I'd like to ask if this is a work around to be able to copy the vmdk file to another location. I plan to creating a copy of the VM without using a vcenter.

0 Kudos
Sreeharimr
Contributor
Contributor
Jump to solution

you can export the VM as OVF from the ESXi server. and import it later to another ESXi.

0 Kudos
janus123
Contributor
Contributor
Jump to solution

Cannot do export to OVF as its not part of Vcenter.

0 Kudos
Sreeharimr
Contributor
Contributor
Jump to solution

you can still export the VM as OVF. Only thing, the VM should be shutdown. Which version of ESXI is this.

0 Kudos