Stopping a Hyper-V VM that refuses to stop
I posted this question on the Microsoft Tech Forums: I have a Vista (x64 Ultimate) VM that refuses to stop. (Host is Server 2008 x64.) I've tried using the hard stop but it remains in the state of Stopping. How do I stop it from here?
And received this (great) answer from Stephen Edgar:
If you grab Sysinternals Process Monitor you can check each VMWP.EXE Process (Virtual Machine Worker Process) and Select 'Properties' and each process will have a reference in the 'Command Line' section of the properties dialogue which refers to the VM's GUID which can be found for each VM by examining the configuration files contained in C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines and then just kill the approriate VMWP.EXE Instance and that should kill that VM without affecting any of your other currently running VM's.
This is the second time that I've had this problem with Hyper-V and I have no doubt that it won't be the last. Thanks Stephen!