An article on Hyper-V on techdirectarchive.com define 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. 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 is when the virtual machine suddenly gets stuck in the stopping state.
In this article, I will show you how to fix this issue and if you want to read more on Hyper-V check these 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, Set up Windows Server on Hyper-V and backup HyperV VM: How to perform Windows Server backup with Nakivo or Windows Server backup utility, Enable Secure boot and TPM on HyperV: How to fix “This PC Can’t Run Windows 11” on Hyper V
Follow the below steps to fix this issue:
- 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.
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 Virtual Machine Stuck in Stopping State Interesting and helpful. In case you have any questions do not hesitate to ask in the comment section.