Friday, June 18, 2010

VMware Workstation cannot connect to the virtual machine.

My VM was up for ~2 last weeks and it seemt to get tired, so it hung up today. Tried to restart VM, close VM, none worked.
- Closing VMWare workstation gave me error that VM is busy, so please wait for it to finish and then close ...
- Restarting VM was disabled, due to tireness I guess
- Windows's 7 resource manager said vmware.exe makes 0b/s writes and 0b/s reads to/from hard-drive

So it was obvious to me that the only solution is to find vmware.exe in processes list and kill it.

Runing it again and trying to play virtual machine gave me another riddle to solve:
"VMware Workstation cannot connect to the virtual machine. Make sure you have rights to run the program and to access all directories it uses and rights to access all directories for temporary files."

I'll skip all the sarcasm on the usefullness of this advise and come right to the solution:
"Restart the Host computer" and it works nice.

Strange , cuz I remember the other time, that vmware.exe was restarted same gentle way, there were no problems appeared.

It's also fair to mention that before restarting the host computer I tried google... found a lot of hints how to fix that problem... Good for me I did not start trying any of them.

Conclusion: killing vm from the processes list is not always good idea

Santé!

8 comments:

  1. Thank you! I had the exact same thing happen, and was at wits end trying to solve it! I'm glad I ran across your suggestion before I did something that may have been destructive to the VM! Rebooting the host PC was all it took to fix it!
    Thanks to Google as well for help finding your suggestion!

    Dwaine

    ReplyDelete
  2. thanks dear you made my day

    Ashxheat

    ReplyDelete
  3. I restarted my host before seeing this post and I ended up inheriting the same error you guys solved by rebooting. Go Figure! I still cannot recover my VM.

    ReplyDelete
  4. Sometimes this is not enough ... If you still cannot run your VM, try deleting the file ".Vmem". If you cannot delete it, make sure the process vmware.exe is running. If so, stop it, dele the ".Vmem" file e try to run the VM again.

    ReplyDelete
  5. fix problem. follow link below
    https://youtu.be/wV0nI6hz8YU

    ReplyDelete
  6. Im no expert, but I believe you just made an excellent point. You certainly fully understand what youre speaking about, and I can truly get behind that.
    vmware training uk

    ReplyDelete
  7. on win10 vmware-vmx.exe can't unload from process until reboot. trying CMD "taskkill /f /im vmware-vmx.exe" and it's says not run)) now reboot is everything i can((

    ReplyDelete