Solved

Restoring VM from VHD file

Posted on 2016-08-31
17
24 Views
Last Modified: 2016-09-08
Dear All,

We were running a Hyper V server,but got crashed suddenly but i have the VM folder of the VM which includes the VHD and all other files ,is it possible to restore the VM from the VM folder .

the version of the Hyper V was 2008
0
Comment
Question by:Sysguys
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 5
  • 2
17 Comments
 
LVL 16

Expert Comment

by:Shaik M. Sajid
ID: 41779414
how it's crashed what is the error you are getting ?
0
 

Author Comment

by:Sysguys
ID: 41779445
Actually its was an old server and there was some problem with the RAID level i cannot bring the server up ,but since the VM volume was available i was able to copy paste the whole VM folder.
0
 
LVL 16

Expert Comment

by:Shaik M. Sajid
ID: 41779447
make a copy of the same and create new vm and connect the VHD and check weather it works or not... actually if it's having restore points then it's difficult to copy and run the VM by coying folder...
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:Sysguys
ID: 41779450
Hi Sajid,
Thanks for ur response convert the VHD ? didn't get it.
0
 
LVL 16

Expert Comment

by:Shaik M. Sajid
ID: 41779455
connect the VHD : it's not convert

connect means when you create new vm on the hyper-v host the process will as you to create a vhd or attach existing vhd so use the existing option and point to this vhd path

VHD is generation 1

VHDx is generation 2

if you are working on windows 2012 or later
0
 

Author Comment

by:Sysguys
ID: 41779549
I am getting the below error when i do that.

hyper-V.JPG
0
 
LVL 16

Assisted Solution

by:Shaik M. Sajid
Shaik M. Sajid earned 250 total points
ID: 41779564
please check if there any  DVD attached to this machine then remove it...and check...

right click vm, go to settings dvd connected then un check/remove it and try again
0
 

Author Comment

by:Sysguys
ID: 41779599
yes DVD was attached ,i removed it,but no luck.
hyperv2.JPG
0
 
LVL 16

Expert Comment

by:Shaik M. Sajid
ID: 41779612
restart the host machine and try again please ...
0
 

Author Comment

by:Sysguys
ID: 41779636
Restarted still the same :(
0
 
LVL 38

Assisted Solution

by:Philip Elder
Philip Elder earned 250 total points
ID: 41780531
On the newly installed host create a new Gen1 VM.
Attach the VHD file(s) to the VM in the order they were in on the original host.
Boot.
You may need an ISO of the guest OS to run Repair to restructure the boot configuration database.
Once in the networking will need to be set up once again.
0
 

Author Comment

by:Sysguys
ID: 41781547
Thanks everyone for your response

Got the solution form the below link ,after i installed the hotfix on the host the VM started up like a magic without any issues.

http://doitfixit.com/blog/2014/01/27/hyper-v-could-not-initialize-on-server-2008-r2/

https://support.microsoft.com/en-us/kb/2517374
0
 

Accepted Solution

by:
Sysguys earned 0 total points
ID: 41781607
Although the VM is restored but now i am getting trust relationship issue when i am trying to login with domain account,but i am able to successfully login through local account.

i followed the below link but no help.
http://www.bradleyschacht.com/hyper-v-the-trust-relationship-between-this-workstation-and-the-primary-domain-failed/
0
 
LVL 38

Assisted Solution

by:Philip Elder
Philip Elder earned 250 total points
ID: 41782106
If the VM is not a DC then workgroup it and re-join the domain. All will be okay.
0
 

Author Comment

by:Sysguys
ID: 41783367
The other solution for this is to importing the VHD on Hyper 2012 R2 instead of 2008
0
 

Author Closing Comment

by:Sysguys
ID: 41789227
I found the solution myself for restoring the VHD
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
Veeam Backup & Replication has added a new integration – Veeam Backup for Microsoft Office 365.  In this blog, we will discuss how you can benefit from Office 365 email backup with the Veeam’s new product and try to shed some light on the needs and …
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

733 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