RECOMMENDED: Click here to fix Windows errors and optimize system performance
Users who have Hyper-V Server 2019 installed will encounter all kinds of problems.
When they attempt to add the Hyper-V server to the Hyper-V manager (either by specifying the host name, FQDN or IP address of the Hyper-V server) and provide the identification information for the domain administrator, they receive a message saying “An error occurred when trying to connect to the HYPERVSERVER server. Verify that the Virtual Machine Management service is working and that you are authorized to connect to the server. The text in the dialog box is displayed in this image (much too long to enter here!).
There are a number of things to check:
On the Hyper-V server, use sconfig to check if Remote Desktop is enabled.
From the computer you are trying to install on the remote desktop to check if there is a network connection between the computer and the server.
The easiest way to check this is probably to open a command prompt window and ping the server:
C:\> ping hserver
If you have not already done so, you must enable pings on the Hyper-V server, because the default setting is that it does not react to pings.
On the Hyper-V 2012 R2 server the firewall can block the RDC (I think this is a problem introduced with R2). To allow the remote office to connect via the firewall, connect to the Hyper-V server and enter the following at the command prompt:
netsh advfirewall firewall set rule group=”remote desktop” new enable=Yes
Run Windows Update
This is very important, and depending on the patch level of your Windows 10 PC and Hyper-V Server 2016 host, you will receive errors and will not be able to manage your Hyper-V host remotely.
Enabling remote consoles on desktop operating systems
There are several ways to access the location required to activate the consoles. The fastest way is to access the Start menu and type “Enable or disable Windows functions”. As you type, Windows should look for suggestions and will probably provide you with the shortcut before you type the entire sentence. You can also find this link when you access the Programs and Features node of the Control Panel.
When you are on the screen, expand the Hyper-V node and select the Hyper-V Management Tools check box. If you have downloaded RSAT, there is a tree node for the remote server administration tools. Expand this and activate all the consoles you need. The following screenshot was taken by Windows 8.1; Windows 10 looks very similar.
Allow the delegation of new credentials with NTLM server authentication only.
Trust activation on a Windows client computer can be done via the graphical interface or a Powershell. In this article, we will do this using the Local Group Policy Editor (GUI). The strategy is called Allow Allow delegating fresh credentials with NTLM-only server authentication. This policy setting applies to applications that use the Cred SSP component (for example, Remote Desktop Connection). The Credential Security Support Provider (CredSSP) protocol is an authentication provider that processes authentication requests for other applications. If you enable this policy setting, you can specify the servers to which new user credentials can be delegated (new credentials are those that are requested when you run the application). If you do not configure this policy setting (by default) and authenticate each other correctly, you can delegate new credentials to the remote desktop session host on any computer (TERMSRV/*). If you disable this policy setting, delegating new credentials to a computer is not allowed.
If you are not using Hyper-V Server in a domain where you have group policies that automatically configure systems for transparent remote management, you must perform certain steps on both the Hyper-V Server host and the Windows 10 PC from which you are trying to manage that host.
Most of the information available on remote management of Hyper-V in a workgroup or out-of-domain environment leads to one of these two results: insufficient information so that you still cannot connect properly to your Hyper-V host, or too much information so that your systems are vulnerable and insecure and cannot yet be connected to the Hyper-V host.
RECOMMENDED: Click here to troubleshoot Windows errors and optimize system performance
CCNA, Web Developer, PC Troubleshooter
I am a computer enthusiast and a practicing IT Professional. I have years of experience behind me in computer programming, hardware troubleshooting and repair. I specialise in Web Development and Database Design. I also have a CCNA certification for Network Design and Troubleshooting.