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.

41 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 :)

Anonymous said...

You're the man! Awesome fix!! Thanks for sharing.

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.

Cosmin said...

thanks man, sort it out faster than on 3 forums including vwmware's :)

cheers

Lukas Macedo said...

Glad I helped. Sad to hear it is still happening.

David said...

You just saved my skin - thanks!

Anonymous said...

Thank you a lot!

:)

Anonymous said...

Thanks a lot! 8-D

alby said...

Thanks Lukas,
very useful, I solved the problem in n time.

રાહુલ તાજપુરિયા said...

thanks a lot dude. !

worth useful.

Ramon said...

Thanks!!

高老高 said...

Thanks!
Solved the annoying problem!

Anonymous said...

Thanks. This saved my bacon!! Have a good one.

Thandeka said...

Thanks a lot..saved me!

Anonymous said...

Thanks, worked.
jb

Dexicule said...

Fixed for me! Thanks!

Rajib said...

Fixed for me --thanks a lot . R.

P.J. said...

+1 on this post. Was running VMWare Player 6.0.1 on Windows x86-64 and the OS rebooted due to automatic update installs. Fedora 18 virtuam machine refused to boot with similar error messages. Removing the .lck file resolved the problem.

Anonymous said...

Thank you Lukas for sharing the tip!

Anonymous said...

Fixed my problem too! Thank YOU!!

Anonymous said...

Good one. Thanks for the tip.

jass said...

awesome ! thanks for sharing !

Anonymous said...

Thanks so much for this. Really helpful

Anna said...

Thanks for your interesting post, I like this post very much. Accountants in London

Mohana Gobinath said...

Thanks lot. It saves lot of time.

Blogger File said...

My God you saved my Day. Thanks so much for this.

MadCracker said...

Dude, this is great. Simple and clear. Thanks a million.

Anonymous said...

You're the man. You save few days of my live :-)

Anonymous said...

Many thanks. Fixed in under a minute from your post.

Anonymous said...

Thanks a lot. This saved me a lot of time. I was just going to restore from backup.....:)

Anonymous said...

From Singapore: Thank you so much! :)

Anonymous said...

It works. Thanks man :)

Ripudaman Singh said...

wow awesome that's a single point fix. appreciate your help.

aries ibiernas said...

nice, thanks bro.... it works...