VMware Communities
mmartinATR
Contributor
Contributor
Jump to solution

The process cannot access the file because another process has locked a portion of the file

Workstation Pro 15.0.3

My host crashed over the weekend and now when I try to start my VM I get the error in the title for each of the VM disks and then it ends with a message that the VM failed to start. I'm new to this world so I'm not sure where to begin looking. There are folders inside the VM folder with the name of each disk and then ending in .lck I'm thinking these might be locks. Do I just need to delete those folders?

1 Solution

Accepted Solutions
RDPetruska
Leadership
Leadership
Jump to solution

Yes, with Workstation shut down, delete any *.lck files and folders in the VM folder.  Then reopen Workstation, load the VM, and power on.

View solution in original post

9 Replies
RDPetruska
Leadership
Leadership
Jump to solution

Yes, with Workstation shut down, delete any *.lck files and folders in the VM folder.  Then reopen Workstation, load the VM, and power on.

mmartinATR
Contributor
Contributor
Jump to solution

Back up and running, thank you!

nsdave85
Contributor
Contributor
Jump to solution

I have renamed the following files: _M29147.lck, _M64517.lck. But some folders are also present with the ".lck".  Should I delete these too?

Rename .lck folders.png

Source

continuum
Immortal
Immortal
Jump to solution

Yes - as ROB said.

Delete files and folders with lck.extension added.


________________________________________________
Do you need support with a VMFS recovery problem ? - send a message via skype "sanbarrow"
I do not support Workstation 16 at this time ...

nsdave85
Contributor
Contributor
Jump to solution

Thanks buddy, I renamed all the files and folders and finally it worked.

Reply
0 Kudos
mantakkiss
Contributor
Contributor
Jump to solution

Thanks!!!

Reply
0 Kudos
Footyfoot
Contributor
Contributor
Jump to solution

Thank you mister for helping me otherwise i wouldve failed my school project! 🙂

Reply
0 Kudos
ericdbaker9
Contributor
Contributor
Jump to solution

man was this clutch!! Thank you!

Reply
0 Kudos
BTomes
Contributor
Contributor
Jump to solution

Thank you! This was helpful and saved me from having to recreate a lab VM.

Reply
0 Kudos