Azure Virtual Machine cannot connect through RDP Or Bastion

Gihan Pathirana 1 Reputation point
2022-10-03T09:26:47.12+00:00

Cannot connect to the VM using Bastion or RDP. Only can access using console with CMD. VM up and running. Can be access file share and remote mapping for registry as well as computer managment console.

Azure Bastion
Azure Bastion
An Azure service that provides private and fully managed Remote Desktop Protocol (RDP) and Secure Shell (SSH) access to virtual machines.
243 questions
Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,389 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,298 questions
0 comments No comments
{count} votes

6 answers

Sort by: Newest
  1. Vineet Kumar Gupta 161 Reputation points
    2022-11-01T13:44:09.11+00:00

    if you already apply above all steps then

    May be this will be helpful
    Please check the NSG rules for RDP and port like 443
    What is showing in Boot Diagnostic (able to see Window screen)
    Check any firewall blocking the VM IP
    Lastly take if backup is enable try to restore or (take the snapshot of disk) use redeploy and reapply as per your convivence.

    0 comments No comments

  2. Prrudram-MSFT 22,576 Reputation points
    2022-10-04T08:27:53.96+00:00

    Hello @GihanPathirana-860,

    Is there any specific error you get when you try to connect using RDP or bastion? If you have already tried all the first hand troubleshooting for RDP issue, I would suggest trying the PowerShell method described here https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-rdp-connection#troubleshoot-using-azure-powershell

    0 comments No comments

  3. Gihan Pathirana 1 Reputation point
    2022-10-03T10:59:08.313+00:00

    Hi AndreasBaumgarten,

    Already tried all the above steps and does not resolve the issue.

    Thanks!

    0 comments No comments

  4. Andreas Baumgarten 98,626 Reputation points MVP
    2022-10-03T10:49:26.25+00:00

    Hi @Gihan Pathirana ,

    maybe one of the links is helpful:
    https://learn.microsoft.com/en-us/troubleshoot/azure/virtual-machines/troubleshoot-rdp-connection
    https://learn.microsoft.com/en-us/azure/bastion/troubleshoot

    ----------

    (If the reply was helpful please don't forget to upvote and/or accept as answer, thank you)

    Regards
    Andreas Baumgarten

    0 comments No comments

  5. Gihan Pathirana 1 Reputation point
    2022-10-03T10:43:09.117+00:00

    Hi andreasbaumgarten,

    Windows server 2016. Its GUI not core.

    Thanks!

    0 comments No comments