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


How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count:

We are sorry that this post was not useful for you!

Let us improve this post!



Related Posts


Hyper-V: Enable Extended Sessions
Presentation Extensive sessions on Hyper-V with virtual machines can enhance the user experience with: Device Sharing File transfer Extended resolution Copy / Paste through the console ... We find part of the user experience available with an RDP con

Windows 2016/2019: Installing the Hyper-V role
In this tutorial, we will have how to install Hyper-V on Windows Server. Hyper-V is the Microsoft hypervisor, built into the Windows server since the 2008 64bit version. Since Windows 8, it is also integrated in the client version to replace Virtual

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 and VMware) and virtual machines. It is also possib

Leave a Comment