What is the best way to recover deleted virtual machine in Windows server 2012?

Hi Experts,

I deleted virtual machine on windows server 2012 by mistake.  Whats the best way to recover this in the quickest possible time?  Appreciate quick response on this

Kasonde NeddyDesigner & DeveloperAsked:
Who is Participating?
Cliff GaliherConnect With a Mentor Commented:
Ouch. So it looks like you didn't delete the VM, you deleted the underlying VHD. You can *try* an undelete tool, but VHDs are large enough that the OS often starts writing to that reclaimed space quickly. Without any backup, you are likely just plain out of luck.
Rob GMicrosoft Systems EngineerCommented:
Can you give me some more info on what you deleted, as well as what the structure is setup as?
In otherwords are you running backups?
do you have system recovery turned on?
is the original VHD still present?
is this an HA system?
was there snapshots done?
Kasonde NeddyDesigner & DeveloperAuthor Commented:
1.  Can you give me some more info on what you deleted, as well as what the structure is setup as?
->> They is one physical machine, and two virtual machines, was deleted from the volume.
2.  In otherwords are you running backups?
-->>  Looks like it was not backed up... :-(  even though we did a request to do a backup 2 days ago, but unfortunately was not done.
3.  do you have system recovery turned on?
-->> Can you advise how to check this?
4.  is the original VHD still present?
-->> Running two virtual machines, we are suspecting the one for exchange server is the one that is not restored...
5.  is this an HA system?
-->>  Dont understand what you mean, could you explain?
6.  was there snapshots done?
-->>  Yes, the snapshot was done, snapshots are showing, but the VHD where it is pointing to is the one that is missing.
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Kasonde NeddyDesigner & DeveloperAuthor Commented:
Attached the error coming up in previous post...hope the experts can help prevent a catastrophy tomorrow morning!
Rob GConnect With a Mentor Microsoft Systems EngineerCommented:
You can give this a shot...
However, i am fairly well certain that once the Avhdx has been deleted you are pretty much dead in the water..
Microsoft indicates you can pretty much recover anything as long as the avhdx file is still intact, but the error in the screenshot looks to be that the file is MIA..

If there are no backups.. "YIKES"...


I would suggest before trying anything you take a full backup of what you have currently, so you can revert back if you need to.. Otherwise you will run the risk of total loss.
Kasonde NeddyDesigner & DeveloperAuthor Commented:
Thannks guys..worst nightmare was realized...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.