0

Connect to Windows VM on Azure without an RDP Client App

 1 year ago
source link: https://edi.wang/post/2022/7/6/connect-to-windows-vm-on-azure-without-an-rdp-client-app
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Connect to Windows VM on Azure without an RDP Client App

Original

Edi Wang

Wednesday, July 6, 2022 China Standard Time

7 Reads


Sometimes, you need to connect to Windows VM on Azure but you don't have or can't use a Remote Desktop client app on your device. Don't worry, you can still use RDP from your browser. We will be using the Windows Admin Center that currently in preview on Azure Windows VMs. Let's see how to do it.

Install Windows Admin Center


Navigate to your VM in Azure portal, and go to "Windows Admin Center (preview)" blade.

Check both checkboxes and click install button.

img-9427431f-7f55-4fba-a044-38ab2e8ee860.png

When it is done, click "Connect" button.

img-23b44e18-b406-455f-98e3-3f5bfa8e2c44.png

Enter your VM's login credential.

img-222f3f6f-e6a3-4e98-8628-21318f115a00.png

If everything is good, you will be able to see this dashboard.

img-ca932b85-daaf-454e-85d3-ffbe66b4c7cc.png

Use Remote Desktop on Web


Go to "Remote Desktop" tab on the left side menu.

img-95025cb5-562b-4fc1-87ee-2f0d07cd2076.png

Enter your VM's credential again, and click "Connect"

img-0cbd894b-fa33-4fef-8091-8a630ed4b86f.png

Now you are able to use Remote Desktop directly within your web browser!

img-907e538a-5e1b-4d92-9149-3489d4999c48.png

However, please note that this method requires your VM's RDP port to be 3389 (default port). If your server is using other port for RDP, you have to reset it to 3389 in order to connect from Windows Admin Center.

You can use "SetRDPPort" command in Azure portal to reset RDP port to 3389.

img-5d90b1cf-b944-4972-9467-4be882c28670.png

Azure Bastion


Another method for connecting to Windows VM from web browser is to use Azure Bastion. However, this service will cost you extra money with an hourly base rate. So if you are just connecting your VM from browser temporarily, just use Windows Admin Center and save your money!


This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License



About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK