C# ASP.NET SQL SERVER

Stopping a Hyper-V VM that refuses to stop

I posted this question on the Microsoft Tech Forums: I have a Vista (x64 Ultimate) VM that refuses to stop. (Host is Server 2008 x64.)  I've tried using the hard stop but it remains in the state of Stopping. How do I stop it from here?

And received this (great) answer from Stephen Edgar:

If you grab Sysinternals Process Monitor you can check each VMWP.EXE Process (Virtual Machine Worker Process) and Select 'Properties' and each process will have a reference in the 'Command Line' section of the properties dialogue which refers to the VM's GUID which can be found for each VM by examining the configuration files contained in C:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines and then just kill the approriate VMWP.EXE Instance and that should kill that VM without affecting any of your other currently running VM's.

This is the second time that I've had this problem with Hyper-V and I have no doubt that it won't be the last. Thanks Stephen!

» Similar Posts

  1. Reinstall of Vista and Ubuntu Virtual Machines
  2. Windows 7
  3. Hyper-V with Vista x64 and Ubuntu Linux Desktop x64

» Trackbacks & Pingbacks

    No trackbacks yet.
Trackback link for this post:
http://guyellisrocks.com/trackback.ashx?id=96

» Comments

  1. Hyper-V User avatar

    I have had the same issue. This additionally causes the server to hang on shut down.

    Hyper-V User — July 2, 2009 5:18 PM
  2. ChristopherO avatar

    Thanks a million! I knew it had to be one of those vmwp.exe files in there, but I couldn't figure out how to match them up...matching the guid worked great!

    ChristopherO — July 2, 2009 9:52 PM
  3. Michael Grimm avatar

    Thank you so much for this tip. It helped me get a machine that was stuck on 'Pausing...' rebooted.

    Michael Grimm — September 9, 2009 11:46 PM
  4. filip avatar

    btw you don't need sysinternals process monitor. in the task manager you can add the 'command line' column to the process list. also here you can find the VMs guid

    tnx for the tip though, it helped me kill hanging VMs!

    filip

    filip — January 29, 2010 5:00 AM

» Leave a Comment