HYPER-V Relocation

Hi Guys,

we are running a free version of "HYPER-V 2008 R2 baremetal". Previously we only had one hard drive on the host i.e. C:/ drive but this filled up overtime.
Now we put a second drive in which is called D: drive.

My question is how do I migrate my VM from C:/ drive to D:/ drive without disturbing configuration. Anyone has experience with this procedure and tell me with certainty?
LVL 11
Who is Participating?
Rob WilliamsConnect With a Mentor Commented:
The export wizard will ask you where you want to place the exported files including the vhd/vhdx.  Once the process is completed if you want to move again you can just copy, then do the import.  The following outlines, though it is a slightly older version they are referencing.

You could also leave it where it is and add a virtual disk to the existing VM, and move services and/or data.

This is in the SBS TA, if so and moving data within the VM, make sure you use the wizards in the console
Rob WilliamsCommented:
In my opinion, the easiest way, which retains configurations and permissions, is to use the hyper-V manage, right click on the VM, choose export and select the new location, then import.
manav08Author Commented:
SO where do you export to and then import??
Does it actually export the VHDs or config only?
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Svet PaperovConnect With a Mentor IT ManagerCommented:
Export-Import method is a good one for moving VMs between servers because it takes care of the configuration file as well as the VHD file(s). However, there is no need to do it on a single server if you want to move the VHD files only.

After shutting down the VM you can move its VHD file to the new location and reattach it to the VM configuration in Hyper-V Manager. There is one condition: this method doesn’t work if there are snapshots of the virtual machine – in such case you will have to apply them first (make sure you have enough free space for the merge of all VM AVHD files to its VHD) or use the previously recommended Export-Import method.
manav08Author Commented:
No snapshots in use. I guess If I only move vhd then the config file will still sit on C:/ drivbe which will get confusing.
Svet PaperovIT ManagerCommented:
Yes, if you move the VHD files only, the config will stay on C:\. If it's confusing you will have to go with export-import method.
manav08Author Commented:
Sorry guys, this question isn't abandoned. Will test this on weekend most likely.
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.

All Courses

From novice to tech pro — start learning today.