Home Lab

circle-exclamation

Mollysec-DC01

From server manager:

  1. Add Roles and Features → Role-based or feature-based installation

  2. Local server → AD Domains Services

  3. Cick on the Promote to DC configuration triangle post-install

  4. Add new forest and go through the wizard

# Rename host
Rename-Computer -NewName "MOLLYSEC-DC01" -Restart

# Users list
> cat users.txt
molly-ea
molly-da
molly
sylune
henry
freya
poppy
willow
gecko
lennie
indy
rudy
ca_svc

# Create multiple users
Import-Module ActiveDirectory
Get-Content .\users.txt | ForEach-Object {New-ADUser -Name $_ -SamAccountName $_ -AccountPassword (ConvertTo-SecureString "Password123!" -AsPlainText -Force) -Enabled $true}

Puppy-DC01

CA-01

From server manager:

  1. Manage → Add Roles and Features

  2. Check ADCS → Click on the post-install notification triangle

  3. Choose CA → Enterprise CA (defaults for the rest)

circle-info
  • Certificate Authority server manager (aka CA console): certsrv.msc

  • Certificate Template manager: certtmpl.msc

DEV01

Commands

Last updated