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

Emmanuel AdebayoGlobal 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

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
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.
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
Windows Server 2008

From novice to tech pro — start learning today.