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: add a virtual card to the host
Intro In this tutorial, I will explain how to add a virtual adapter to the Hyper-V host that will be connected to the virtual switch. This is equivalent to adding the same type of network adapter when configuring an external virtual switch with the A

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 Failover Cluster feature: Hyper-VSQL ServerDAG Exchange..

Installing and Configuring Storage Spaces Direct (S2D) on 2 VMs
In this article, we will see how to set up Storage Spaces Direct under two VMs. S2D is the solution hyperconverged of Microcrost arrival with Windows Server 2016. I also took advantage of this lab to use Admin Center. Prerequisites Have a domain cont

Leave a Comment