Home » Microsoft Azure » Create a Windows virtual machine in the Azure portal

Create a Windows virtual machine in the Azure portal

Windows Virtual Machine Azure Portal

Azure VM’s are highly scalable, on-demand and powerful virtual machines. That can be created through the Azure portal.



Azure provides various kind of operating system images such as Ubuntu, CentOS, Redhat enterprise, SUSE and various windows OS images consisting of Windows 10 Pro, Windows Server 2019/2016/2012 R2.

Prerequisites for this:

Create virtual machine

Step-1: Sign in to the Azure portal at https://portal.azure.com.

Step-2: In Home Page dashboard > Click on Virtual machines or you can search the same in search bar.

Select Virtual Machine

Select Virtual Machine

Step-3: Click on +Add button & select +Virtual machine.

Add virtual Machine

Add virtual Machine

Step-4: In the Basics tab, under Project details, select your subscription and then choose resource group.

If you don’t know how to create a resource group, see here: Create a Resource Group in Microsoft Azure.

Create VM Project details

Create VM Project details

Step-5: Under Instance details, provide the details for-

  • Virtual machine name: Provide Virtual machine name
  • Region: Choose a location which suits your application best or a location where you are near to.
  • Availability options: Leave with default suggestion.
  • Availability zone: Leave with default suggestion.
  • Image: choose Windows Server 2019 Datacenter.
  • Azure Spot instance: Leave with default suggestion.
  • Size: The configurations of the VM such as RAM, Disk type, IOPs, and the corresponding cost of the configuration.
Create VM Instance details

Create VM Instance details

Step-6: Under Administrator account, Select Authentication type password and provide a username, and a password.

Under Inbound port rules, choose Allow selected ports and then select RDP (3389) and HTTP (80) from the drop-down.

Then click on Next: Disks> button.

Create VM admin details

Create VM admin details

Step-7:  Under Disk options, you can choose the OS disk type, then click on create and attach a new disk.

Azure create a new disk

Azure create a new disk

Stpe-8: You can change the size of disk, click on change size > choose the size of disk then click OK button.

Create disk azure

Create disk azure

Step-9: Now click on Review + Create, then Create.

Step-10: It will take few minutes to deploy the Virtual machine.

Azure VM deployment

Azure VM deployment

Connect to the Virtual Machine

Now understand, how to create a remote desktop connection to the virtual machine and connect to your VM from a Windows computer.

Let’s Get started-

Step-1: Go to Home page > Under Recent resource > Open your virtual machine.

Open VM Azure portal

Open VM Azure portal

Step-2: Click on Connect then choose RDP.

VM RDP file

VM RDP file



Step-3: keep the default options to connect by IP address, over port 3389, and click Download RDP file.

Download RDP file

Download RDP file

Stpe-4: Open the downloaded RDP file and click Connect when prompted.

RDP file

RDP file

Stpe-5: Enter VM credentials here.

  • Username: Enter username you created for the virtual machine, format for user name : localhost\username.
  • Password: Enter password you created for the virtual machine, and then click OK.
Windows security

Windows security

Step-6:  If you receive a certificate warning during the sign-in process. Click Yes or Continue to create the connection.

VM machine RDP

VM machine RDP

Recommend Azure Post: Microsoft Azure Topics




Hope you enjoyed the post. Your valuable feedback, question, or comments about this post are always welcome or you can leave us message on our Contact form , we will revert to you asap.

Leave a Reply