Share via

VM is not connecting through rdp

Aritra Basu 15 Reputation points
2026-02-18T03:01:09.8266667+00:00

my vm is not connecting, always failing and diagnostic reports says all are good and healthy, I need a support executive to assist on call.

Azure Virtual Machines
Azure Virtual Machines

An Azure service that is used to provision Windows and Linux virtual machines.

{count} votes

2 answers

Sort by: Most helpful
  1. Manish Deshpande 4,450 Reputation points Microsoft External Staff Moderator
    2026-02-22T16:07:26.9033333+00:00

    Hi Aritra,

    Thank you for reaching out to Microsoft Q&A.

    Just wanted to add few lines to Siddesh Response.

    If your Azure Virtual Machine shows up as Healthy and all diagnostics are green, but you still can't connect via RDP, it usually means the problem isn't with the Azure compute host. The health checks just confirm that the platform is running (like power, host status, and basic fabric stuff), but they don’t check the network path or guest OS access. So, even if your VM looks healthy in the portal, you can still run into connectivity issues.

    Actions to perform:

    1. Verify Network Security Group (NSG) rules
    Ensure that the NSG associated with the VM’s NIC or subnet allows inbound traffic on:

    • TCP 3389 for Windows (RDP)

    Confirm that:

    • The Allow rule has a higher priority than any Deny rule
    • The source IP range includes your client’s public IP or trusted CIDR

    2. Take a look at User‑Defined Routes (UDR) and Effective Routes
    If you’ve got a custom route table linked, your traffic might be getting sent to a firewall, NVA, or gateway that can’t handle RDP traffic.

    • Hop into Network Watcher → Effective routes on the VM NIC
    • Double-check that the next hop for 0.0.0.0/0 or client traffic is set up right

    3.Resetting RDP settings from the Azure portal No worries
    This method is totally safe, supported by Microsoft, and won’t mess with your credentials.

    • Head over to VM → Help → Reset password
    • Pick Reset configuration only

    Doing this will bring back:

    • Your RDP service settings
    • Any Windows Firewall rules tied to RDP.

    4.Leverage Azure Network Watcher – IP Flow / Connectivity Check for precise diagnostics

    Hey, let's run a quick connectivity check to confirm the following:

    • NSG rules are functioning as expected
    • The route table is configured correctly
    • The next-hop is reachable

    This approach will allow you to quickly identify exactly where the traffic is being blocked.

    5.Use Azure Serial Console to access the VM
    If you can’t use RDP at all, the Serial Console is a handy workaround since it skips networking and gives you direct access to the OS. With Serial Console, you can check Windows Firewall rules, restart the RDP service, or fix network and policy settings right at the OS level.

    6.Redeploy the VM (Mostly this step fixes the issue)
    When you redeploy, your VM gets moved to a different Azure host, but don't worry it keeps the same OS disk, data, IP, and setup.

    It's best to try this only after you've checked for any network or OS issues first.
    Conclusion:

    A healthy VM status confirms that Azure infrastructure is functioning correctly. RDP connectivity issues are most often caused by NSG rules, routing configuration, or OS‑level settings, not the Azure compute layer itself. Following the steps above will help isolate and resolve the issue in a supported manner.

    I have requested few details to connect with you over a team call pls share the details at the earliest.

    • Have you noticed if the crashes happen with certain apps or is it just random across different ones?
    • Are there any error messages popping up when things crash?

    Thanks,
    Manish.

    0 comments No comments

  2. Marcin Policht 82,360 Reputation points MVP Volunteer Moderator
    2026-02-18T03:28:44.5166667+00:00

    Make sure to follow https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/troubleshoot-rdp-connection


    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    hth

    Marcin

    0 comments No comments

Your answer

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