Active Directory Lab

Project Overview

Active Directory Lab

My project for building an Active Directory environment inside of my homelab. I will be using Proxmox to virtualize servers, workstations, etc. I want to document the setup, configuration changes, and any issues that might come up.

What am I trying to accomplish?

I have worked heavily with AD environments, however I wanted to spend more time building one from the beginning. Working with an existing domain is one thing, but I feel as if designing and implementing a new domain is a good way to understand how things work under the hood.

The goal is to get more comfortable with Windows Server, alongside how Active Directory, DNS, DHCP, and Group Policy all work together. I also want to practice troubleshooting when something doesn't work, that way I am learning more than just the steps to get it installed.

What will be included in the project?

Setting up my lab environment

I already have Proxmox configured in my homelab, so I will be using that for this project as well. I am using a separate virtual bridge on one of my Proxmox nodes, with no physical network interface attached. This keeps the lab on its own network without needing a separate VLAN or additional firewall rules for this setup.

This will make sure I can setup DHCP without accidentally placing a rogue DHCP Server onto my network... that would not be good. As I add more VMs, I can connect them to the same network without having to worry about manually configuring each IP.

Component Purpose
Proxmox Hypervisor to host VMs.
Isolated virtual bridge (vmbr1) Isolates VMs on their own network.
Windows Server VMs Allows me to spin up servers and assign them roles.
Windows Pro VMs Lets me test DHCP leases, and Group Policy from a workstation and more.
Domain infra.twangytech.com

What is configured so far as of 10/26/26?

So far, I have Active Directory and DHCP configured, alongside a Windows client joined to the domain. I have also enabled Active Directory Recycle Bin, configured a service account for DHCP DNS updates, and started working with Group Policy.

How will I document the project?

I will probably keep individual tasks on separate pages within this book. Each page will explain what I am configuring, why it is needed, and how I can confirm it is working. I will include screenshots and commands where they can help explain.

If something doesn't end up working the first time, I want to document that too. Documenting the issue alongside of what fixed it will be more useful to me later than only keeping screenshots of the finished setup.

What comes next?

There are a couple of things I would like to work towards later down the line:

These are some future additions, so I will update as I work through them.

Lab Infrastructure

In this page, I will go over the underlying setup for my Active Directory lab. I am using Proxmox to host the VMs, alongside a separate virtual bridge so the lab has its own network.

What am I using for the lab?

I already have Proxmox configured in my homelab, so I am using that. For now, the lab is running on an available node.

The initial setup is pretty simple, a Windows Server VM and a Windows Pro VM connected to the same isolated network. The server provides the domain services, while the workstation gives me a way to test things from a client device.

Component Configuration Purpose
Hypervisor tw-pve04 Hosts the lab VMs.
Virtual bridge vmbr1 Connects VMs to an isolated network.
Subnet 10.50.0.0/24 Subnet and subnet mask for network.
DHCP Scope Range 10.50.0.50 to 10.50.0.200 Address space available.
Windows Server VM tw-ad01 - 10.50.0.10 Runs AD DS, DNS, and DHCP.
DNS server 10.50.0.10 and 10.50.0.11 Handles DNS.
Additional domain controller (planned) tw-ad02 — 10.50.0.11 Will provide AD DS and DNS, alongside replication with tw-ad01.
File server (planned) tw-fs01 — 10.50.0.12 Will host shared folders for testing access and permissions.
Windows Pro VM tw-pc01 Tests domain sign-in, DHCP leases, and Group Policy.
Active Directory domain infra.twangytech.com Domain used by the lab machines.

Keeping the lab on its own network

I am using vmbr1 as an isolated bridge with no physical network interface attached. This keeps the lab separate from my home network, so I can configure DHCP without accidentally handing out addresses to my home devices.

The lab has no WAN or internet access. VMs on vmbr1 can communicate with each other, but cannot reach my home network or the internet. DHCP and DNS are provided by the lab servers.

vmbr1 is local to this Proxmox node. Creating a bridge with the same name on another node won't connect the networks, so I will need to account for that if I move the lab later.

File Shares

Now that AD and everything is configured, it is time to move onto adding a file server. Security groups, GPOs for automatic drive mappings, and folder permissions here I come.

Now, I am making this sort of in a common strucuture. There are many many different ways that you can setup file shares.

File server

Component Configuration
Hostname tw-fs01
Static IP address 10.50.0.12
DNS server 10.50.0.10
OS disk 60 GB
Data disk 80 GB, mounted as E:
Computer OU TW → Servers

Shares and folders

The main share is \\tw-fs01\Company. Inside it, I created some department folders like Accounting, HR, IT, etc. Inside of those, I made some fake data so they aren't just empty folders.

I also created a separate share for Safety Training at E:\Safety Training.

Permissions

For Share permissions, I want to structure it in a way that NTFS permissions manage access, so share permissions are enabled for Full Access for Authenticated Users.

Some groups I created:

Group Permission
Company-RO Read and execute
Company-RW Modify
HR Team Access to the HR folder
IT Team Access to the IT folder
Safety-RO Read and execute
Safety-RW Modify

For some restricted folders, I disabled inheritance and adjusted the permissions. Administrators and SYSTEM retain Full Control perms.

Role groups

Now that the folder permissions are set, I wanted to try nesting groups. I created Shift Leads and Shift Supervisors under a Roles OU, following some of the roles at work.

For example, I added Harry to Shift Leads, then added Shift Leads to Safety-RO. Harry now gets read access to Safety Training through his role.

This makes things easier. If another shift lead joins, I can add them to Shift Leads and they get the access assigned to that role.

Drive mappings

Next, I used Group Policy to automatically map the drives based on group membership.

Drive Network path Group
Z: \\tw-fs01\Company Company-RO or Company-RW
H: \\tw-fs01\Company\HR HR Team
I: \\tw-fs01\Company\IT IT Team
S: \\tw-fs01\Safety Training Safety-RO or Safety-RW

I will cover the GPO configuration on a separate page.

Testing it out

With everything configured, I signed into tw-pc01 with different accounts to test the permissions. Read-only users could open the files, while users with Modify could create, edit, and delete them.

The nested groups worked too! I did run into an issue with the S: drive not appearing, but that ended up being a typo in the server name. Once I fixed that, the drive mapped.