|
| 1 | +--- |
| 2 | +title: Can't Access Hyper-V Virtual Machines Via VM Connect |
| 3 | +description: Describes a |
| 4 | +ms.date: 08/13/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 | +# Unable to access Hyper-V virtual machines via VM Connect: "Local security authority cannot be contacted" |
| 14 | + |
| 15 | +This article addresses an issue where users are unable to connect to Hyper-V virtual machines (VMs) through VM Connect due to a persistent authentication error. The root cause and resolution steps are provided to help restore functionality. |
| 16 | + |
| 17 | +## Prerequisites |
| 18 | + |
| 19 | +Before proceeding, ensure the following: |
| 20 | + |
| 21 | +* Administrative access to the affected server. |
| 22 | +* A working server with the correct TLS cryptography registry keys to export. |
| 23 | +* Knowledge of registry editing and system reboot procedures. |
| 24 | + |
| 25 | +## Symptoms |
| 26 | + |
| 27 | +Users encountering this issue may experience the following: |
| 28 | + |
| 29 | +* Persistent authentication error message: "Local security authority cannot be contacted." |
| 30 | +* Inability to connect to any virtual machines, regardless of the operating system (Windows or Linux), via VM Connect. |
| 31 | +* The issue began approximately 20 days before the case was logged. |
| 32 | + |
| 33 | +## Cause |
| 34 | + |
| 35 | +The problem is caused by missing TLS cryptography registry keys required for the SSL/TLS handshake. These keys are crucial for secure communication during the authentication process. Their absence leads to a failure in the SchannelInit process, which prevents authentication attempts from succeeding. |
| 36 | + |
| 37 | +## Solution: Restore missing TLS cryptography registry keys |
| 38 | + |
| 39 | +To resolve the issue, follow these steps: |
| 40 | + |
| 41 | +1. **Export TLS cryptography registry keys from a working server:** |
| 42 | + |
| 43 | + * On a functioning server, open the Windows Registry Editor (regedit). |
| 44 | + * Navigate to the following registry path: |
| 45 | + |
| 46 | + HKEY\_LOCAL\_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\SecurityProviders\\SCHANNEL\\Protocols |
| 47 | + |
| 48 | + * Right-click the Protocols key and select **Export**. |
| 49 | + * Save the exported .reg file to a secure location. |
| 50 | + |
| 51 | +2. **Import the registry keys to the affected server:** |
| 52 | + |
| 53 | + * Transfer the exported .reg file to the affected server. |
| 54 | + * Open the Windows Registry Editor on the affected server. |
| 55 | + * Double-click the .reg file to import the keys. Follow the prompts to confirm the import. |
| 56 | + |
| 57 | +3. **Reboot the server:** |
| 58 | + |
| 59 | + * Restart the affected server to apply the changes. |
| 60 | + |
| 61 | +4. **Test the connection:** |
| 62 | + |
| 63 | + * Attempt to connect to the Hyper-V virtual machines using VM Connect to ensure the issue is resolved. |
| 64 | + |
| 65 | + By completing these steps, the missing TLS cryptography registry keys are restored, enabling the necessary SSL/TLS handshake and resolving the authentication error. |
| 66 | + |
| 67 | + ## Determine the cause of the problem |
| 68 | + |
| 69 | + If the issue persists after performing the solution steps, further investigation may be required to confirm if additional configuration settings or system updates are impacting the VM connection process. |
| 70 | + |
| 71 | + ## Cause 2: Other potential issues |
| 72 | + |
| 73 | + If the TLS cryptography keys are present and correctly configured, other potential causes, such as network configuration issues or outdated system components, should be examined. |
| 74 | + |
| 75 | +### Solution 2: Verify network and system configurations |
| 76 | + |
| 77 | +1. Check the server's network connectivity to ensure there are no interruptions. |
| 78 | +2. Ensure all system updates and patches are applied to both the host and guest operating systems. |
| 79 | +3. Review event logs for additional error messages that may provide insights into the issue. |
| 80 | + |
| 81 | + If further assistance is required, consider contacting Microsoft Support for advanced troubleshooting. |
0 commit comments