Link to home
Start Free TrialLog in
Avatar of sthay
sthayFlag for Cambodia

asked on

How to recover a deleted VM on Windows Server 2008 R2 Hyper-V

Dear Experts

Someone has accidentally deleted or somehow the VM has disappeared from the Hyper-V host via Hyper-V manager. In fact, the content of the VM seems to be intact with flat folder structure like this:

-Snapshots
      -*.xml
      -folders
-Virtual Hard Disks
      -*.vhd
      -*.avhd
-Virtual Machines
      -.xml
      -folder

How do I make it appears in the Hyper-V host again?

Your advice is highly appreciated.

Regards
Sot
Avatar of Anuroopsundd
Anuroopsundd
Flag of India image

create a New  Virtual Machine, select the appropriate choices but when you get to "Connect Virtual Hard Disk" choose "use an existing virtual hard disk" and select your vhds.
ASKER CERTIFIED SOLUTION
Avatar of Svet Paperov
Svet Paperov
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Word of advice, when VMs disappear from the Hyper V console this is due to the antivirus excludes not configured correctly. Hence your config files get corrupt and the VM goes missing, though the VM files appear to be there.

I would suggest looking at your antivirus solution and make sure they are excluding all VM related files and locations to prevent this happening again.
Avatar of sthay

ASKER

Dear spaperov

Thanks for the tip. I have tried all the three options and none of them work for me. In fact, our VM has a snapshots and thus the process was not straight forward.

Kindly suggest me more.

Thanks in advance.
Sot
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sthay

ASKER

Thanks to both spaperov & Netflo.

spaperov's option #2 has helped solving my problem.

Regards
Sot