Cannot Import .vhd Into Windows 2012 Standard Hyper-V Environment

We are attempting to add a .vhd file from a Windows 2008 R2 Enterprise SP1 to a new Hyper-V server running Windows 2012 Standard.  When we go through the process of creating the new virtual machine and then attaching the .vhd file which appears to work normally.  However, when we attempt to start the new guest, we receive an error message (see attachment for details).
Hyper-V-Error.JPG
swlaurieAsked:
Who is Participating?
 
Seth SimmonsConnect With a Mentor Sr. Systems AdministratorCommented:
error is obvious; something else is using that vhd file
is that existing 2008 guest running?

if not, i would use handle (sysinternals tool) to see what process has a lock on it

Handle v4.0
http://technet.microsoft.com/en-us/sysinternals/bb896655
0
 
VB ITSSpecialist ConsultantCommented:
Agree with Seth, the error is pretty self-explanatory in that something has obviously got a lock on the file. Did you maybe accidentally double click the VHD file, as this will mount the VHD inside Windows? If this is the case you just right click on it in Disk Management then dismount it. Otherwise use the Handle utility as suggested by Seth above.
0
 
Arjun VyavahareTechnical ConsultantCommented:
Hi,

I think you have both VMs referencing the same VHD (virtual hard disk) file.  You will need to have a separate VHD for each machine.  Check all VHDs that you have assigned to ensure that the hard disks they are pointing to are separate VHD files.

I hope this will resolve your issue.

Regards,
Arjun
0
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.