Hyper-v: shut down a virtual machine that is not responding


Sometimes a virtual machine stops responding during a shutdown.

Here’s how to stop the vm.

Force stop by the process

Each virtual machine running on a Hyper-V host has a process dedicated to it. Stopping this one stops the virtual machine.

For starters, it is necessary to recover the GUID of the virtual machine, it is recoverable by looking at the name of the configuration file that is in the location that was configured during the creation of the VM.

On the server where the virtual machine is running, open the task manager, go to the Details tab 1 , locate the vmwp.exe process that has the GUID for the user name virtual machine then select the 2 and click End Task 3 to force the shutdown.
stop vmwp.exe

Confirm the action by clicking the Stop Process button.

The virtual machine is now stopped.
VM stopped

Related Posts

Hyper-V: Create a virtual switch

PresentationCreate a virtual switchAdditional information about virtual switches Presentation A virtual switch in Hyper-V is a virtual switch that allows the connection of network adapters to be creat

Failover Clustering Windows 2016/2019 – Installation and Configuration

Presentation The failover clustering feature ensures high availability of a service by using multiple servers (nodes) that can make it work. Some examples of services that can be used with the Failove

Hyper-V: Virtual Switch with Port Aggregate – Switch Embedded Teaming (SET)

Introduction In this tutorial, we're going to have how to create a Switch Embedded Teaming virtual switch. Since Windows 2016, it is possible to directly create a virtual switch with a network card te