Skip to content

Commit 3e57a4f

Browse files
author
Simonx Xu
authored
Merge pull request #9517 from v-lianna/CI_6965
AB#6965 Create cannot-access-hyper-v-virtual-machine-connect.md
2 parents 0261e5e + e59cb18 commit 3e57a4f

2 files changed

Lines changed: 67 additions & 0 deletions

File tree

support/windows-server/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2730,6 +2730,8 @@ items:
27302730
href: ./virtualization/hyper-v-virtual-machine-backup-checkpoint-storage.md
27312731
- name: Configuration of virtual machine settings
27322732
items:
2733+
- name: Can't access Hyper-V virtual machines via VMConnect
2734+
href: ./virtualization/cannot-access-hyper-v-virtual-machine-connect.md
27332735
- name: Copy and paste don't work when you connect to Hyper-V virtual machine
27342736
href: ./virtualization/copy-paste-not-work-hyper-v-vm-vmconnect-enhanced-session-mode.md
27352737
- name: Hyper-V limits the maximum number of processors
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
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

Comments
 (0)