Share via

Increased disk size appears to have disabled RDP

Steve Lee 0 Reputation points
2026-04-30T20:37:14.9666667+00:00

I increased the size of the OS disk on an Azure VM, and when I started it back up, I was not able to access the VM via RDP. I can still access it via Bastion. I have verified the NSG rules, and there are other VM's in the same NSG group that are working normally.

I am not sure where else to look for the issue.

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. Andriy Bilous 12,096 Reputation points MVP
    2026-04-30T20:52:53.5066667+00:00

    Hello Steve Lee

    The issue you’re facing is due to an unsupported disk size reduction attempt.

    Suggested Solutions:

    Restore the Original Disk Size: If you accidentally tried to resize the disk size, revert the disk to its original size of . Check your platform's disk management options for resizing or undoing changes.

    Reset RDP configuration from the Azure Portal

    Before connecting via Bastion, try the built-in reset first. In the Azure portal, navigate to your VM, scroll down to the Help section, click Reset password, set the Mode to Reset configuration only, and click Update. This resets the RDP configuration and re-enables Remote Desktop firewall rules without touching your credentials.

    Check NSG rules at both the subnet and NIC level

    NSGs can be applied at both the subnet level and the network interface (NIC) level. When NSGs exist at both levels, inbound traffic must be allowed by both NSGs to reach the VM. A higher-priority deny rule will block RDP even when an allow rule exists.

    Why Disk Reduction Fails:

    Reducing a disk size may lead to data loss or corruption because it involves altering the structure of the disk. Most virtualization platforms explicitly prevent this for safety reasons.

    https://learn.microsoft.com/en-au/answers/questions/5700901/unable-to-start-azure-vm-after-increasing-disk-siz

    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.