Today, I'm creating a new Windows 2019 VM using Hyper-V for my home lab. The goal is to create a new SQL Server AlwaysOn and FCI cluster for testing.
So let's see how we can start just creating a VM for my domain controller (DC).
Official docs are here
Open Hyper-V Manager and click on New -> Virtual Machine...
Give the virtual machine a name.
Choose Generation 2.
I assigned 4GB of RAM for this VM. My host (desktop) has 32GB of RAM.
I chose internal network as internet is not actually required.
I assigned 50GB for the drive C:\
I chose the path where the instalation ISO is.
Once the VM was created, let's click on Connect.
And now we click on START.
Press any key.
Select your region and keyboard from the dropdown.
Click on Install Now
I selected Windows 2019 Standard (Desktop Experience).
Accept the terms.
Click on Custom: Install Windows only.
It depends on the hardware but mine took around 20mins.
and provide a secure password for the administrator user.
Once the installation has completed. Use the crendentails to login.
and we should see the following.
and that's it. In the next article we will see, how to configure a DC for our home lab.