How To Create a Windows Virtual Machine
Published: 2023-06-10 14:43:02



a. Sign into azure environment, in the search bar, type "Virtual Machine, select virtual machine, and then click create.
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ffi96kg6l69lyk3spkva.png)


b. On the basic page select your virtual machine parameters, by select the subscription you are using (e.g. Subscription1), choose your Resource group or you can create new one (e.g. WEBRESOURCE), give your VM a name (JosephVMWin), select Region as Esat US, availability zone2, select the security type you want, my image as window. 
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2a0pjorcntlfguezm655.png)


c.	Select the size of your virtual machine from the drop-down or click on "See all
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/09niluk63xhor9m48vtq.png)


d.	Under administrator account Select the password authentication type. ENTER YOUR username and password.
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ze03qkonkbc51zthb7km.png)


e.	Select "Allow selected ports" On the inbound port rules section and then select RDP (3389). This port will give you remote access to your physical work desktop computers.
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wbdxfvwx7x9i2rrszv3v.png)


f.	Select Standard SSD or any disk type of your choice as shown below. Leave the other columns as default, as well as  the networking, management, monitoring and advanced pages as default. Skip to the page.
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2ha5cb4f3y02u7d0shbm.png)


g.	Next, click on Review+create, and Review the summary of your virtual machine configuration and click create.
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/awrmply8lz9xjtjnnbdq.png)


h.	Once the deployment is complete, go to Vm by clicking go to resource.
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rz7za9av5gh8u7jouq8a.png)

                

**Connect to Your Windows Virtual Machine**
Connecting to your VM through RDP connection.
a.	Click on connect on the overview page
 
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7jexzf8stm17t9fw0zqe.png)


b.	Connect to the VM using RDP, leave the default settings, you can use the RDP from your system or you can download RDP file from the Connect page belo. to your system.  

 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/854s9jjv1uuvdknbx2bt.png)
Use your system RDP by entering the IP address as computer name and click connect.
![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/9gej07mx3z49gal7ytcu.png)



c.	Input your username and password. 
 

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bwbesnvazq0fmxds26yl.png)


d.	Click yes, then the josephVMWin window is opened.
  

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7rv1qd0x40wbk5e2f4qh.png)



![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/7swh2b4qxm16eif04jbl.png)