Avatar of IT Guy
IT Guy
Flag for United States of America asked on

Server 2016 Hyper-V VM machine stuck

On my Windows 10 Pro OS laptop I created a Server 2016 Hyper-V virtual machine.

I shut down this Server 2016 VM within the OS using the shutdown -s -f -t 0 command.

For the last hour, this VM has remained stuck and says "Stopping" within the Hyper-V Manager. This VM already had all of the Windows updates installed.

I don't have the option to stop or shut down this VM and when I open this VM I only get a blank screen.

I have already shut down the Windows 10 Pro host OS but when I have booted Windows 10 back up and opened the Hyper-V Manager the Server 2016 VMis still in its same state.

What command line or PowerShell commands can I use to force the shutdown of this Server 2016 VM?

Or what else can I do to completely shut down this Server 2016 VM?

S2016DC Hyper-V VM stuck
Windows OSMicrosoft Server OSVirtualizationWindows 10Hyper-V

Avatar of undefined
Last Comment
Patrick Bogers

8/22/2022 - Mon
ITguy565

get-vm -name s16dc|stop-vm -Force

Open in new window

IT Guy

ASKER
When I run this command I get a message tha says "stop-vm : The operation cannot be performed while the virtual machine is in its current state." and the VM is not powered off or shut down.

What other commands can I run to power down or restart this VM?
ITguy565

Are you running this from an Admin Powershell window?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
ASKER CERTIFIED SOLUTION
ITguy565

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Philip Elder

ITguy565's method to work with the GUID is the one we'd be using as well.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.