From the action pane on the right side, choose the New and then move on to the Virtual Machine in the context menu.
For the first time users of Hyper-V, the screen will come, simply hit next and give a path to your virtual machine a name and hit again next.
Now make your own choice for the space you are going to allot to the virtual machine. For the best performance, at least select a memory of 1 GB.
Having a previously Network Connectivity, you may choose from the available list of the networks. Then press next.
For the decent usage, choose the hard drive of VHDX type, which allows having a memory of 16TB. Now make a choice within the range and click next.
Now as for the ISO user, install the OS, turn of the radio button to the Image file and press the Browser button.
Now select the Ubuntu ISO.
Wait for some time for the response of virtual machine after hitting on the finish button.
Now start the virtual machine by clicking on the Context menu.
That’s all there is to it. You now have a running copy of Ubuntu in Windows.