Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2014-12-23
6
Medium Priority
?
120 Views
Last Modified: 2014-12-28
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
Comment
Question by:kasondeneddy
  • 3
  • 2
6 Comments
 
LVL 6

Expert Comment

by:Rob G
ID: 40515194
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
 

Author Comment

by:kasondeneddy
ID: 40515243
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
 

Author Comment

by:kasondeneddy
ID: 40515245
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.

 
LVL 6

Assisted Solution

by:Rob G
Rob G earned 1400 total points
ID: 40515284
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
 
LVL 60

Accepted Solution

by:
Cliff Galiher earned 600 total points
ID: 40515289
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
 

Author Closing Comment

by:kasondeneddy
ID: 40520338
Thannks guys..worst nightmare was realized...
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background Information Recently I have fixed file server permission issues for one of my client. The client has 1800 users and one Windows Server 2008 R2 domain joined file server with 12 TB of data, 250+ shared folders and the folder structure i…
What to do when Windows Update is not working correctly? What tools can I use to detect the cause of the malfunction problem? What does this numeric error code mean? These and other questions that you have been asking in the past are answered here (…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

876 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question