VMWare Failed to Lock the File – Cannot Open the Disk or Snapshot

Home»Software»Virtualization»VMWare Failed to Lock the File – Cannot Open the Disk or Snapshot
When starting a virtual machine in VMWare hypervisor such as VMWare ESXi/ESX, VMWare Workstation or VMWare Player, the following error may occur a short while after opening and running the virtual machine:

VMware Failed to Lock the File

Cannot open the disk ‘C:\VM\TJ.vmdk’ or one of the snapshot disks it depends on.

Module ‘Disk’ power on failed.

Failed to start the virtual machine.

The error is most likely due to file locking on virtual machine. To prevent concurrent changes to critical virtual machine files and file systems, VMWare virtualization software establishes locks on these files. In certain circumstances, these locks may not be released when the virtual machine is powered off. The files cannot be accessed by the servers while locked, and the virtual machine is unable to power on.

To resolve the error and start the virtual machine properly again in VMWare, locate the folder which stores the virtual machine, and delete all .lck files and directories and (optionally) .log files.

After deleting the locks, the virtual machine will be able to boot properly.

About the Author:

LK is a technology writer for Tech Journey with background of system and network administrator. He has be documenting his experiences in digital and technology world for over 15 years.Connect with LK through Tech Journey on Facebook, Twitter or Google+.

Pin It on Pinterest

Share This

Share This

Share this post with your friends!