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

Symptom

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.
Get GUID 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


Veeam ONE: installation and configuration

Veeam ONE is a "free" software package offered by Veeam for virtual infrastructure supervision. Veeam ONE consists of software: Veeam ONE Monitor which allows the supervision of hypervisors (Hyper-V a

Altaro backup: installation and use with Hyper-V

In this tutorial, I will explain how to set up Altaro Backup with Hyper-V. Presentation Altaro Backup is a backup solution for virtual environments Hyper-V and VMware running Windows. It has the advan

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

Scroll to Top