How to get Hyper-V to recognize that a VM isn't stopping, it's stopped.

Posted by Matt Burke on Server Fault See other posts from Server Fault or by Matt Burke
Published on 2010-06-17T21:38:58Z Indexed on 2010/06/17 21:43 UTC
Read the original article Hit count: 304

Filed under:

I have a Hyper-V virtual machine that has some problems.

First, its settings are apparently corrupt:

  • The WMI object contained an invalid value in property BIOSNumLock.
  • The WMI object contained an invalid value in property AutomaticStartupAction.

Second, I saw something that implied that I could toggle the NumLock checkbox on the BIOS property page to fix the first problem, but the checkbox didn't show up. So I connected to the VM and shut it down. Now (many hours later) Hyper-V claims that the VM is "Stopping". However, when I follow the interweb's directions on forcing a VM offline (i.e. find vmwp and kill it), I can't find vmwp. The VM's WMI object has a PID that doesn't exist, and none of the vmwp processes have this machine's GUID.

So, how do I trick Hyper-V into seeing that the machine is offline (or letting me delete it)?

© Server Fault or respective owner

Related posts about hyper-v