Virtual Homelab Running Active Directory
This homelab utilizes VirtualBox to connect a Windows 2019 Server Domain Controller to a Windows 10 client machine. I followed Josh Madakor’s tutorial on YouTube to set this up. He also provides a randomly generated list of ~1,000 users to add via PowerShell.
The foundation for this homelab is shown in this diagram:
Here’s what Active Directory shows after adding myself to the admin group:
Here’s what the server shows after running the PowerShell script provided by Josh Madakor:
Here’s my client machine appearing in Active Directory after it was connected to my domain:
I ran into an issue where the client machine was successfully connected to the server domain, but it did not have internet access. I’m still trying to figure this out.
The main things I learned from this project were:
- How to install Windows Server 2019
- How to set up Active Directory on the machine
- How to install Routing and Remote Access on a domain controller (supposed to allow internal clients to connect to the Internet using one public IP)
- How to install and configure DHCP on the server
- How to run PowerShell scripts on the server
- What organizational units are and how they are different from containers (Group Policy Objects can only be applied to organizational units. Examples of a GPO are password complexity enforcement and blocking certain software from being installed on machines)
I also found this resource to be quite helpful: https://www.serveracademy.com/tutorials/active-directory-tutorial-for-beginners/
As well as this article on Group Policy: https://www.quest.com/community/blogs/b/microsoft-platform-management/posts/group-policy-what-is-it-and-how-do-gpos-work