up vote 6 down vote favorite
share [g+] share [fb]

I was running Ubuntu in VMware Player. It froze up when I was using it, so I killed it with the Task Manager. The reason it froze was because I ran out of disk space. So after killing the process I made more space. But now, if I try to run the virtual machine again, I get the following error

Error while powering on: VMware Player 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.

How can I fix this, or at least recover some of my files inside the virtual machine?

link|improve this question

65% accept rate
1  
What is your base operating system? – Jeffrey Vandenborne Dec 16 '09 at 22:08
I'm running VMware in Windows-7 – Phenom Dec 16 '09 at 22:19
feedback

2 Answers

It sounds like one of the files that VMWare uses to describe the machine got corrupted. Try creating a new VM, and attaching the disk from the corrupted VM to it as the primary disk. If the disk itself isn't corrupted, it should boot right up.

If it doesn't boot, you can try attaching the virtual drive to a newly installed VM as a second disk, and trying to recover your files.

link|improve this answer
Make sure you do this after rebooting your base operating system, this helps in a lot of cases.. or just manually restart the vmware service – Jeffrey Vandenborne Dec 16 '09 at 22:13
1  
Actually all I had to do was restart Windows-7. After restarting I tried running the virtual machine again. Instead of starting from the hibernation state it started from the power off state. After I logged back in everything was there. – Phenom Dec 16 '09 at 22:34
You should post that as an answer, it worked for me as well. – Kells Oct 14 '10 at 19:28
feedback

What happens is that vmware lock some files while it's running.

So, there's no need to recreate VM or rebooting windows whatsoever. All you need to do is to kill all vmware processes.

So, just open windows task manager and look for vmware in the processes tab, kill these process and restart vmware.

link|improve this answer
This worked for me. Host OS is Windows 7 64-bit, guest OS is Windows Server 2008. I couldn't kill all the VMWare processes in task manager, so I just restarted, and then I was able to open the VM fine. – Sarah Vessels Oct 31 '11 at 19:50
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.