Hyper-V State"Running-Critical" RRS feed

  • Question

  • I lost the drive that Hyper-V uses to keep the Virtual Machine configuration files. The virtual machines are still running but I can't shut them down as they will not restart. This is my question, is there anyway to recreate the configuration files from the running virtual machines? The VHD's are intact so I can re-create new machines but that will be a pain.
    Thursday, December 23, 2010 3:35 PM


All replies

  • Hi

    Please try these steps

    Howto manually add a VM Configuration to Hyper-V


    Mohamed Fawzi |
    Thursday, December 23, 2010 3:51 PM
  • Thanks for the post - While this is an interesting article, it doesn’t really help me.

    My problem is I don't have the virtual machine configuration file. The XML file that holds the configuration information was lost. What I’m looking for is a way to manually create the XML configuration from a running Virtual Machine?

    Thursday, December 23, 2010 4:00 PM
  • As far as I know you can not do that. You have to turn off your VMs and create configuration file for it
    Mohamed Fawzi |
    Thursday, December 23, 2010 4:10 PM
  • That's what I thought. I just hope that there would be an easier method.


    Thursday, December 23, 2010 4:19 PM
  • You need to re-create the VMs and attach their VHDs. 

    In addition - if you have snapshots with the VMs, you must merge the snapshots into the original VHD manually.

    Check out Brian`s helpful post here:


    Kristian (Virtualization and some coffee: )
    Friday, December 24, 2010 6:48 AM
  • Hi,


    I agree with Kristian.


    There is no way to recreate the xml file if you lost it. The only way is to create a new VM and then attach the existing VHDs. If you have snapshots with the VM and you do need to data within the snapshots, you can merge the snapshots manually before you attach the VHD files to the VM.



    Best Regards,

    Vincent Hu


    Friday, December 24, 2010 7:35 AM
  • We had one of our 2012 R2 terminal servers somehow had its VM config file gone missing.

    It was still running and users were logged on but if I went to change settings like checkpoint, it would error out saying it can't find the VM config file.

    That's why I think it was in the "running-critical" state.

    I had to create another VM and attach the current VHDX to it and bring it back online.

    As the users were logged on and it was still running, I had to do it after hours.

    Monday, October 26, 2015 12:15 AM