|
| 1 | +--- |
| 2 | +title: Can't Access Hyper-V Virtual Machines Via VMConnect |
| 3 | +description: Addresses an issue where you can't connect to Hyper-V virtual machines (VMs) through VMConnect after you repeatedly receive an authentication error. |
| 4 | +ms.date: 09/09/2025 |
| 5 | +manager: dcscontentpm |
| 6 | +audience: itpro |
| 7 | +ms.topic: troubleshooting |
| 8 | +ms.reviewer: kaushika, simonw, v-lianna |
| 9 | +ms.custom: |
| 10 | +- sap:virtualization and hyper-v\configuration of virtual machine settings |
| 11 | +- pcy:WinComm Storage High Avail |
| 12 | +--- |
| 13 | +# Can't access Hyper-V virtual machines via VMConnect |
| 14 | + |
| 15 | +This article addresses an issue where you can't connect to Hyper-V virtual machines (VMs) through Virtual Machine Connection (VMConnect) after you repeatedly receive an authentication error. |
| 16 | + |
| 17 | +> [!NOTE] |
| 18 | +> Before proceeding with the following procedures in this article, ensure you have administrative access to the affected server. In addition, you have a working server with the correct Transport Layer Security (TLS) cryptography registry keys to export. |
| 19 | +
|
| 20 | +You repeatedly receive an authentication error message: |
| 21 | + |
| 22 | +> Local security authority cannot be contacted. |
| 23 | +
|
| 24 | +You can't connect to any virtual machines, regardless of the operating system (Windows or Linux), via VMConnect. |
| 25 | + |
| 26 | +## Missing TLS cryptography registry keys |
| 27 | + |
| 28 | +The issue is caused by missing TLS cryptography registry keys required for the TLS/Secure Sockets Layer (SSL) handshake. These keys are crucial for secure communication during the authentication process. Their absence leads to a failure in the secure channel initialization process, which prevents authentication attempts from succeeding. |
| 29 | + |
| 30 | +## Restore missing TLS cryptography registry keys |
| 31 | + |
| 32 | +[!INCLUDE [Registry alert](../../includes/registry-important-alert.md)] |
| 33 | + |
| 34 | +To resolve the issue, follow these steps: |
| 35 | + |
| 36 | +1. Export TLS cryptography registry keys from a working server: |
| 37 | + |
| 38 | + 1. Open Windows Registry Editor (**regedit.exe**) on a working server, and go to the following registry path: |
| 39 | + |
| 40 | + `HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols` |
| 41 | + |
| 42 | + 2. Right-click the `Protocols` key and select **Export**. |
| 43 | + 3. Save the exported `.reg` file to a secure location. |
| 44 | + |
| 45 | +2. Import the registry keys to the affected server: |
| 46 | + |
| 47 | + 1. Transfer the exported `.reg` file to the affected server. |
| 48 | + 2. Open the Registry Editor on the affected server, and double-click the `.reg` file to import the keys. Follow the prompts to confirm the import. |
| 49 | + |
| 50 | +3. Restart the affected server to apply the changes. |
| 51 | +4. Connect to the Hyper-V virtual machines using VMConnect to ensure the issue is resolved. |
| 52 | + |
| 53 | +After you complete these steps, the missing TLS cryptography registry keys are restored, enabling the necessary TLS/SSL handshake and resolving the authentication error. |
| 54 | + |
| 55 | +## Other potential causes |
| 56 | + |
| 57 | +If the issue persists, further investigation might be required to confirm whether other configuration settings or system updates are impacting the VM connection process. For example, network configuration issues or outdated system components should be examined. |
| 58 | + |
| 59 | +You can verify the network and system configurations by using the following steps: |
| 60 | + |
| 61 | +1. Check the server's network connectivity to ensure there are no interruptions. |
| 62 | +2. Ensure all system updates and patches are applied to both the host and guest operating systems. |
| 63 | +3. Review event logs for other error messages that might provide insights into the issue. |
| 64 | + |
| 65 | +If further assistance is required, consider contacting Microsoft Support for advanced troubleshooting. |
0 commit comments