Forum Discussion
mohirafi
Oct 26, 2025Copper Contributor
Virtual Machine Agent Status is not Ready in WIndows VM
not able to log in to the Azure VM. The Serial Console and Run a Command are also not responding Please help to resolve this issue Backup is also not running. No Backup Available
Kidd_Ip
Oct 28, 2025MVP
Try this:
- Check Boot Diagnostics
- Go to the VM in the Azure Portal → Boot diagnostics
- If it's disabled, enable it to view screenshots and logs
- Look for signs of OS boot failure (e.g., stuck at login, blue screen)
- Verify VM Agent Health
- to see whether it may be missing, outdated, or corrupted
- Common causes: custom images, failed updates, or OS corruption
- Use Rescue VM Method
If you can't access the VM:
- Stop the VM
- Detach the OS disk
- Attach it to a healthy rescue VM as a data disk
- Use the rescue VM to:
- Check and fix corrupt system files (sfc /scannow)
- Reinstall or update the Azure VM Agent manually
- Remove problematic extensions
- Reattach and Start Original VM
- Detach the disk from the rescue VM
- Reattach it to the original VM as the OS disk
- Start the VM and check if the agent status improves
- Restore Backup or Redeploy
If recovery fails:
- Check if any snapshot or manual backup exists
- If not, consider redeploying the VM:
- Azure Portal → VM → Redeploy
- This moves the VM to a new host and can fix platform-level issues
- Prevent Future Issues
- Always use supported images with the Azure VM Agent pre-installed
- Keep the agent updated via Windows Update or manual install
- Monitor VM health via Azure Monitor and Security Center