[Solved] VMWare Virtual Machine “Failed to Lock the File” Error

VMW logo If you want to start your operating system after you have run VMWare Virtual Machine on your computer, your operating system will not work and you will see a window

Can not open the disk file_name.vmdk or one of the snapshot disks it depends on. Reason: Failed to lock the file. . The solution is very easy.

Immediately after the Can not open the disk line, navigate to the directory with the file name “filename.vmdk” . Delete the folder “file_name.vmdk.lck” at index O and restart the operating system you want to start from VMWare Virtual Machine.

Good luck…

JAVA VERSION ERROR WHEN UNINSTALL GLASSFISH SERVER

“Could not find the required version of the Java(TM) 2 Runtime Environment in ‘(null)’.”

glassfish_uninstall_error

glassfish_uninstall_error2

If you receive the above error when trying to uninstall the GlassFish Server, the solution is as follows.

Fisrtly, check your java version. Because, your Glassfish Server needs version 1.6 or higher of the jdk.
if your old version of Java, Download and install a new version and set Java Home path.

java_path

After, Start –> cmd.exe –> go to GlassgFish uninstall.exe directory (The directory may be different on your computer.)

1
 uninstall.exe -j "%JAVA_HOME%"

cmd_goto_glassfish

[Çözüm] VMWare Virtual Machine “Failed to Lock the File” Error

VMW logo Eğer bilgisayarınızdaki VMWare Virtual Machine’ni çalıştırdıktan sonra işletim sisteminiz başlatmak istediğinizde işletim sisteminiz çalışmayıp size bir pencerede

Cannot open the disk dosya_adı.vmdk or one of the snapshot disks it depends on. Reason: Failed to lock the file.

şeklinde bir hata veriyor ise korkmaya gerek yok. Çözümü çok kolay.

Cannot open the disk yazısının hemen arkasından “dosya_adı.vmdk” ismi ile belirtilen dosyanın olduğu dizine gidin. O dizindeki “dosya_adı.vmdk.lck” adlı klasörü silin ve başlatmek istediğiniz işletim sistemini VMWare Virtual Machine’den tekrar başlatın.

Kolay gelsin…