Earlier this week I had a troublesome Virtual Machine which kept going into a Not Responding state . To try and combat the issue I wanted to Shutdown the server as I realized I hadn’t installed the Guest Additions which could be contributing to the stability issues. However it wasn’t as simple as stopping the server as it remained in stopping-critical state. On this occasion I was able to restart the host but for future reference I found this solution on a forum.
- Run Sysinternals Process Monitor
- Check your VM’s GUID by examing the configuration file. (Often C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines)
- Check each VMWP.EXE Process (Virtual Machine Worker Process)
- Check the process ‘Properties’
- Each process will have a reference in the ‘Command Line’ section of the properties dialogue which refers to the VM’s GUID
- When you find the VMWP.exe related to your VM kill that process and it should stop your VM without affecting any of VM’s on the host.