启动vmware中的虚拟机的时候,提示Failed to lock the file

时间:2021-11-26 05:40:50

http://www.vixual.net/blog/archives/842

VMware Server 當掉後重新啟動 Guest OS 時,出現

cannot open the disk '*.vmdk' or one of the snapshot disk is depends on.
Reason: Failed to lock the file.

解決方法一:

進到 VMware 的 Guest OS 資料夾,將所有的 *.lck 資料夾或檔案刪除

可以使用everything.exe 搜索虚拟机对应的文件夹下的所有*.lck文件,然后全部删除。

VMWare Workstation VM not starting because of locked portion of file

The process cannot access the file because another process has locked a portion of the file

Cannot open the disk 'C:\Users\t825665\VM's\VPC\Windows 10 x64.vmdk' or one of the snapshot disks it depends on.

Module 'Disk' power on failed.

Failed to start the virtual machine.

 

I just found the solution for this issue. I created a backup and moved the 'lck' files from my VM's directory (*.lck), removing them from the VM's directory. Then just restarted the virtual machine

The above solution worked perfectly

和上面一样的解决方案