Home > windows server 2008 r2 > How to "open" existing VMs in Hyper-V without importing them?

How to "open" existing VMs in Hyper-V without importing them?

June 29Hits:2
Advertisement

I had a PC with two physical disks:

  • C: containing the host operating system
  • D: containing a folder D:\VMs where all my virtual machines were stored

Now, the C: disk died. I bought a new one, reinstalled Windows on it, enabled Hyper-V feature and now I just need to open the VMs from the D:\VMs folder. However, I don't seem to be able to find a menu item or anything that would allow me to do that - the only thing I see is the "import" command which unfortunately requires the VMs to be explicitly exported (my machines weren't).

I would think that when I have all the files constituting a VM (the VHD file, some XML files describing the settings etc.) it should be somehow possible to just "open" these existing VMs in Hyper-V, right? What command am I missing?

Edit: I know I can create a blank virtual machines and then just point them to use existing VHDs. However, I am not sure about all the different settings I've made to those VMs so I hope there's a way to simply open those existing VMs instead of recreating them.

Answers

this is possible, but it's not supported by microsoft.

basically, you have to create a new VM, copy the settings to the XML files, and rename the snapshots.

complete directions are here: http://eniackb.blogspot.com/2009/05/how-to-recover-hyper-v-virtual-machine.html

You will want to create a new VM in the Hyper-V console, and when you get to the part about creating a new .vhd, or selecting one, simply browse to the existing .vhd files you have.

  1. New > Virtual Machine
  2. Name it, and select the directory the VM is in that you want to bring up
  3. Select memory and network
  4. "Use and existing virtual hard disk" and select your .vhd

This method will bring them up exactly as they were when the server died, just reapply the same network, cpu and memory settings. Any machines that had snapshots will only be able to load them if you do an actual export/import, otherwise you are loading the base .vhd

Related Articles

  • How to "open" existing VMs in Hyper-V without importing them?June 29

    I had a PC with two physical disks: C: containing the host operating system D: containing a folder D:\VMs where all my virtual machines were stored Now, the C: disk died. I bought a new one, reinstalled Windows on it, enabled Hyper-V feature and now

  • Can I run VMs in hyper V on a VHD Native booted Windows server 2012 R2 serverMay 6

    I have installed Windows server 2012 R2 in VHDX virtual disk and is using native VHD boot to boot up the server, I have installed the hyper v role in it. But upon on creating VMs it gives an error that "virtual machine failed to start. you need to en

  • Converting VMware VMs to Hyper-VNovember 24

    Our company is looking to try out Hyper-V as a server virtualization solution so I am looking for the most efficient way to test everything out safely. My plan is to make a snapshot backup of each of the 10 VMware VMs (these are live production serve

  • How to add Azure Internal load balancer (ILB) for an existing VMsDecember 17

    Hoping someone can point me to the right direction. I'm not having much luck with the setup. Here is the scenario and relevant (well, what I think is relevant but please ask if you need more) setup details. Resource Manager based deployment i.e. ARM

  • Unable to boot VMs on hyper-vMarch 17

    I need some advise and assistance regarding the testing of Hyper-V. Here is my h/ware configuration: 1) Intel i5 processor (i5-750) 2) Intel M/B DP55WB 3) 6 GB DDR3 RAM OS = Server 2008 R2 Standard (evaluation copy). I installed 2008 R2 on my machine

  • How to open existing VMs in VirtualBox?

    How to open existing VMs in VirtualBox?September 12

    I recently got a new workstation and I moved my VirtualBox and VMWare Player VMs from the old PC to the new. The VMWare Player VMs are a snap: you go to "File -> Open a Virtual Machine-", find the .vmx files from the old PC, and voila! It's u

  • Automated Linux VMs on Hyper-V 2012July 1

    I have a requirement to create a ton of linux VMs for our customers (we run managed infrastructure) on Hyper-V 2012 in the coming months and I have an issue with automating it. Here is how I need it to work: User accesses their web page and creates a

  • How to start VMs on Hyper-V Server 2008 R2 (Core) when DCs are not availableAugust 4

    We are relocating our office and a Hyper-V Server 2008 was shutdown for the move. At the new location, after connecting the cables and powering it up, I realise I can no longer access the VM on it at a fixed static IP. I connected a monitor, keyboard

  • Can't access the default gateway from my VMs using Hyper-V on a W8 Pro ASUS N76VAugust 4

    I just purchased a ASUS Notebook N76V. I first upgraded the OS to W8 Pro. I activated the Hyper-V feature. Everything runs fine. I can create virtual switches / Import VMs / Create new VMs / Boot my VMs. I configured the IP addresses / Sub-masks / de

  • Migrating VMs from Hyper-V 2008 R2 to 2012October 29

    I have a machine in house which i am planning on Migrating from Windows Server 2008 R2 with HyperV to 2012 with HyperV. I am trying to figure out the easiest way of doing the migration... Most of the VMs are living on a small iSCSI NAS/SAN, with both

  • Windows 8 freezes on startup when intel VT-d is enabledDecember 5

    I don't know what to make of this situation: Windows 8 freezes after about 3 seconds after booting to the log in screen. The only way i have been able to avoid the freeze, is if i set VT-d disabled VT-d enabled, but Nvidia drivers uninstalled (runnin

  • Hyper-V random shutdown of VMsAugust 9

    I've had my VMs on Hyper-V 2012 (standalone) shutdown/stop randomly. My VMs are all snapshotted images with the modern.ie windows 7 image (barebone windows 7 with IE9) as the base image. I basicly have installed no software, but have a cd/iso that is

  • Windows Server 2012 R2, multiple Hyper-V Virtual Network Switches for multiple VMsNovember 7

    I want to configure something like this: I have one NIC, and have been given 3 IPs by datacenter, on my server which is running WS2012R2, with 10 VMs on hyper-v. Windows Server 2012 R2 (host) one dedicated IP address. Second IP address should be shar

  • Converting Hyper-V VMs to VMware ESXi VMs (Not with Live Migration)February 27

    I am facing a small issue for converting my Hyper-V VMs to ESXi VMs. I have 1 physical server. On that physical server I have Windows Server 2008 installed with the Hyper-V role. My 1 Hyper-V host has 4 Hyper-V guests. I want to convert my Hyper-V ho

  • upgrade existing server to use Hyper VSeptember 10

    We have a small office with one server on SBS 2008 and we don't have a budget right now to buy a new server. Is it possible to buy a new harddrive, install hyper V then install the latest SBS 2012 and then move over all the data to the new server? --

  • hyper-v could not initialize memory there is not enough space on the disk (0x80070070)‎

    hyper-v could not initialize memory there is not enough space on the disk (0x80070070)‎August 26

    I have created a virtual machine on a Hyper-V server, Dell PowerEdge with 24 Gb of RAM. I want to have four VMs with 2048 Mb of RAM each. Originally, I created this one (SV-YAMATO) with 512 Mb of RAM, now I want to extend it to 2048 through the Setti

  • Hyper-v and sql server connections for web appsSeptember 9

    I have a physical machine running win8, and two VMs in hyper-v client: 1 web server, 1 sql server. The web server works fantastic. The sql is the one that is giving me the problem. I can connect to it with server explorer in visual studio or manageme

  • Migrating Windows Server 2008 R2 Hyper-V machines to Windows 8 Hyper-V

    Migrating Windows Server 2008 R2 Hyper-V machines to Windows 8 Hyper-VOctober 23

    I was using Windows Server 2008 R2 as my developer machine, hosting my Hyper-V virtual machines. I am now switching over to Windows 8 to run Hyper-V in a client OS, which is my use case anyway. Are there any gotchas I should be aware of before I atte

  • Hyper-V: determine the guest's name given the GUIDNovember 15

    How would I go about determining the guest's name given its GUID or vice-versa, preferably with only the Hyper-V/Server Core stock install at hands? Rationale: I am in favor of having a repository of dirty tricks to revert to when in great need. To i

  • Removing hyper-v and then installing againMay 14

    I have Windows 8 machine with Hyper-V enabled. I have a few VMs with SharePoint installed. I want to install VMWare but it won't allow me to since Hyper-V is enabled on this machine. So I want to disable Hyper-V from "Turn Windows features on or off&

Copyright (C) 2018 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.474 s.