How To End a Hyper-V Virtual Machine that is Stuck

image

Have you ever had a Hyper-V virtual server get stuck?  My Hyper-V got stuck and I could not get it to move.  And, I couldn’t stop it or delete it.  I am running Windows 10 Pro Version 1607, so I thought perhaps it was my Windows version. 

I went to Google for help and found this great article at Spiceworks Community https://community.spiceworks.com/how_to/528-killing-ending-a-hyper-v-virtual-machine-that-is-stuckThe article was written in 2009 by Christopher O,  and worked for me today.

He suggests four easy steps.  I have listed his steps and then added my comments. 

1.  Download Process Explorer from Microsoft Sysinternals.  I used this link that is good as of Feb 2016. https://technet.microsoft.com/en-us/sysinternals/bb896653.aspx.  — I had to run as Administrator.  Mark Russinovich wrote the article on  Process Explorer v16.12 which explains what Process Explorer does.  You can use it to solve other issues on .exe files or on DLL files.

2.  Find the GUID for your VM.  Look in the Virtual Machines folder where your VM resides. There should be an XML file and a folder both labelled with the same GUID. Remember or write down at least the first couple and last few characters of the guid – you’re going to need to match this.  —  For me, the beginning and end of my Hyper-V server was 186AFF9D…….137128.

3.  Find the GUID that’s running. Run Process Explorer (you may need to right-click and Run As Administrator if you get Access Denied messages) and look for a bunch of VMWP.EXE files running. Open the properties on one, go to the Image tab, and look under Command Line. As a parameter on the command will be the GUID from the Virtual Machines folder. Keep looking until you find the one with the same GUID!   — This may be a daunting task because so much information comes up.  I used the binoculars to FIND the first part of my server name.  I entered 186AFF9D.

4. Kill it!  After finding it, hit OK to the Properties window, then right-click on that VMWP.EXE and Kill Process! The Virtual Machine should immediately turn off.  — You need to close the find window, and then you should see the VWMP.EXE highlighted.  Right mouse click to select “Kill it”. 

Now, you can go back to your virtual machines directory – mine was under Documents>Virtual Machines – and delete the directory.

Big thanks to Christopher O and Spiceworks!

Learn More About Microsoft Azure

image

Figure 1 – Screen shot focusing on some Azure courses  from https://mva.microsoft.com

What is Azure?

In the mundane world, azure is another name for the colour “blue”.  In the software world, Azure had a different definition.

Microsoft Azure, formerly known as Windows Azure, is Microsoft’s public cloud computing platform. It provides a range of cloud services, including those for compute, analytics, storage and networking. Users can pick and choose from these services to develop and scale new applications, or run existing applications, in the public cloud.  – from http://searchcloudcomputing.techtarget.com/definition/Windows-Azure 

Why Should You Learn About Azure?

If you are a company that is struggling with the expanding hardware requirements for managing in-house accounting systems, CRM  software, and any industry specific hardware along with your web site, email service, and any other software that you have adapted, then Azure should interest you because it reduces the cost of infrastructure for technology.  That is a big statement.  To understand what I mean, start doing some research on all the things that Azure can do.

If you are an IT or Technology professional, then you will want to know how a cloud tool works, what issues may exist, and you will need to understand how the security works.  Cloud service is a rapidly expanding specialty area. 

Where Can You Learn About Azure?

Microsoft has updated the Microsoft Virtual Academy with new courses focusing on Microsoft Azure.  The picture above shows a small sample of the Azure courses.  Currently, MVA has 93 related courses on Azure.  Check them out at https://mva.microsoft.com.

Windows 10 Virtual Desktops–Awesome!

 

image

Picture is from the Microsoft Windows Communication email from August 27, 2015

Last night, like many of you, I received a Windows Communication email from Microsoft that talked about many of the cool features in Windows 10, and provided links to learn about the features.  I skimmed through the gist of it, and went back to the feature called virtual desktops.

I have wanted virtual desktops for several years!  They are here!   You can see how this feature works (it is so easy!) by clicking on the link below.

http://communication.microsoft.com/Key-5557601.C.0xdy.Mw.K3.-.nGmZ1h3 

Have fun with this!