Active Directory Lab

Created a Windows Server VM in Azure

  • resource group name: ad-lab-rg
  • VM name: DC01
  • region: Germany West Central
  • admin username: itscrxzabel
  • static private IP: 172.16.0.4

Installed Active Directory Domain Services AD DS

  • AD DS role showing installed in Server Manager
  • No domain created yet
  • 'Promote this server to a domain controller' notification present

Promoted the Server to a Domain Controller

  • root domain name: abel-lab.local
  • NetBIOS name: ABEL-LAB

Created Organizational Units

Branches > Munich > Users / Workstations / Laptops

Created Users

  • User: Stefan Raab -> sraab
  • User: Bob Martinez -> bmartinez
  • User: Chris Walker -> cwalker

Created Security Groups

  • Created Organizational Unit _Groups with Helpdesk, ITSupport, Accounting
  • Added sraab -> Helpdesk
  • bmartinez -> Accounting
  • cwalker -> ITSupport

Created a Windows Client VM and Joined the Domain

  • Created VM CLIENT01
  • VNet and Subnet same as domain controller:
    • vnet-germanywestcentral-1
    • snet-germanywestcentral-1
  • Created inbound port rule (client-inscr) with Port 3389 and IP set to mine (Host)
  • Configured DNS by setting the preferred DNS server to the domain controller's private IP address (172.16.0.4)
  • Joined CLIENT01 to the domain of the domain controller, by adding domain name and authenticating with DC admin account (restart at end CLIENT01)

Tested Authentication

Logged Into the Client as a Domain User

  • Because of using Remote Desktop i had to add the lab groups to CLIENT01's local Remote Desktop Users group
  • Command Line as administrator:
    • Add-LocalGroupMember -Group "Remote Desktop Users" -Member "LAB\Helpdesk"
    • Add-LocalGroupMember -Group "Remote Desktop Users" -Member "LAB\Accounting"
    • Add-LocalGroupMember -Group "Remote Desktop Users" -Member "LAB\ITSupport"
  • Signed in as ABEL-LAB\bmartinez
  • Verified the group membership with `whoami /groups` in the cmd

Additional tasks

  • Doubled maximum password age
  • Reduced Minimum password length from 7 to 6
  • Delegated password reset permission to helpdesk group
  • Moved CLIENT01 from abel-lab.local > Computers to _Branches > Munich > Workstations