Avatar of Sysguys
Sysguys
Flag for United Arab Emirates asked on

Restoring VM from VHD file

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
VirtualizationHyper-V

Avatar of undefined
Last Comment
Sysguys

8/22/2022 - Mon
Sajid Shaik M

how it's crashed what is the error you are getting ?
Sysguys

ASKER
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.
Sajid Shaik M

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...
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
Sysguys

ASKER
Hi Sajid,
Thanks for ur response convert the VHD ? didn't get it.
Sajid Shaik M

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
Sysguys

ASKER
I am getting the below error when i do that.

hyper-V.JPG
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Sajid Shaik M

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Sysguys

ASKER
yes DVD was attached ,i removed it,but no luck.
hyperv2.JPG
Sajid Shaik M

restart the host machine and try again please ...
Sysguys

ASKER
Restarted still the same :(
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
SOLUTION
Philip Elder

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Sysguys

ASKER
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
ASKER CERTIFIED SOLUTION
Sysguys

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Philip Elder

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Sysguys

ASKER
The other solution for this is to importing the VHD on Hyper 2012 R2 instead of 2008
Sysguys

ASKER
I found the solution myself for restoring the VHD
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.