VMware Workstation

 View Only
  • 1.  Cannot power off VM

    Posted Apr 17, 2025 01:32 PM

    Yesterday (Apr 16) I started up one of my Linux VMs.  The VM never fully booted since I was never able to login to the VM.  I tried shutting down the guest.  Today is Apr 17 and the VM still has not powered off.  If I try to close the program via File->Quit I get

    fedora-server-vm-02 cannot be closed while the virtual machine is busy.

    I'm running VMware Workstation 17.6.3 build-24583834 on Fedora 41

    How do I kill that VM?  What should I do in future if a VM locks during boot?

    Paolo



  • 2.  RE: Cannot power off VM
    Best Answer

    Posted Apr 18, 2025 04:19 AM
    Edited by pgaltieri Apr 18, 2025 10:26 AM

      Hi Paolo,

      On Windows terminate the correct vmware-vmw.exe process. How to determine which is the correct if multiple VMs are running? Check the CPU usage. The stuck VM could be using a constant CPU, or none at all. I did not find a way to tell which process is which VM. wmcli does not list process ID, tasklist.exe does not list command line, but even if it did, the command line does not contain the VM's name, so turning on the "Command Line" column in Task Manager's Details view does not help either.




  • 3.  RE: Cannot power off VM

    Posted Apr 18, 2025 09:52 AM

    I don't know where you got with this boot-up, but ...

    ... it seems likely that Linux was running, graphics was stuck or whatever. You can get into command line of Linux with some key presses (just google what they are in Fedora). There you can shut it down. Just google what the command is (could be "sudo shutdown -h now" or from root "shutdown -h now", the first one works at least in ubuntu-family).




  • 4.  RE: Cannot power off VM

    Posted Apr 18, 2025 11:22 AM

    As it turned out the VM was completely locked up and the only thing I could do was to kill the vmware-vmx process.  Fortunately there was only one running so it was easy to pick which one :)

    Thanks.