Log on to a Windows virtual machine using the Azure classic portal
In the Azure classic portal, you use the Connect button to start a Remote Desktop session and log on to a Windows VM.
Do you want to connect to a Linux VM? See How to log on to a virtual machine running Linux.
Azure has two different deployment models for creating and working with resources: Resource Manager and classic. This article covers using the classic deployment model. Microsoft recommends that most new deployments use the Resource Manager model. Learn how to perform these steps using the Resource Manager model.
Here's a video walkthrough of the steps in this tutorial. It also covers endpoints and public and private ports used for connecting to a Windows VM in Azure.
Sign in to the Azure classic portal.
Click Virtual Machines, and then select the virtual machine.
On the command bar at the bottom of the page, click Connect.
If the Connect button isn't available, see the troubleshooting tips at the end of this article.
Clicking Connect creates and downloads a Remote Desktop Protocol file (.rdp file). Click Open to use this file.
You will get a warning that the .rdp is from an unknown publisher. This is normal. In the Remote Desktop window, click Connect to continue.
In the Windows Security window, type the credentials for an account on the virtual machine and then click OK.
Local account - this is usually the local account user name and password that you specified when you created the virtual machine. In this case, the domain is the name of the virtual machine and it is entered as vmname\username.
Domain joined VM - if the VM belongs to a domain, enter the user name in the format Domain\Username. The account also needs to either be in the Administrators group or have been granted remote access privileges to the VM.
Domain controller - if the VM is a domain controller, type the user name and password of a domain administrator account for that domain.
Click Yes to verify the identity of the virtual machine and finish logging on.
- If the Connect button is inactive or you are having other problems with the Remote Desktop connection, try resetting the configuration. From the virtual machine dashboard, under Quick Glance, click Reset remote configuration.
- For problems with your password, try resetting it. From the virtual machine dashboard, under Quick Glance, click Reset password.
If those tips don't work or aren't what you need, see Troubleshoot Remote Desktop connections to a Windows-based Azure Virtual Machine. This article walks you through diagnosing and resolving common problems.