Share via

VM not responding

Steve K 0 Reputation points
2025-10-02T16:32:29.4366667+00:00

Azure VM was working fine (RDP and IIS). Now apps running under IIS do not respond. IIS default homepage works. VM is booted and shows login screen via Boot Diagnostics, but RDP fails with "Your credentials did not work". RDP firewall rule is set to allow incoming connections from any IP (and was working fine). SAC is active but cannot create users. Redeploy, restart, NIC reset, and password reset all failed. VM Agent appears broken.

Powershell commands run via Azure portal hang, eg

Azure -> Operations -> Run command -> IPConfig

Azure Virtual Machines
Azure Virtual Machines

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


1 answer

Sort by: Most helpful
  1. Nikhil Duserla 9,940 Reputation points Microsoft External Staff Moderator
    2025-10-02T18:23:34.07+00:00

    Hello Steve K,

    The VM Agent communicates with Azure’s control fabric via IP 168.63.129.16. If this breaks, most remote management features fail.

    Troubleshoot Azure Windows VM agent- https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/windows-azure-guest-agent#troubleshooting-checklist

    If the services don't exist, Guest Agent probably isn't installed. In this case, you can manually install Guest Agent. Before you do a manual installation, check the installation prerequisites- https://learn.microsoft.com/en-us/azure/virtual-machines/extensions/agent-windows#manual-installation

    Also, you can Repair a Windows VM by using the Azure Virtual Machine repair commands-

    Azure VM repair commands to automatically attach a broken OS disk to another Windows VM for offline repair. Through this procedure, the failed OS disk will automatically be unlocked on the second VM, called a repair VM, if the disk is encrypted with Azure Disk Encryption. When the failed disk is attached to the repair VM, you can fix any errors and then rebuild your original VM with the repaired disk.

    Please refer to this link for detailed troubleshooting steps- https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/windows/repair-windows-vm-using-azure-virtual-machine-repair-commands#repair-process-example

    Ensure VM Agent is running and reporting healthy.

    Reapply extensions (like VMAccess, IISDiagnostics).

    If you have any further queries, do let us know.

    Was this answer helpful?

    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.