Failed to lock the file! VMWare virtual disk (vmdk)

12 03 2008

I copied one of my Windows XP virtual machine running on a VMWare Server 1.02 host locally to my workstation. After the files were copied I opened the vmx file with VMWare Workstation 6 and received the error below after trying to start the virtual machine. I made one snapshot on the VMWare Server host.

Cannot open the disk ‘C:\VM-machines\Windows XP-001\Windows XP Professional-000001.vmdk’ or one of the snapshot disks it depends on. Reason: Failed to lock the file.

 

clip_image002

Locate the virtual machine in Windows Explorer and delete any .lck folders

image

Start the virtual machine. If this fails try to Map the virtual hard disk to Z:\

image

clip_image008

I than disconnect the virtual hard disk and retried. The virtual machine boot without any problem; my snapshot was valid.


Actions

Informations

7 responses to “Failed to lock the file! VMWare virtual disk (vmdk)”

27 09 2008
BT (21:34:14) :

Thanks! Worked for me.

–BT

29 09 2008
tex (22:57:15) :

I virtualized a fisical machine but when i tried to open on workstation i got the same error: failed to lock the file. So i removed the 2 folders .lck but when starting again the machine i get this error: Cannot connect virtual device ide1:1. No corresponding device is available on the host.
It tries to open but as soon as windows screen appears i get a blu screen! i tried to map the drive to z as you suggested but i get the same error.
Can you helpme please. thanks

22 11 2008
Ragu (16:15:08) :

Thank you for your post, it worked great! thanks for sharing the knowledge!

22 11 2008
kotwun10 (18:07:52) :

Works! Great Tip

1 12 2008
Ngo viet yen (10:24:43) :

Wow i did it. Great thanks.

4 12 2008
Simon (14:04:38) :

Worked for me as well!
thanx

30 12 2008
anonymous (13:33:17) :

Thanks so much for sharing this with us. :)

Leave a comment

You can use these tags : <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>