Can the hyper-v .vhd file be moved to another drive location without it affecting access to hyper-v?

Currently the .vhd file resides on C: Drive and I wish to move it to another drive location to free up disk space.
Who is Participating?
Lee W, MVPConnect With a Mentor Technology and Business Process AdvisorCommented:
A VHD is the Virtual hard disk.  It is by far the largest file (when you don't have snapshots).  The other files are definitions of what hardware you have assigned to the machine (Which VHDs, RAM, CPU, NICs, etc).  

If you want to move all the "support" files for the VM, then I'd say use the Import/Export option. BUT, your original question was about moving the VHD.  If you JUST move the VHD as I explained, then nothing else changes but the location of the VHD.
Lee W, MVPConnect With a Mentor Technology and Business Process AdvisorCommented:
Shut down the VM, remove the file from the VM settings, move the file, add the file back into the VM settings.  Should be fine.  In 2012, you can do a storage migration without even shutting down the VM.
Andrew Hancock (VMware vExpert / EE MVE^2)Connect With a Mentor VMware and Virtualization ConsultantCommented:
You could also Export and Re-Import the VM

see here

Simplify Active Directory Administration

Administration of Active Directory does not have to be hard.  Too often what should be a simple task is made more difficult than it needs to be.The solution?  Hyena from SystemTools Software.  With ease-of-use as well as powerful importing and bulk updating capabilities.

Lee W, MVPTechnology and Business Process AdvisorCommented:
Exporting and importing would take at least as long and has little if any benefit (I'd expect it to be longer)
Vinod PawarConnect With a Mentor IT Core Computing AdvisorCommented:
You have 2 options
1. Shutdown VM and change VHD location from C drive to E drive. ( make sure you have copied filed also take bckup of all vhd. files first.
hope there are no snapshots

2. shutdown VM, copy vhd file from c drive to new location. recreate virtual machine and attached copied vhd by selecting custom option
discoveranotherAuthor Commented:
All sound decent options. There are no snapshots. I assume shutting down VM and copying to new drive and adding the file back in will retain all previous settings, then I can delete from C Drive ?
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.