Sometime the VM is very slow. I only open a Chrome/other web browser.

McP 0 Reputation points
2024-02-27T08:25:05.2733333+00:00

When I remote desktop VM, sometimes it shows very slow I've checked with Disk IO, RAM and CPU usage but none of them are crossing threshold. I've tried with restarting VM but not working. Could you please help me on this issue?

Server Details:

  • Server: Windows Server 2022 (datacenter-azure-edition)
  • Location: East US (Zone 1)
  • Size: Standard F4s v2 (4 vcpus, 8 GiB memory)
  • Accelerated networking: Enabled
  • Accessing via public IP RDP
  • Single RDP user access at a time.
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,794 questions
{count} votes

1 answer

Sort by: Most helpful
  1. innovation gadget 155 Reputation points
    2024-02-27T08:37:14.2566667+00:00

    Hello McP

    While the information provided suggests the issue isn't likely due to resource constraints, here are some troubleshooting steps to diagnose and potentially resolve the slow RDP performance in your Windows Server 2022 VM on Azure:

    1. Network Connectivity:

    • Check Internet Connectivity: Verify consistent and stable internet connectivity between your local machine and the Azure region (East US) using tools like https://www.speedtest.net/ or the Azure portal's network monitoring features.
    • Test with Private Endpoint (Optional): If feasible, consider creating a private endpoint for your VM within a virtual network. This can restrict traffic flow through the public internet, potentially improving performance and security.

    2. RDP Client and Settings:

    • Update RDP Client: Ensure you're using the latest version of the Remote Desktop Connection client on your local machine. Outdated versions might have compatibility or performance issues.
    • Adjust RDP Settings: Within the RDP client settings, experiment with different connection speeds (e.g., "Broadband") and display settings (e.g., "Optimize for speed") to see if they improve performance.
    • Disable Adaptive Graphics (Optional): In some cases, disabling "Adaptive graphics" within the RDP client settings can improve performance on certain setups.

    3. VM Configuration and Optimization:

    • Enable RDP Compression: On the VM itself, ensure RDP compression is enabled under "Remote Desktop Settings" in the System Properties. This can help reduce data transfer volume and improve performance over slower connections.
    • Check VM Diagnostics: Utilize Azure Diagnostics and VM extensions to collect and analyze performance data related to the VM, which might reveal underlying issues not reflected in resource usage metrics.
    • Review Azure Service Health: Monitor the Azure Service Health dashboard (https://azure.microsoft.com/en-us/get-started/azure-portal/service-health) for any reported issues or incidents affecting the East US region that might be impacting RDP performance.
    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.