Here’s a new Knowledge Base article we published today that applies to both VMM 2008 and VMM 2012. This one talks about an error you can get when trying to add a Host or Cluster to System Center Virtual Machine Manager:
Adding a Hyper-V Host or Cluster to a System Center Virtual Machine Manager (SCVMM) server generates the following error message:
A Hardware Management error has occurred trying to contact server <FQDN_Name>.
(Unknown error (
Check that WinRM is installed and running on server
. For more information use the command "winrm helpmsg hresult".
This can occur when the WinRM Trusthost policy of the SCVMM server is set to blank. The default is
TrustedHosts = *
. To determine the WinRm Trusthost setting, run the following command on the SCVMM server from an elevated command prompt:
winrm g winrm/config
Here is a snippet from a Host where the WinRM Trusthost policy is set to blank:
HTTP = 5985
HTTPS = 5986
RootSDDL = O:NSG:BAD:P(A;;GA;;;BA)S:P(AU;FA;GA;;;WD)(AU;SA;GWGX;;;WD)
Here is a snippet from a Host where the WinRM Trusthost policy is set to the default setting: