Error 2927 when you add a Hyper-V server or a Hyper-V cluster node in VMM
This article helps you fix an issue in which you receive error 2927 when you add a Hyper-V server or a Hyper-V cluster node on a Virtual Machine Manager (VMM) server.
Original product version: System Center 2012 Virtual Machine Manager, System Center 2012 R2 Virtual Machine Manager
Original KB number: 2875120
Symptoms
Consider the following scenario. You add a Hyper-V server or a Hyper-V cluster node on a server that's running one of the following versions of Microsoft System Center Virtual Machine Manager:
- System Center 2012 R2 Virtual Machine Manager
- System Center 2012 Virtual Machine Manager
In this scenario, you receive the following error message:
Error (2927)
A Hardware Management error has occurred trying to contact server <servername>.
(Unknown error (0x80338029))Recommended Action
Check that WinRM is installed and running on server <servername>. For more information use the command "winrm helpmsg hresult".
Cause
This issue may occur in one of the following situations:
- Antivirus software is installed but configured incorrectly on the VMM server.
- The Hyper-V host is a node of a high availability (HA) cluster, and the cluster has issues.
- Windows Remote Management (WinRM) is configured incorrectly.
Resolution
Step 1: Run a cluster validation report if the Hyper-V host is a node of an HA cluster
If the Hyper-V host is a node of an HA cluster, run a cluster validation report, and fix errors if there are errors in the report.
Step 2: Configure exclusions of the antivirus software
To configure exclusions of the antivirus software, follow these steps:
Test whether the Hyper-V host can be added after you disable the antivirus software on the VMM server.
If the test succeeds, make sure that the following directories and files are added to the exclusion list of the antivirus software:
%systemroot%\cluster\clussvc.exe
%systemroot%\system32\vds.exe
- Directories and files that are listed in Hyper-V: Anti-Virus Exclusions for Hyper-V Hosts
- Directories and files that are listed in Virtual machines are missing, or error 0x800704C8, 0x80070037, or 0x800703E3 occurs when you try to start or create a virtual machine
- Directories and files that are listed in Virus scanning recommendations for Enterprise computers that are running currently supported versions of Windows
- Directories and files that are listed in Microsoft Anti-Virus Exclusion List
Step 3: Check whether WinRM is configured correctly
To check whether WinRM is configured correctly, follow these steps:
Open an elevated command prompt on the Hyper-V host, run
winrm qc
, and then restart the host. For more information, see WinRM (Windows Remote Management) Troubleshooting.Increase the default value for the WinRM time-out. To do this, open an elevated command prompt on the Hyper-V host, and then execute the following commands:
-
winrm set winrm/config @{MaxTimeoutms = "1800000"}
In WinRM 1.1 and earlier versions:
winrm set winrm/config/Service @{MaxConcurrentOperations="200"}
Or, in WinRM 2.0 and later versions:
winrm set winrm/config/Service @{MaxConcurrentOperationsPerUser="400"}
-
net stop winrm
-
net start winrm
-
net start vmmagent
-
Check the Svchost.exe process of the WinRM service. If the shared Svchost.exe process that hosts the WinRM service is experiencing issues, run the following command to configure the WinRM service to run in a separate Svchost.exe process:
sc config winrm type= own
For more information, see Step 5: Increase the default values for WinRM.
If you experience the issue that's described in WinRM operations to Hyper-V fail on a Windows 7 SP1-based or Windows Server 2008 R2 SP1-based computer that has Windows Management Framework 3.0 installed, install the hotfix on the Hyper-V host.
References
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for