How to adjust the RDP settings in Bastion?

88584882 55 Reputation points
2023-09-06T14:45:41.1066667+00:00

Hello,

For some reasons, I have to directly connect to my Virtual Machine using the Windows native client. The command line below is one I am using.

az network bastion rdp --name "<BastionName>" --resource-group "<ResourceGroupName>" --target-ip-address "<VMIPAddress>"

I have a window which looks like that.

User's image

I was expecting to get something like below to adjust the RDP setting to high bandwidth.

User's image

If anyone can help, it would be highly appriciated.

Thanks a lot!

_dje

Azure VMware Solution
Azure VMware Solution
An Azure service that runs native VMware workloads on Azure.
327 questions
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.
244 questions
Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,320 questions
{count} votes

Accepted answer
  1. kobulloc-MSFT 24,656 Reputation points Microsoft Employee
    2023-09-19T01:43:18.7766667+00:00

    Hello, @88584882 ! I've done some additional research and I'm including it here in the answer below. I hope this helps!

    How do I adjust RDP settings in Bastion?

    When using Bastion, there are fewer RDP options available to you as a lot of this is done behind the scenes:

    https://learn.microsoft.com/en-us/azure/bastion/native-client

    As you can see here, when using native client Bastion connects to the VM via RDP from within the NSG and then relays the connection back to you via 443, Internet:

    Diagram shows a connection via native client.

    There are some advanced configuration options depending on how you configure Bastion:

    https://learn.microsoft.com/en-us/azure/bastion/configuration-settings

    These are largely out of scope for single user scenarios (like instances and host scaling) but I did notice that during my own testing, I was seeing much better performance while watching video even in full screen when compared to a classic RPD connection without Bastion. While not quite a desktop experience, I was getting roughly half the frame rate in full screen with some noticeable slow downs when watching full frame animation media as opposed to a presenter:

    User's image

    Additional options when using the Standard SKU for Bastion:

    User's image

    Additional reading:

    Deploy Bastion with manual settings

    Create an RDP connection to a Windows VM using Azure Bastion


    I hope this has been helpful! Your feedback is important so please take a moment to accept answers.

    If you still have questions, please let us know what is needed in the comments so the question can be answered. Thank you for helping to improve Microsoft Q&A!

    User's image

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. 88584882 55 Reputation points
    2023-09-08T09:30:09.67+00:00

    thanks Kobulloc!

    0 comments No comments