I received an error from my VMware Workstation 16 player (non-commercial) stating "Error while opening the Virtual Machine: VMX file is corrupt."
I have 2 VM, but none work, so I can easily guess the problem is with the VMware itself. The last thing I done that may trigger this error was trying to cut & paste the "Virtual Machines folder" in my "Documents" into a different location, because my documents was trying to sync with my onedrive, and the VM folder was too large. Hence, I also saw this error while trying that action, "Error 0x8007016A", but this is an error from onedrive, so the "VM folder" is still stuck in my "Documents".
So, my 2 problems today are:
1) How to fix the "VMX file is corrupt" without deleting my 2 VM?
2) How do I move/transfer my "VM folder" located in my documents to another location, without causing this error in the future?
I'm not using OneDrive myself, but a quick search on the Internet for the mentioned error code returns a lot of results.
I'd suggest you fix the OneDrive issue first, and copy/move the Virtual Machines folder to different location. If the error message regarding the corrupted .vmx file still occurs after that, then provide a complete file listing of the VM's files (the output of dir *.* /one) , and attach its .vmx file as well as its vmware.log to your next reply.
André
How do I move/transfer my "VM folder" located in my documents to another location, without causing this error in the future?
shut down those VM's and remove from library.
then copy the vm files to different location then open those vm's to library, you will get pop-up click on moved it.
How to fix the "VMX file is corrupt" without deleting my 2 VM?
Consolidate vmdk file https://kb.vmware.com/s/article/57015.
and create New VM with same config by choose OS install later and choose consolidate vmdk file to run your VM as before.
