Azure VM RDP failed while the VM status is running

Monica Lu 21 Reputation points
2024-03-05T10:28:45.7233333+00:00

Hi, support!

Recently, we encountered the Azure VM failed to remote desktop anymore. We tried to restart several times but did not work.

We noticed the VM status is running, but the agent is 'Not Ready'. Not sure if the RDP issue related to the agent. We have no idea to get the agent ready.

P.S, we got some important data in this VM and it caused daily work blocking.

Looking forward to your response ASAP!

User's imageUser's image

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,018 questions
Windows for business | Windows Client for IT Pros | User experience | Remote desktop services and terminal services
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Prrudram-MSFT 28,201 Reputation points Moderator
    2024-03-05T12:12:09.82+00:00

    Hi @Monica Lu

    Thank you for reaching out to the Microsoft Q&A platform.

    The VM agent is responsible for managing communication between the VM and the Azure platform. If the agent is not in a "Ready" state, it can cause issues with the VM, including RDP connectivity issues.

    I see you mentioned, you have tried restarting the VM a few times, did you try the redeploy+reapply as suggested in the below SO question?

    https://stackoverflow.com/questions/73165897/virtual-machine-agent-status-is-not-ready-not-able-to-take-rdp-in-azure/73166626#73166626

    Please note it will stop-start the device, and also helps the VM get back to a valid/healthy state. This is NOT deploying a new blank VM, but rather fixing the existing VM (just to reassure those who find the term redeploy a bit scary)

    https://stackoverflow.com/questions/73165897/virtual-machine-agent-status-is-not-ready-not-able-to-take-rdp-in-azure

    Similar thread: https://learn.microsoft.com/en-us/answers/questions/947624/virtual-machine-agent-status-is-not-ready-not-able

    Azure VM RDP issue troubleshooting guide:

    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/detailed-troubleshoot-rdp

    --please don't forget to "[Accept the answer]" if the reply is helpful--


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.