An article on Hyper-V on techdirectarchive.com defines Hyper-V as Microsoft’s hardware virtualization product. It lets you create and run a software version of a computer, called a virtual machine. Each virtual machine acts like a complete computer, running an operating system and programs. Hyper-V in Windows and Windows Server replaces older hardware virtualization products, such as Microsoft Virtual PC, Microsoft Virtual Server, and Windows Virtual PC. In this guide, you will learn how to fix Hyper-V VM Stuck in Stopping State. Please refer to these related articles: MDT deployment failed and Stuck at Command Prompt: Windows installation does not proceed, How to Fix “Getting Windows Ready” don’t turn off your PC off, and Enable HyperV on Windows: How to install Windows 11 on HyperV.
Hyper-V offers networking, performance, storage, and security features not available in these older products. Just like any other software, Hyper-V has its own specific and general issues. One of the issues that plague users are when the virtual machine suddenly gets stuck in the stopping state. Here are some exciting articles: Hyper-V Server Core Mode: How to install free Hyper-V Server on a VMware Workstation, vSwitches: How to delete Virtual Switches from Hyper-V, How to install and Configure Hyper-V on Windows Server on Windows Server 2019, and 2022 via the Server Manager, PowerShell or DISM.
Fix a Hyper-V Virtual Machine Stuck in the Stopping State
Follow the below steps to fix this issue:
1: If multiple VMs are ON and you need to stop one of them but is stuck just open the Powershell as an administrator to find out the GUID of the virtual machine that is having the issue. Once the Powershell is opened then type this command
Get-VM "VMname" | fl *
The VMname is the name of the Virtual machine with the problem. Please note the VMId as this is the id you will need when looking for the right process to end.
2. Now open the Task Manager and click the Details tab. You now need to locate vmwp.exe process. Please note that you are definitely going to see more than one of such processes if you have more than one VM running. That is why you need to know the VMId of the VM. After locating this VMId click on the End task button then the VM that is stuck will be instantly killed.
Please refer to these related articles: How to perform Windows Server backup with Nakivo or Windows Server backup utility, how to enable Secure boot and TPM on HyperV: How to fix “This PC Can’t Run Windows 11” on Hyper V, and An error occurred while attempting to connect to the server: Check if the VM service is running.
Below is a YouTube video of how to fix HyperV VM(s) stuck in a stopping state.
I hope you found this blog post on how to Fix Hyper-V VM Stuck in Stopping State Interesting and helpful. In case you have any questions do not hesitate to ask in the comment section.