Hyper-V 2012 R2 generation 2 VM corrupted system partition after restart

Hi
We have a cluster running on Windows Server 2012 R2 with Hyper-V feature.
One VM that has Windows 2012 R2 Standard OS installed (generation 2) was corrupted via restart.
VM has 3 virtual disks (VHDX) - first for system (dynamic size), second for SQL_data (fixed size) , third for SQL_logs (fixed size)
Yesterday, I restarted VM and VM didn't come up, I got error
- 'Boot Failed. Windows Boot Manager'
- 'Boot Failed. EFI SCSI Device'
Looked all three VHDX we noticed that the first one (system) was corrupted - partition and MBR are gone inside VHDX.
Second and third one are OK, we can mount them and access all data on it.
It looks like on first VHDX (system with SQL 2014 installed) partition was corrupted, so we can't do repair because it's says unknown partition.
There were no updates applied to VM, corrupted partition is 40GB size (dynamical) with 18GB of data used.
This is first generation 2 VM that we have, all others are generation 1 without any problems.
Can anyone please explain us, how can this happened, since we did nothing inside VM, also cluster reports no errors, checking VHDX looks fine, just partition inside got corrupted.
We like to find out what happened, before we deploy more Win2012 R2 VM (gen2) in production envirionment.
Thank you in advance 
Regards
Mike

Hi Mike ,
 " The most common causes of data corruption in the VHD file are from:
Data corruption due to faulty / failing physical storage
Data corruption due to transferring files over faulty / failing networks
Maybe the following link is helpful :
http://blogs.technet.com/b/tonyso/archive/2011/12/06/how-to-fix-a-corrupted-hyper-v-vhd-file.aspx
Hope it helps
Best Regards
Elton Ji
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place.

Similar Messages

  • Virtual Machine Generation 2 Boot Issue!!! (Windows Repair Bootloop! ) Hyper-V 2012 R2

    Hello people, I'm having the following with the GEN 2 in Hyper-V 2012 R2.
    Issue: After bouncing my GEN2  Hyper-V VM I get this.
    Then I get the Windows Repair and nothing happens after this point!  
    Does someone have experience this issue ?
    The bad thing with it is as it's production there's no checkpoints and I cannot recover it!
    Note: this doesn't happens with GEN1 VM's.
    Any help will be really appreciated

    Hi, thanks for the quick response. Now the images are appearing... oh well...
    Quite familiar to me this one.  I have a couple of, or more, remedies;
    1: increase the available memory to at least 4096 - just whilst installing you can alter it later.
    2: make sure the enhanced session switches (both in Server and User) in the hyper-v manager are not enabled - you can re-enable them later
    3: Disable "Enable Secure Boot" in the VM settings - Firmware - you can enable it after the install
    4:  make sure Heartbeat is enabled in the VM's settings - Integration Services
    5: Last, but not least, make sure the Smart Paging File Location is the same as the VM's location. Eg: VM: <D:\VMS\Machines> Smart Paging Location: <D:\VMS\Machines>
    One or more of these has "always" worked for me in the past.  I don't offer any warranty with these "solutions", but by disabling or enabling the various options I have nearly always been able to get the VM started. 
    Is the ISO you are utilizing good?  One client of mine assured me he had never touched the ISO saved in that 'special place'.  A quick peer at the files inside the ISO revealed that he had been at the files and changed a minor file and then changed
    it back to what he thought it had said...
    Cheers
    Andrew

  • Moving VMs From One Hyper-v 2012 R2 to Another Hyper-v 2012 R2

    Hi everyone, was hoping for some help in something I am confused about
    Currently I have SERVER1 running hyper-v 2012 R2
    I want to move all my VMs (around 20)  to SERVER2 also running Hyper-v 2012 R2
    But I am confused on the best way to do this
    1) should I just click on "MOVE" on SERVER1 to move to SERVER2?
    2) Should I do an export and then import
    3) should I setup replication from Server1 to Server2 and then do a failover?
    4) or should I shut the VM down, copy the VHDX file and then create a new VM and use that VHDX
    I just want to be cautious and use the best method to ensure it goes smooth and not worry about any corruption. Can anyone offer some advice?
    thanks

    Hi everyone, was hoping for some help in something I am confused about
    Currently I have SERVER1 running hyper-v 2012 R2
    I want to move all my VMs (around 20)  to SERVER2 also running Hyper-v 2012 R2
    But I am confused on the best way to do this
    1) should I just click on "MOVE" on SERVER1 to move to SERVER2?
    2) Should I do an export and then import
    3) should I setup replication from Server1 to Server2 and then do a failover?
    4) or should I shut the VM down, copy the VHDX file and then create a new VM and use that VHDX
    I just want to be cautious and use the best method to ensure it goes smooth and not worry about any corruption. Can anyone offer some advice?
    thanks
    It all depends on your environment and your current Hyper-V configuration.
    I asume both servers are domain-member of the same domain and don't use SCVMM. If so, then make sure you do the following:
    First enable the "Live Migration" feature in the Hyper-V settings on both Hyper-V Servers.
    Make sure both Hyper-V Servers have a vSwitch configured with the same display name and connectivity. They must be somewhat identical, but not everything. As long as the connectivity is the same.
    Make sure you have a location to store the VM files on SERVER2.
    Then do a Live Migration from SERVER1 to SERVER2, follow the wizard. By using the Hyper-V Manager console on SERVER1.
    NOTE1: Without computer certificates and Kerberos configuration on your Live Migration settings you cannot initiate a Live Migration from the Hyper-V Manager cconsole on SERVER2. With the default configuration, you have to login on (or connect
    to) SERVER1 en then initiate the Live Migration. 
    NOTE2: If you can't configure the vSwitches the same. Then you have to shut down the VMs and do a Quick Migration. Then re-configure the VM network properties and power on the VMs.
    I hope this information will help you goin on. If you need more detailed information use the following link:
    Configure Live Migration and Migrating Virtual Machines without Failover Clustering
    http://technet.microsoft.com/nl-nl/library/jj134199.aspx
    Boudewijn Plomp | BPMi Infrastructure & Security
    This posting is provided "AS IS" with no warranties, and confers no rights. Please remember, if you see a post that helped you please click "Vote as Helpful", and if it answered your question, please click "Mark as Answer".

  • Dose Hyper-V 2012 R2 support the consoles of 500+ Win7 VMs are connecting by vmconnect at the same time?

    Dear Experts,
    I have 500+ Win7 VMs in Hyper-V 2012 R2. I'd like provide my guys to access these Win7 VMs' console using Virtual Machine Connection (VMConnect) w/ Enhanced Session Mode. My guys are simple workers. I assume they may execute a bat file(vmconnect [<Servername>
    <VMName>]) from the command prompt, then access their Win7 VM console and copy/paste into the virtual machine. So, there may be 500+ Win7 VMs are interacting with like physical computers. My question is if Hyper-V 2012 R2 have limitation when the
    consoles of 500+ Win7 VMs are connecting at the same time. Please kindly offer some guide. Really appreciated for the help!
    Best Regards,

    Well, the server has stayed up and running.
    The Only thing I can put it down to is that I disabled a scheduled task that is supposed to cause the server to BSOD/memory dump when a specific event ID happens. We did this several months ago as GRT generation in CA D2D backup was causing the server to
    become unresponsive and required "Turn Off" in Hyper V Manager. We scheduled a util called "NotMyFault" which was supposed to trigger when an event ID happened only during the D2d backup. That fault was cured long ago by an undocumented
    config of afstor.ini, but the scheduled task was left in place. The task never triggered - or at least there were no events showing it had triggered and in the task history, the last time was a month ago. Funny though how it was the ONLY change I made yesterday
    and the server stayed up. I will monitor for the next few days, and if the server is OK, then must conclude that it was the cause. I suppose I could re-enable it at some point to prove the point.

  • Hyper V 2012 R2 Cluster Host Continusly restarting

    Hi,
    I have a new Hyper V 2012 Data Center Edition 3 Hosts Cluster with shared SAN storage network. I I restarted one host after due to a guest VM not shutting down well, unfortunately after the host hard restart windows OS goes Getting Ready  to updating
    and stopping and restarting the cluster services automatically then goes system restart. with out going to windows desktop and  its continually doing the same thing. MY server is HP BL 680 G7...

    Hi Joy Devis,
    In addition , if the node can not be fixed  (cause of some corruption ), you may think of remove the node and add it after rebuilding the node .
    For details please refer to the article regarding "Add a Server to a Failover Cluster":
    http://technet.microsoft.com/en-us/library/cc730998.aspx
    Hope this helps
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • 2012 R2 Generation 2 VM Boot Failure after Migration

    I have encountered an issue after migrating virtual machines to a new host. It happens whether the VM has been moved with live migration or though a shutdown, export, import process.
    The hosts are both 2012 R2 Datacenter. The virtual machines are Generation 2 and also have 2012 R2 Datacenter. All the systems where installed with the April ISO. The only difference between the hosts is that one only has no other updates. The other has
    all recommended and optional updates as off 2014-10-10.
    Once the machine has migrated to the updated host the next time it attempts to boot up (after a restart, ect.) it will fail with one of these two messages.
    This happens whether the virtual machine has updates or is a fresh install from the April ISO. Once the machine is migrated back to the host that does not have any updates it will boot back up without any issues.
    Notes:
    The virtual machines where created on the host without any updates.
    When creating a new virtual machine on the host with updates the 2012 R2 ISO bluescreens.
    I setup another host machine without updates, tested migration to it and then ran updates. Same issue occurs.
    I have tried boot with and without secure boot enabled also tries it with drive signature enforcement disabled. No change either.
    This does not happen with generation 1 machines.
    What I am trying to figure out is, if it truly is an update issue which update might it be so that it can be avoided? It would also be interesting to figure out if there is a workaround to get affect virtual machines to boot back up.
    Let me know what your ideas are or if there are any other tests you would like me to provide.

    I would like to thank you for your suggestions. It wasn't the updates that where causing the problem, it is actually a side effect of them requiring a restart. In addition to running updates on the new host servers, I also added a second network card.
    The virtual machines are stored on an SMB 3.0 file share. When the server gets restarted SMB 3.0 finds and starts using that second network card in a multichannel configuration. (There are two physical cards / 3 ports / 3 vlans).
    I found this out when I looked at the multichannel configuration on the server without updates, but had this network card installed. It wasn't using it at all. After a restart of that server the VM's where exhibiting the same broken behavior. Simply disabling
    that network card on the machine got them to work again. The server with updates, because it had been restarted already, was trying to use this network card in SMB 3.0 multichannel.
    It just happened to be a coincidence of timing. On the other hand the issue moves to why this second NIC would be causing these issues. I am not entirely sure if it actually has to do with SMB verses something with Hyper-V and the network card. After the
    restart the saved state of VM's on it failed to start. Removing the saved state and trying to boot them resulted in the same digital signature error. However, like I mentioned, disabling the network card worked. Virtual machines with
    save states restored themselves and those without them also would boot. Again, I will post what I figure out.
    Thanks again,
    Kevin

  • How do I turn off Hyper-V 2012 server sleep mode?

    Just installed Hyper-V 2012 server on a HP ML360 G8. Also installed Corefig 1.1.1. It seems after about 10 minutes if idle time the monitor goes black and the unit goes into sleep or hibernation.  I have used powercfg to set it to the High Performance
    power scheme and set screensaver to none in Corefig. 
    When the monitor goes black, if I move the mouse the sconfig screen, corefig, etc windows do not show until I run the mouse over them. Even then the windows do not 'repaint' until I run the mouse over the whole window or make some kind of key stroke in each
    window.
    Worried what this will do to my VMs once I start building them and would like to see the screen at all times.  This is the first 2012 box and I have never had this issue with any of the Core 2008 products.
    Thanks

    Hi,
    “I can't locate the GUI you show, it's Hyper-V 2012 Server,so i can't edit the settings. 
    Sems like it may be the monitor itself is going to sleep”
    The other possible is you don’t have the administrator rights, or your server has got the Power Management, after you configuration the power option, the GPO refresh then
    the old configuration be covered. Please refer the following article to confirm that:
    Power Policy Configuration and Deployment in Windows
    http://msdn.microsoft.com/en-us/windows/hardware/gg463243.aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Can I assign several physical storage locations for each virtual machine when using the replication-feature from Hyper-V 2012 R2?

    Hi everyone,
    I have 2x physical servers running Hyper-V 2012 R2. Each hosts several virtual machines. The VHDs of the VMs are stored on several dedicated physical disks to have a performance boost. For exampe if VM A has two VHDs attached I made sure that the VHDs are
    on different physical disks to have them not slow-down each other in case of intensive disk accesses.
    So far so good. I was looking forward to the replication-feature. The idea is to have the two physical servers have their primary running VMs being replicated to the other physical server and vice-versa. I was hoping to have the chance to choose for each
    individual VM where the replicated VHD will be stored. But instead I can only see the one location/path which is configured in Hyper-V Manager when I activate the replication-feature on the server.
    Is there by any chance a way how to select the storage location for each VHD/VM if using the replication-feature of Hyper-V 2012 R2?
    Thanks in advance.
    Cheers,
    Sebastian

    Secondly, you could replicate different VMs to different storage locations to perform some of the disk balancing you are trying to perform.  Lastly, you could copy the vhd file to a different location
    before starting the VM.
    .:|:.:|:. tim
    Hi Tim,
    thanks for the reply. Sorry, but I had some other tasks to take care of, so I wasn't paying enough attention to this thread.
    The part I quoted from your reply sounds exactly like the action I'd like to perform, but as you pointed out before this should not be possible.
    How can I perform the action (replicating each VM to a storage location) as you mentioned secondly? To sum it up again:
    2x physical machines carrying severel HDDs
    8+ VMs spread to run on the 2x servers
    when setting up replication I can only set the storage-location from server A on B and vice versa B on A
    Thanks again for your reply.
    Cheers,
    Sebastian

  • Hyper-v 2012 r2 slow throughputs on network / live migrations

    Hi, maybe someone can point me in the right direction, I have 10 servers 5 Dell r210s and 5 Dell R320's, I have basically converted these servers to standalone hyper-v 2012 servers, so there is no clustering on any at the moment.
    Each server is configured with 2 1Gb nics teamed via a virtual switch, now when I copt files between server 1 and 2 for example I see 100MBs throughput, but if I copy a file to server 3 at the same time the file copy load splits the 100MBs throughput between
    the 2 copy processes. I was under the impression if I copied 2 files to 2 totally different servers the load would basically be split across the 2 nics effectively giving me 2Gbs throughput but this does not seem to be the case. I have played around with tcpip
    large send offloads, jumbo packets, disabled vmq on the cards, they are broadcoms. :-(  but it doesn't really seem to make a difference with all of these settings.
    The other issue is If I live migrate a 12Gb vm machine running only 2gb ram, effectively just an o/s it takes between 15 to 20 minutes to migrate, I have played around with the advanced settings, smb, compression, tcpip not real game changers, BUT if I shut
    town the vm and migrate it, it takes, just under 3 and a half minutes to move across.
    I am really stumped here, I am busy in a test phase of hyper-v but cant find any definitive documents relating to this stuff.

    Hi Mark,
    The servers (hyper-v 2012 r2) are all basically configured with ssvmm2012R2 where they all have teamed 1Gb pNics, into a virtual switch, then there are vNics for the Vmcloud, live migration etc.  The physical network is 2 Netgear Gs724T switches which
    are interlinked and each servers 1st nic is plugged into the switch1 and the second nic is plugged into the switch2.See Below Image)  The hyper-v port is set to independent Hyper-v load balancing. 
    The R320 servers are running raid 5 sas drives, the R210s have 1Tb drives mirrored.  The servers all are using DAS storage, we have not moved to looking at using iscsi and san is out the question at the moment.
    I am currently testing between 2x 320s and 2x R210s, I am not copying data to the vm's yets, I am basically testing the transfer between the actual hosts at the moment by copying a 4Gb file manually, After testing the live migrations I decided to test to
    see the transfer rates between the servers first, I have been playing around with the offload settings and rss, what I don't understand is yesterday, the copy between the servers was running up to 228Mbs ie (using both nics) when copying
    the file between the servers, and then a few hours later it only was copying at 50/60Mbs, but its now back at 113Mbs seemingly to be only using one nic.
    I was under the impression if you copy a file between 2 servers the nicks could use the 2gb bandwidth, but after reading many posts they say only one nic, so how did the copies get up to 2Gb yesterday. Then again if you copy files between 3 servers, then
    each copy would use one nic, basically giving you 2Gbs, but this is again not being seen.
    Regards Keith

  • Hyper-V 2012 R2 Remote Management with Windows 8.1 using Microsoft Account (Workgroup)

    Hello,
    I've set up a Hyper-V 2012 R2 Server and tried to manage it from a Windows 8.1 with a Microsoft Account. Everything is in the same workgroup. After many searches, the only way is set up the server for remote access, install RSAT and log on with an Administrator
    account from the server in Server Manager console.
    So, this situation generates a question: since it's impossible to set up a Microsoft Account in Hyper-V server as a local user, it's impossible to use "the same account and password" way to establish a link between server and desktop? I must use
    a remote account for connection? Why Windows 8.1 local account and online account can't be merged as a single account?
    By the way, there are some consoles that cmdkey doesn't work, so it's not an option.
    Best regards.
    Herleson Pontes MCT | MCITP | MCSA | MCTS | MCP | MOS http://www.herlesonpontes.com.br – [email protected]

    I have not fully tried this myself but I know this:
    A microsoft account can only be added to Server as a User, and only after Desktop Experience has been added.  This is also how you enable the MSFT Store on Server.
    This also requires a Full install of Server and is not possible on the free Hyper-V Server SKU.
    But, the legacy Server Manager console that Hyper-V Manager is built on has no concept of this new user account type.  And neither does Kerberos (the default security mechanism).
    So, my guess is that the best you can do is treat it the same as any workgroup machines.
    If you use Azure AD and sync your domain credentials, you have the password equivalent.  But you still require some AD in the middle.  This is simply the current state of affairs.
    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.

  • RDS - Issue using Windows 10 build 9926 as Virtual Desktop Infrastructure on Hyper-V 2012 R2

    We currently have a production Windows 8.1 as a VDI/RDS on Hyper-V 2012 R2. On testing the last build of Windows 10 (98??) we had no issues deploying this in same RDS as pooled desktops.
    The latest build 9926, although correctly sysprep-ed (either by removing AppX modern apps that have been updated, or not connecting the template to the internet), the build is only ever partially successful. Some VMs build others do not, and the ones that
    build cannot be managed via RDS/Server Manager, functions such as logging a user off  with server manager, result in an error. (WTS API failed)
    Build Error on connection Broker - Microsoft-Windows-TerminalServices-SessionBroker
    VM host [HOSTSERVER05] failed to execute VM Provisioning operation [Task: To perform post processing actions at VMHostAgent:] for virtual machine [VDI-W10-57] in pool [VDI_Advanced_Te], Error: [Error code: 0x88130221.]
    Any guidance on how to troubleshoot this would be greatly appreciated, although I suspect something regarding the auto-deployment/unattend and management systems though RDS no longer works with the latest Windows 10 build.
    Already posted this in the
    Windows Insider Program site, but was asked to re-post here. Thanks

    OK, I've carried out some more testing on the client site and have been able to move a couple of existing VMs from their 2008 R2 Hyper-V server to the new 2012 R2 server.
    Both VMs are Windows 7 SP1 with the RDP 8.0 update installed and I can connect to them from a Thin Client running RDP 7.1 and a laptop running RDP 8.0.
    When I add the RemoteFX vGPU to them both I can still connect from both devices but, as suggested, when connecting from the laptop with RDP 8.0 I don't get the vGPU performance (but the vGPU is still shown in the device manager).
    It all looks good at the moment but I'm still concerned as to why I was unable to connect to the first VM I moved over (it was complaining about a error in the License network communication or similar).
    I'll keep testing and post anything else that might be useful.
    Cheers for now
    Russell

  • SLES 10 (SP3) on Hyper-V 2012 R2

    I do realize that is unsupported (only SP4 supposedly is)
    But I have SLES 10 (SP3) image that got converted from vSphere
    Once I can boot the IDE disk (by editing menu.lst to /hda1 & uninstall Vmware Tools, I would need to get network connectivity, so logical step would be to use Intergration Services 2.1 (one that supports SLES 10 SP3)
    But it is a no go. On make install during load of vmbus the whole VM just hangs & dies
    http://imageshack.com/a/img545/7339/16u1.jpg
    The initrd never even gets created as it dies & reset is the only option
    If I rem-out vmbus start in Makefile then I can get new kernel installed, but restulting kernel will panic on VM boot
    Anybody has any clever idea how to get it working (if at all possible)
    Seb

    Getting this to work is going to be difficult.  The older LIS 2.1 does not work with Hyper-V 2012 and 2012 R2 due to changes in Hyper-V itself.  But you could probably get SLES 10 SP3 with LIS 2.1 working if you went back to the older Hyper-V
    2008 R2.
    You are correct that the LIS 3.4 package is created only for the Red Hat (and CentOS) distros.  It will not work with SLES releases.
    We've gotten occasional requests to get SLES 10 working on Hyper-V 2012 and 2012 R2, and we're in conversations with SUSE about creating a combination that works.  But we don't have anything to announce about a timeline.  When/if we get something
    working, it will most likely be SLES 10 SP4, since that's the most up-to-date version from the SLES 10 series.
    Michael Kelley, Lead Program Manager, Open Source Technology Center

  • Delegate permission on Hyper-V 2012 R2

    Hi
    I'm having problem to delegate permission on Hyper-V 2012R2,
    Error - " you do not have the required permission to complete this task contact the administrator of the authorization policy for the computer 'localhost' "
    Everything is working great on Hyper-V 2012 (NOT R2).
    The steps that i'm doing are:
    1)Using the AzMan.msc i'm opening the 'InitialStore.xml'.
    2)in the Role Definition i'm creating new Role Definition.
    3)After creating the Role Definition i'm adding the following tasks :
     a. Allow Input to Virtual Machine.
     b.Allow Output from virtual Machine.
     c.Pause and Restart VM
     d.Read Service Configuration
     e.Start VM
     f.Stop VM
     g.View VM Configuration
    4)In the Role Assignments I'm creating new group.
    5)Adding the user from the AD.
    6)Adding the user to Remote Desktop Users in the server management.
    As i mentioned in server 2012 (NOT R2) it working great, since i started to install 2012R2 it's stopped working.
    Any idea?

    When searching this forum, you will find that issues with AzMan have been previously reported.  The reason is that AzMan for Hyper-V has been deprecated and no longer supports what you are attempting to accomplish.  This is now handled via
    System Center Virtual Machine Manager.
    .:|:.:|:. tim

  • VMs on Hyper-V 2012 R2 are shutting down automatically

    Hello Guys! 
    I'm having a huge problem in my Hyper-V 2012 R2 environment. Yesterday, 9 of 40 VMs were shutdown automatically, and so, caused a downtime problem to my customers in the business hours.
    I checked in the Event Viewer (Application / System /  Microsoft - Windows - Hyper) of the Host and VM but I couldn't locate any log related to this unexpected shutdown. 
    It occurred twice yesterday, the first in the morning and the second in the afternoon. I'm afraid that this issue can happen again. I've tried to locate some logs to identify this problem, but no luck here. 
    My question: Is there any other place where it can help me in this troubleshooting to find the root cause?
    Obs: All the VMs are licensed / activated. 
    Obs2: The VMs are Win 2008 R2 Std
    Leandro Soares - MCP/MCSA/MCTS

    Hello Brian!
    The customers doesn't have access using the RDP / ICA. The role machines is web servers.
    In the VMs I can find only the following log:
    Log Name:      System
    Source:        Microsoft-Windows-Kernel-Power
    Date:          24/06/2014 11:09:04
    Event ID:      41
    Task Category: (63)
    Level:         Critical
    Keywords:      (2)
    User:          SYSTEM
    Computer:      xxx
    Description:
    The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.
    But on the Host Hyper-V I cannot find any error related to this failure as I described in this thread.
    Leandro Soares - MCP/MCSA/MCTS

  • Virtual Machine Manager to manage Hyper-V 2012 R2 Servers

    Hi,
    I am trying to create an environment wherein I have few Hyper-V 2012 R2 hosts, Windows Server 2012 hosts, and Windows Server 2008 hosts. All are registered to a AD server.
    On Windows Server 2012 host, I have created a virtual machine on which System Center Virtual Machine Manager 2012 SP1 is running. This Virtual Machine Manager is perfectly able to manage Windows Server 2008 hosts.
    However when tried to add Windows Server 2012 hosts and Hyper-V 2012 R2 hosts, it gives the following error:
    Error (2916)
    VMM is unable to complete the request. The connection to the agent windows2012.test.com was lost.
    WinRM: URL: [http://windows2012.test.com:5985], Verb: [INVOKE], Method: [Associate], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/scvmm/AgentManagement]
    Unknown error (0x80338012)
    Recommended Action
    Ensure that the WS-Management service and the agent are installed and running and that a firewall is not blocking HTTPS traffic.
    This problem can also be caused by WMI service crash. Ensure that KB 982293 (http://support.microsoft.com/kb/982293) is installed on the machine if it is running Windows Server 2008 R2.
    If the error persists, reboot windows2012.test.com and then try the operation again.
    Checked:
    > WS-Management service is running
    > VMM agent got installed
    Questions:
    1. Whether System Center 2012 SP1 - Virtual Machine Manager is compatible to manage Hyper-V Sever 2012 and Windows 2012 R2 Server.
    2. What is the latest version of VMM to manage Hyper-V Sever 2012 and Windows 2012 R2 Server.

    Hello,
    I have installed VMM 2012 R2, this is also not allowing me to add and manage Server 2012 R2 hosts. However it is perfectly able to manage Server 2008 host.
    It gives following error when tried to add Server 2012 R2 hosts:
    Error (2916)
    VMM is unable to complete the request. The connection to the agent windows2012.test.com was lost.
    WinRM: URL: [http://windows2012.test.com:5985], Verb: [INVOKE], Method: [Associate], Resource: [http://schemas.microsoft.com/wbem/wsman/1/wmi/root/scvmm/AgentManagement]
    Unknown error (0x80338012)
    Recommended Action
    Ensure that the WS-Management service and the agent are installed and running and that a firewall is not blocking HTTPS traffic.
    This problem can also be caused by WMI service crash. Ensure that KB 982293 (http://support.microsoft.com/kb/982293) is installed on the machine if it is running Windows Server 2008 R2.
    If the error persists, reboot windows2012.test.com and then try the operation again.
    Any suggestions please?

Maybe you are looking for