Solved

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

Posted on 2014-12-19
3
173 Views
Last Modified: 2015-01-24
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
0
Comment
Question by:swlaurie
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 35

Accepted Solution

by:
Seth Simmons earned 500 total points
ID: 40509174
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
 
LVL 24

Expert Comment

by:VB ITS
ID: 40509355
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
 
LVL 5

Expert Comment

by:Arjun Vyavahare
ID: 40516209
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

Featured Post

Why You Need a DevOps Toolchain

IT needs to deliver services with more agility and velocity. IT must roll out application features and innovations faster to keep up with customer demands, which is where a DevOps toolchain steps in. View the infographic to see why you need a DevOps toolchain.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Configuring Remote Assistance for use with SCCM
I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question