How do I move the 2008 R2 Microsoft Hyper-V installation and VM to the E Drive?

A tech installed 2008 R2 Hyper-V and created a virtual machine on the F : drive.  I need to move them off F: to E:  because I am installing another software that needs exclusive access to the F: drive.  This is what I see on the hard disk.

F:\ProgramData\Microsoft\Windows\Hyper-V\Virtual Machines
F:\Users\Public\Documents\Hyper-V\Virtual Hard Disks
Who is Participating?
Emmanuel AdebayoConnect With a Mentor Global Windows Infrastructure Engineer - ConsultantCommented:
The way to do this is by
1.Exporting the virtual machine
2.Copying it to the new disk
3.Import it at the new location. This will also maintain snapshots.

You can get more information at
becraigConnect With a Mentor Commented:
Here is also a nice howto in Powershell if you have multiple mahcines or multiple configured drives you are trying to move:
masterofallAuthor Commented:
I did not try becraig solution but is looks correct.
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.