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
SysguysAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sajid Shaik MSr. System AdminCommented:
how it's crashed what is the error you are getting ?
0
SysguysAuthor Commented:
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
Sajid Shaik MSr. System AdminCommented:
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
Cloud Class® Course: CompTIA Healthcare IT Tech

This course will help prep you to earn the CompTIA Healthcare IT Technician certification showing that you have the knowledge and skills needed to succeed in installing, managing, and troubleshooting IT systems in medical and clinical settings.

SysguysAuthor Commented:
Hi Sajid,
Thanks for ur response convert the VHD ? didn't get it.
0
Sajid Shaik MSr. System AdminCommented:
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
SysguysAuthor Commented:
I am getting the below error when i do that.

hyper-V.JPG
0
Sajid Shaik MSr. System AdminCommented:
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
SysguysAuthor Commented:
yes DVD was attached ,i removed it,but no luck.
hyperv2.JPG
0
Sajid Shaik MSr. System AdminCommented:
restart the host machine and try again please ...
0
SysguysAuthor Commented:
Restarted still the same :(
0
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
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
SysguysAuthor Commented:
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
SysguysAuthor Commented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Philip ElderTechnical Architect - HA/Compute/StorageCommented:
If the VM is not a DC then workgroup it and re-join the domain. All will be okay.
0
SysguysAuthor Commented:
The other solution for this is to importing the VHD on Hyper 2012 R2 instead of 2008
0
SysguysAuthor Commented:
I found the solution myself for restoring the VHD
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Virtualization

From novice to tech pro — start learning today.

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.