HomeLab: Creating a Windows 2019 Virtual Machine with Hyper-V
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...
![](https://blog.dbplatz.com/content/images/2021/09/image-23.png)
Click Next.
![](https://blog.dbplatz.com/content/images/2021/09/image-1.png)
Submit a virtual machine name.
![](https://blog.dbplatz.com/content/images/2021/09/image-2.png)
Select Generation 2.
![](https://blog.dbplatz.com/content/images/2021/09/image-3.png)
I assigned 4GB of RAM for this VM.
![](https://blog.dbplatz.com/content/images/2021/09/image-4.png)
I selected internal network as internet is not actually required.
![](https://blog.dbplatz.com/content/images/2021/09/image-5.png)
I assigned 50GB for the drive C:\
![](https://blog.dbplatz.com/content/images/2021/09/image-6.png)
I selected the path where the instalation ISO is.
![](https://blog.dbplatz.com/content/images/2021/09/image-7.png)
Once the VM was created, let's click on Connect.
![](https://blog.dbplatz.com/content/images/2021/09/image-24.png)
And now we click on START.
![](https://blog.dbplatz.com/content/images/2021/09/image-10.png)
Press any key.
![](https://blog.dbplatz.com/content/images/2021/09/image-11.png)
Select your region and keyboard from the dropdown.
![](https://blog.dbplatz.com/content/images/2021/09/image-12.png)
Click on Install Now
![](https://blog.dbplatz.com/content/images/2021/09/image-13.png)
I selected Windows 2019 Standard (Desktop Experience).
![](https://blog.dbplatz.com/content/images/2021/09/image-14.png)
Accept the terms.
![](https://blog.dbplatz.com/content/images/2021/09/image-15.png)
Click on Custom: Install Windows only.
![](https://blog.dbplatz.com/content/images/2021/09/image-16.png)
Click Next.
![](https://blog.dbplatz.com/content/images/2021/09/image-17.png)
It depends on the hardware but mine took around 20mins.
![](https://blog.dbplatz.com/content/images/2021/09/image-18.png)
and provide a secure password for the administrator user.
![](https://blog.dbplatz.com/content/images/2021/09/image-19.png)
Once the installation has completed. Use the crendentails to login.
![](https://blog.dbplatz.com/content/images/2021/09/image-20.png)
and we should see the following.
![](https://blog.dbplatz.com/content/images/2021/09/image-21.png)
and that's it. In the next article we will see, how to configure a DC for our home lab.
Want to thank me?
![Buy Me A Coffee](https://cdn.buymeacoffee.com/buttons/v2/default-blue.png)