Thursday, August 11, 2016

VM Ware failed to open issues, Failed to lock the file! VMWare vietual disk (vmdk)

Source: http://www.networknet.nl/apps/wp/archives/396/comment-page-1
I copied one of my Windows XP virtual machine running on a VMWare Server 1.02 system locally to my workstation. After the files were copied I opened the vmx file with VMWare Workstation 6 and received the following error below after trying to start the virtual machine. The virrtual machine contained one snapshot on the VMWare Server.

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 boot process will fail, try to Map the virtual hard disk to Z:\ for example.
image
clip_image008
I then disconnect the virtual hard disk and tried again. The virtual machine boot without any problem and my snapshot was still valid. Deleting the .lck folder saved me a lot of work.

No comments:

Post a Comment