Sunday, September 13, 2009

vmware.exe - No Disk

I was trying to run vmware last nigh, and started receiving an error message, trying to open vmware, the moment I tried to opened, it a received the error. Vmware player was working OK, but I wanted to create a new virtual machine so I had to find a solution. The error message was:
wmware.exe - No Disk
There is no disk in the drive. Please insert a disk into drive \Device\Harddisk3\DR2. I looked everywhere, including the registry, trying to find a configuration option or something that could be wrong, and nothing helped. Then I discovered a couple of  entries on vmware site that helped solving it. Apparently there is something wrong with the preferences file, locate in 


%APPDATA%\VMware\preferences.ini for  Windows
 ~/.vmware/preferences for Linux


Not wanting to spend all night trying to solve it, I first deleted de preferences.ini file without looking into it much with  no luck.



The solution:

I deleted the directory VMWare, first I typed cd %APPDATA% in a command window to look where the directory was. In my case, running windows 7 it was located in:

C:\Users\Alfonso\AppData\Roaming

then opened it in the windows explorer and deleted it, and this worked, I lost my favorites and open files history, but truth is, that is almost irrelevant. The other thing I learned, and I guess it had always worked, is that typing %APPDATA% in the start menu, went directly to the directory, I mean it replaces the variable, as it should and does in a batch file.









6 comments:

  1. Received the same error. All drives are in the system and working... trying your solution... Works Great!!! Thanks for posting this. Of course, all the VMs disappear from the library (I had six), but adding them back (just start them and they end up in the library) was surely easier than clicking through the dialogs endlessly, or doing a reinstall.

    ReplyDelete
  2. You don't need to delete the whole folder. The file that's causing the problem is favorites.vmls. You can just delete that single file.

    ReplyDelete
  3. Resources like the one you mentioned here will be very useful to me ! I will post a
    link to this page on my blog. I am sure my visitors will find that very useful
    VMware Player

    ReplyDelete
  4. Just delete the preferences.ini file, and it will be resolved

    ReplyDelete
  5. A quick solution to the problem - thanks!

    ReplyDelete
  6. This happened to me as well. It was the result of using an external hard drive on the host. I never accessed the external drive from within the VM/guest.

    I removed all the files mentioned above and it worked. Maybe removing only preferences.ini would have worked, but after inspecting the files, there was a lot of old references in it (e.g. VM's I haven't used in years...)

    ReplyDelete