• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 126
  • Last Modified:

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

Regards
0
Kasonde Neddy
Asked:
Kasonde Neddy
  • 3
  • 2
2 Solutions
 
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?
0
 
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.
exchange-error.png
0
 
Kasonde NeddyDesigner & DeveloperAuthor Commented:
Attached the error coming up in previous post...hope the experts can help prevent a catastrophy tomorrow morning!
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell┬« is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
Rob GMicrosoft Systems EngineerCommented:
You can give this a shot...
http://eniackb.blogspot.ca/2009/05/how-to-recover-hyper-v-virtual-machine.html
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"...

http://blogs.msdn.com/b/robertvi/archive/2008/08/26/howto-recover-snapshots.aspx

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.
0
 
Cliff GaliherCommented:
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.
0
 
Kasonde NeddyDesigner & DeveloperAuthor Commented:
Thannks guys..worst nightmare was realized...
0
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.

Join & Write a Comment

Featured Post

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell┬« is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now