Problem with RDP service on Windows Server 2022

BD-6573 30 Reputation points
2023-10-17T08:09:10.2066667+00:00

Hello

We have a problem with RDP service on Windows VMs running on our VxRail cluster.

For some reason, RDP stops working properly and when you try to connect to the VM via RDP, you receive the following error message:

=================================

Remote Desktop Connection

Remote Desktop can't connect to the remote computer for one of these reasons:

  1. Remote access to the server is not enabled
  2. The remote computer is turned off
  3. The remote computer is not available on the network Make sure the remote computer is turned on and connected to the network, and that remote access is enabled.

=================================

When problem is present, the service is running in OS, but when using the "netstat" command, it shows that the server is not listening on port 3389.

To recover, we have two options:

  1. Reboot affected VM
  2. Log in to the VM via vCenter Server console, and restart RDP service.

This is taking approx. 20 minutes to complete and we get a following error when service is stopping (screenshot attached) User's image

This problems happens a few times per week for each VM, so it means we get several warnings per day.

We can't afford to restart production servers so often, and manually restarting RDP takes time...

VxRail Version: 7.0.452-28152920 (ESXi version: 7.0.3, 21930508)

VMware Tools version 12.3.0.22234872 (but this problem was also observed when running on older versions)

Affected OS version: Windows Server 2022 (We have a few Win 2019 machines and they don't seem to have this problem. We have also several Win 10 VDIs and they don't have this problem either).

Affected VMs: All VMs with Win 2022 seems to be affected.

VMware support checked this issue and asked to engage Microsoft as they do not see any problems with VMware infrastructure.

Any suggestions would be greatly appreciated.

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,818 questions
0 comments No comments
{count} vote

7 answers

Sort by: Most helpful
  1. Daniel 0 Reputation points
    2024-11-21T14:18:09.74+00:00

    We have exactly the same problem on different Windows Server 2022 VM (VMware). I will open a Microsoft case about this issue. I haven't found any workaround or the root cause.


  2. Leinss, Adam 0 Reputation points
    2025-03-12T23:11:33.0033333+00:00

    Very interesting thread. We also had issues with several Win2022 servers with RDP on VXRail. We were able to fix it by updating VMtools to the latest version. Then we shutdown the VM, upgraded the VM hardware compatability to 7.0U2 (was ESXi 6.7). Then set the OS type from 2016 to 2022. After all 3 things were done, RDP has been rock solid.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.