Recover deleted Hyper-V VM xml file


  • Hi ,

    I have following issue:

    I import Hyper-V VM and after this I delete the same VM and now xml file is missing.

    My questions are:

    1.Does it possible to recover xml file because I have no backup and how if it is?

    2.Does it possible when i import Vm to set Hyper-V to make a copy of xml indeed to make a symbolic links to original xml ?

    Another test wich i did is that i do copy paste of original xml to another folder and after this i repeat the same procedure "import and delete VM" and after this when i tried to import copied xml file it popup Error.

    Thank you for help guys!

    Monday, January 30, 2017 10:14 AM

All replies

  • Without backup, there is no way to recover the original xml file.  However, you can create a new one by creating a new VM configured to use the original VHD.  First delete the existing VM from within Hyper-V Manager, not Windows Explorer.  Deleting from Hyper-V Manager leaves all files.  Once you have deleted from Hyper-V Manager, simply recreate within Hyper-V manager.

    . : | : . : | : . tim

    Monday, January 30, 2017 2:34 PM
  • Hi,
    Are there any updates on the issue?
    You could mark the reply as answer if it is helpful.
    Best Regards,

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact

    Friday, February 10, 2017 1:53 AM