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é