LAB-DC01 is the Active Directory domain controller for the Rogue Labs cyber range. This guide covers its manual deployment with Windows Server 2025 or 2022 on Proxmox VE.
π₯οΈ 1οΈβ£ Proxmox VM Creation
VM Settings:
| Setting | Value |
|---|---|
| Name | LAB-DC01 |
| OS | Windows Server 2025 (or 2022) |
| System BIOS | OVMF (UEFI) |
| Machine Type | Q35 |
| EFI Disk | β Add EFI Disk |
| TPM | β Add TPM (version 2.0) |
| ISO | Mount official Server 2025 ISO |
| CD/DVD (optional) | Mount VirtIO ISO (for drivers) |
| SCSI Controller | VirtIO SCSI (or SATA if skipping VirtIO) |
| Hard Disk | 60GB+ (VirtIO SCSI or SATA) |
| CPU | 2+ cores |
| Memory | 4096MB (4GB) |
| Network Device | VirtIO (or E1000 if no VirtIO) |
| VLAN Tag | Set to your internal lab VLAN (e.g., 10) |
| Boot Order | CD-ROM first, Disk second |
β‘οΈ Tip: Set the boot order to prioritize the hard disk after the OS install is complete.
π½ 2οΈβ£ Install Windows Server
- Boot the VM from the ISO.
- Proceed with a standard install:
- Select: Windows Server 2025 Standard (Desktop Experience)
- If you're using VirtIO disks:
- Load the VirtIO storage driver during disk selection (from the VirtIO ISO).
- Complete installation.
βοΈ 3οΈβ£ Initial Configuration
β Set Hostname
In PowerShell (as Administrator):
Rename-Computer -NewName "LAB-DC01" -Restart
β Set Static IP Address
Example configuration:
| Field | Value |
|---|---|
| IP Address | 10.0.0.10 |
| Subnet Mask | 255.255.255.0 |
| Default Gateway | 10.0.0.1 |
| DNS Server | 10.0.0.10 (itself) |
| Alternate DNS | e.g., 1.1.1.1 |
Steps:
- Open Network Connections
- Right-click your adapter β Properties β IPv4 β Enter the static IP info.
β Install QEMU Guest Agent (optional but recommended)
- Mount the VirtIO ISO.
- Run:
qemu-ga-x86_64.msi - Verify the QEMU Guest Agent service is running.
π¦ 4οΈβ£ Add Roles & Features
Open Server Manager β Add Roles and Features:
-
Roles:
- β Active Directory Domain Services
- β DNS Server
-
Features:
- (Optional) Group Policy Management
Do NOT promote to Domain Controller yetβjust install the roles for now.
π 5οΈβ£ Promote to Domain Controller
Once AD DS role is installed:
- In Server Manager, click the notification flag β Promote this server to a domain controller.
- Select:
- β Add a new forest
- Root domain name:
rougelabs.local
- Set the Directory Services Restore Mode (DSRM) password.
- Accept defaults for:
- DNS options
- NetBIOS name:
rougelabs - Paths
- Review & Install.
π₯ The server will reboot automatically after promotion.
π§ 6οΈβ£ Configure DNS Forwarders
- Open DNS Manager
- Right-click the server β Properties β Forwarders tab
- Add reliable public DNS servers (e.g.,
1.1.1.1,8.8.8.8)
π₯ 7οΈβ£ Create Organizational Units (OUs) and Users
β Open: Active Directory Users and Computers
Example structure:
rougelabs.local
βββ OU: Users
β βββ user1
β βββ user2
βββ OU: Admins
β βββ labadmin
βββ OU: Workstations
β βββ WIN10-CLIENT
β βββ WIN11-CLIENT
β PowerShell Commands (Example)
The password below is a disposable lab example. Replace it before use and never reuse it outside an isolated lab.
# Create OUs
New-ADOrganizationalUnit -Name "Users"
New-ADOrganizationalUnit -Name "Admins"
New-ADOrganizationalUnit -Name "Workstations"
# Create Users
New-ADUser -Name "labadmin" -SamAccountName "labadmin" -AccountPassword (ConvertTo-SecureString "Passw0rd!" -AsPlainText -Force) -Enabled $true
Add-ADGroupMember "Domain Admins" "labadmin"
New-ADUser -Name "user1" -SamAccountName "user1" -AccountPassword (ConvertTo-SecureString "Passw0rd!" -AsPlainText -Force) -Enabled $true
New-ADUser -Name "user2" -SamAccountName "user2" -AccountPassword (ConvertTo-SecureString "Passw0rd!" -AsPlainText -Force) -Enabled $true
π 8οΈβ£ Disable IE Enhanced Security (Optional)
- Open Server Manager β Local Server
- Click IE Enhanced Security Configuration
- Set to:
- Administrators: Off
- Users: Off
β Final Checklist
- VM created with TPM, EFI, and VirtIO (if applicable)
- Windows Server installed and updated
- Hostname:
LAB-DC01 - Static IP:
10.0.0.10 - Roles added: AD DS + DNS
- Domain:
rougelabs.localcreated and promoted - DNS forwarders configured
- Test users + OUs created
- QEMU Guest Agent installed (optional)
π Security Notes
- β Save the DSRM password securely.
- β Lock down the Proxmox console and VM access.
- β Take a Proxmox snapshot once setup is complete for easy rollback.