Cannot RDP to Azure VM - Internal Error 0x4

Brent Long 6 Reputation points
2023-07-10T17:52:42.1933333+00:00

Starting this morning, I cannot RDP to my VM using the public IP.

  1. My RDP allow list includes my IP address.
  2. RDP troubleshooter shows no issues.
  3. I can RDP to the machine from another VM in azure using the private IP address.
  4. I tried changing (any) settings as suggested in a number of posts.
  5. Reboot did not resolve the issue.
  6. Tried updating VM system properties: Remote Desktop: Allow connections only from computers running Remote Desktop with Network Level Authentication - no difference whether checked or not.

RDC: Shell and control version 10.0.22621, Network Level Authentication supported, RDP 10.11 supported.

Error: Remote Desktop Connection, An internal error has occurred., Error code: 0x4, Extended error code: 0x0

Any suggestions?

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

1 answer

Sort by: Most helpful
  1. Michael Durkan 12,241 Reputation points MVP
    2023-07-10T20:14:41.7233333+00:00

    Hi

    Is there an NSG associated with the NIC of the VM or the Subnet that it sits on?

    Check and make sure that no NSG rules have changed, you could also try disassociating the NSG from the NIC/Subnet to see if RDP works. If that works, try re-associating the NSG and try again - I've seen issues like this previously where this action can help.

    Hope this helps,

    Thanks

    Michael Durkan

    • If the reply was helpful please upvote and/or accept as answer as this helps others in the community with similar questions. Thanks!

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.