Skip to content

Commit 53dc9f7

Browse files
committed
Update content
1 parent aa171de commit 53dc9f7

2 files changed

Lines changed: 31 additions & 45 deletions

File tree

support/windows-server/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2728,6 +2728,8 @@ items:
27282728
href: ./virtualization/back-up-hyper-v-vm-from-parent-partition.md
27292729
- name: Configuration of virtual machine settings
27302730
items:
2731+
- name: Can't access Hyper-V virtual machines via VMConnect
2732+
href: ./virtualization/cannot-access-hyper-v-virtual-machine-connect.md
27312733
- name: Copy and paste don't work when you connect to Hyper-V virtual machine
27322734
href: ./virtualization/copy-paste-not-work-hyper-v-vm-vmconnect-enhanced-session-mode.md
27332735
- name: Hyper-V limits the maximum number of processors
Lines changed: 29 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Can't Access Hyper-V Virtual Machines Via VM Connect
3-
description: Describes a
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 Virtual Machine Connection (VMConnect) after you repeatedly receive an authentication error.
44
ms.date: 08/13/2025
55
manager: dcscontentpm
66
audience: itpro
@@ -10,72 +10,56 @@ ms.custom:
1010
- sap:virtualization and hyper-v\configuration of virtual machine settings
1111
- pcy:WinComm Storage High Avail
1212
---
13-
# Unable to access Hyper-V virtual machines via VM Connect: "Local security authority cannot be contacted"
13+
# Can't access Hyper-V virtual machines via VMConnect
1414

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.
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.
1616

17-
## Prerequisites
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.
1819
19-
Before proceeding, ensure the following:
20+
You repeatedly receive an authentication error message:
2021

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.
22+
> Local security authority cannot be contacted.
2423
25-
## Symptoms
24+
After about 20 days, you can't connect to any virtual machines, regardless of the operating system (Windows or Linux), via VMConnect.
2625

27-
Users encountering this issue may experience the following:
26+
## Missing TLS cryptography registry keys
2827

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.
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.
3229

33-
## Cause
30+
## Restore missing TLS cryptography registry keys
3431

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
32+
[!INCLUDE [Registry alert](../../includes/registry-important-alert.md)]
3833

3934
To resolve the issue, follow these steps:
4035

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.
36+
1. Export TLS cryptography registry keys from a working server:
5637

57-
3. **Reboot the server:**
38+
1. Open Windows Registry Editor (**regedit.exe**) on a working server, and go to the following registry path:
5839

59-
* Restart the affected server to apply the changes.
40+
`HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SecurityProviders\SCHANNEL\Protocols`
6041

61-
4. **Test the connection:**
42+
2. Right-click the `Protocols` key and select **Export**.
43+
3. Save the exported `.reg` file to a secure location.
6244

63-
* Attempt to connect to the Hyper-V virtual machines using VM Connect to ensure the issue is resolved.
45+
2. Import the registry keys to the affected server:
6446

65-
By completing these steps, the missing TLS cryptography registry keys are restored, enabling the necessary SSL/TLS handshake and resolving the authentication error.
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.
6649

67-
## Determine the cause of the problem
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.
6852

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.
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.
7054

71-
## Cause 2: Other potential issues
55+
## Other potential causes
7256

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.
57+
If the issue persists, further investigation might be required to confirm whether additional configuration settings or system updates are impacting the VM connection process. For example, network configuration issues or outdated system components should be examined.
7458

75-
### Solution 2: Verify network and system configurations
59+
You can verify the network and system configurations by using the following steps:
7660

7761
1. Check the server's network connectivity to ensure there are no interruptions.
7862
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.
63+
3. Review event logs for additional error messages that might provide insights into the issue.
8064

81-
If further assistance is required, consider contacting Microsoft Support for advanced troubleshooting.
65+
If further assistance is required, consider contacting Microsoft Support for advanced troubleshooting.

0 commit comments

Comments
 (0)