Avatar of timb551
timb551
Flag for United Kingdom of Great Britain and Northern Ireland asked on

How to import VHD into Hyper V 2012

Hi

I have a VM server made up of 3 vhd's.

I need to move it to a new Hyper V server running 2012 Hyper V.

I have powered down the VM and then tried to import the server using Hyper V manager.

It wont find the server, presumably because they are vhd files not vhdx files.

What are my options?

thanks
Hyper-V

Avatar of undefined
Last Comment
timb551

8/22/2022 - Mon
Casey Weaver

Go through the New VM wizard, and when it asks to add a disk, select add an existing disk, then browse to your VHD and select it.
timb551

ASKER
So copy the files over to the new server and then add them to a new vm.  Nice and easy, thanks
Casey Weaver

Yes, sorry, I thought you had the VHD in hand already. Now do you actually have a VHD? Is this from VMWare Workstation?
Your help has saved me hundreds of hours of internet surfing.
fblack61
timb551

ASKER
The vhd's are sitting on another server at the moment and I'm copying them across. They are hyper v vhd files.
Casey Weaver

Ok I re-read, and I'm not sure why I thought you were coming from VMware. It would be easier if you exported from Hyper-V old and then took that folder of exported files to your new Hyper-V server and imported them. That brings all your configurations over. If your configurations of the virtual machine don't matter, however, then copying the VHD and using it with a new VM on the new Hyper-V server works just fine.
timb551

ASKER
When you say configuration what are you referring to?  Can you export over the network to the new server and the import locally?
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Casey Weaver

No not the server level stuff. Only the VM level stuff. If you export the VM, then when you import it all the settings remain the same (memory settings, network settings, storage settings, integration settings ect)
timb551

ASKER
sorry bit confused.  Looks like export and import is the way to go but i dont have enough disk space on the current hyper v server to export to.

I dont see where i can go from here, if i cannot export to a share on the new server.
ASKER CERTIFIED SOLUTION
Casey Weaver

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.
timb551

ASKER
they are both on the same network so as long as i can export across the network then that fine i will do that.
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
Casey Weaver

Yes that would work.
timb551

ASKER
im struggling with file permissions to be able to export over the network as neither hyper v server is a domain member server.

Is it worth considering converting the vhd files to vhdx files and then importing.

I am conscious though that i didnt want to touch the source vm really in case i need to go back to it.
Casey Weaver

Is setting Everyone permissions read and write not working? I really think for your situation a network share is going to be best.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Casey Weaver

Also make sure Network discover is on, and the firewall ports are open (or temporarily disable the firewall).
timb551

ASKER
apparently "everyone" is not good enough when both servers are not on a domain and i cannot work out how to give access.
Casey Weaver

Hows the NTFS permissions?
Experts Exchange has (a) saved my job multiple times, (b) saved me hours, days, and even weeks of work, and often (c) makes me look like a superhero! This place is MAGIC!
Walt Forbes
timb551

ASKER
Everyone has permission to all files and folders but I cannot work out how to specify the source server to have access across the workgroup. Might have to delay the move and go for a USB drive export and import.
Casey Weaver

USB will certainly get the job done. It's never fast though, just because of the nature of he massive amount of writing to such a slow drive as they typically put in those things. Average about 5-6 hours per TB writing, about 3-4 hours reading.
timb551

ASKER
Ended up exporting to USB and then importing.  Took a while but worked perfectly.  thanks for all your help.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.