Using Windows 10 Hyper-V Manager to Manage Server 2012R2 Hosts

from:https://social.technet.microsoft.com/Forums/en-US/f7b4d00c-7808-4666-bd81-32e78fdb4087/using-windows-10-hyperv-manager-to-manage-hyperv-server-2012r2-hosts?forum=winserverhyperv

Hello, I just upgraded my machine to Windows 10 and now my Hyper-V Manager cannot connect to and manage our Server 2012R2 Hyper-V Hosts. I get the following error.


"An error occurred while attempting to connect to server xxxxx. Check that the Virtual Machine Management service is running and that you are authorized to connect to the server."


I've read in multiple places that Hyper-V Manager in Windows 10 and Server 10 will support managing Server 2012 and 2012R2 hosts. I'm not sure why it's not working though.


Any help would be appreciated


======================================

After further testing, I noticed that WinRM service isn't even needed for the connection to work. It is needed only to add the trusted host (the second command in my previous reply).

So the sequence would be (in elevated powershell):

Start-Service WinRM

winrm set winrm/config/client '@{TrustedHosts="THE_NAME_OF_THE_SERVER"}'

Stop-Service WinRM



你可能感兴趣的:(Hyper-v)