Fixing Issues with Connecting to remote Hyper-V Server 2019



Updated April 2024: Stop getting error messages and slow down your system with our optimization tool. Get it now at this link
  1. Download and install the repair tool here.
  2. Let it scan your computer.
  3. The tool will then repair your computer.

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:



April 2024 Update:

You can now prevent PC problems by using this tool, such as protecting you against file loss and malware. Additionally it is a great way to optimize your computer for maximum performance. The program fixes common errors that might occur on Windows systems with ease - no need for hours of troubleshooting when you have the perfect solution at your fingertips:

  • Step 1 : Download PC Repair & Optimizer Tool (Windows 10, 8, 7, XP, Vista – Microsoft Gold Certified).
  • Step 2 : Click “Start Scan” to find Windows registry issues that could be causing PC problems.
  • Step 3 : Click “Repair All” to fix all issues.

download



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.

windows-10-updater

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.

CONCLUSION

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.

https://www.reddit.com/r/HyperV/comments/a1hqly/cant_connect_to_hyperv_server_2019/



Expert Tip: This repair tool scans the repositories and replaces corrupt or missing files if none of these methods have worked. It works well in most cases where the problem is due to system corruption. This tool will also optimize your system to maximize performance. It can be downloaded by Clicking Here