Primarily technical blog on Lisp, .NET, C# development.

Tuesday, July 3, 2012

VMWare Player. Failed to lock the file error.

I had a power outage today while I was working with a virtual machine using the vmware player 4.0.4. When I got back to vmware and tried to start the virtual machine, I got this "VMware player cannot open disk ... Failed to lock the file" error message. After a little google search I found out that maybe a lock file could be causing this so I went to the folder where I had my virtual machine in and just deleted the lck file in the .vmdk.lck folder. Keeping it here for future reference.

9 comments:

Todaydownload.com said...

Resources like the one you mentioned here will be very useful to me ! I will post a
link to this page on my blog. I am sure my visitors will find that very useful
VMware Player

Anonymous said...

thank you very much :)

Suchithra said...

Awesome.. I was just worried I had lost all the work I had done on my VM when I found this! Thanks a bunch!!! :) :)

Anonymous said...

This was precisely the problem. I am grateful for your post.

Lukas Macedo said...

It seems this issue is happening more often than what I thought initially. Glad I was able to help you guys.

dvector said...

Yeah! thanks for this saved me from having to rebuild my VM, thank you

anitha tg said...

You saved me at the last moment!!

cnfg said...

You just saved me from going to Linux.. :D Autoupdate crashed my computer..

John Pilman said...

Big help. Thanks. You were the first hit when I Googled "vmware player failed to lock the file." The second hit was VMware KB. If the answer is in there, it's not easy to find.