Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VMWare Workstation VM not starting because of locked portion of file

I am receiving the message:

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.

So the virtual machine is not starting anymore, how to fix that?

like image 886
rod.dinis Avatar asked Mar 08 '19 02:03

rod.dinis


People also ask

How do I unlock a VMware virtual machine?

On a physical computer using the VMware View access, if the screen says “Press CTRL + ALT + DELETE to unlock this computer,” and the virtual desktop toolbar is visible at the top of the screen, click “Send Ctrl-Alt-Delete” on the virtual desktop toolbar instead of actually pressing those keys.

How do I fix VMware failed to lock the file?

Error 1: Failed to lock the file vmx file. Power on a virtual machine with mounted disks via the vmware-mount utility. Try to turn on a virtual machine through the user interface during a snapshot operation. Try to add a virtual disk to a virtual machine that is already in use.

How do I fix VMware Workstation failed to start?

Uninstall VMware Workstation. Reboot the host machine and log in as a local administrator (not as a domain administrator). Reinstall VMware Workstation.


1 Answers

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.

like image 164
rod.dinis Avatar answered Oct 04 '22 19:10

rod.dinis