You are on page 1of 31

JARAMOGI OGINGA ODINGA UNIVERSITY OF SCIENCE AND TECHNOLOGY

AD DS Installation and configuration in Windows Server 2019


Abstract
This report is aimed at providing a detailed step by step record of activities that were
undertaken during a lab assignment on the Windows server 2019 AD DS, DNS and DHCP
services. In addition, this report covers all the requirements for creating a new forest, domain
controller, DHCP server with scope and more.
Prerequisite Experience (Level 200)
 An understanding of general networking concepts such as DNS (Domain Name
Space) IP address, IP networks, and troubleshooting network related environments
 Experience working with Virtual Machines using Hyper-V, Virtual Box or VMware
Workstation
 Experience with basic security best practices
 Experience working with Windows server and Windows 10 / 7 client operating
systems.
High-Level Goals
 Install and Configure New AD Forest, AD Domain and Domain Controller
 Install and Configure Reverse DNS Lookup Zone
 Enable/Set DNS Scavenging to 3-7 days (DNS record cleanup)
 Install and Configure DHCP Server including AD authorization, DHCP Scope, and
DHCP Lease creation
 Windows Server baseline security recommendations
 Test Windows 10 domain join manually for new Forest/Domain
Requirements
 PC or device with at least dual-core Intel core i3, i5 or i7 CPU (Or AMD) and
Virtualization Support
 Windows 10 Pro x64 or Enterprise x64 (Windows 10 HOME edition does not support
Hyper-V or other virtualization technology)
 At least 8GB FREE memory (16GB or 32GB is best) on the host operating system
 Enable 2 Virtual Processors within Hyper-V manager or other software for the VM
client
 Enable Intel® Virtualization Technology in BIOS/Firmware (Virtualization software
will not work otherwise) Use Intel tool here to check.
 Windows Server 2019 Volume License ISO media or 180-day evaluation media
 Enable Hyper-V manager in Windows 10 or install other product such as Oracle
Virtual Box or Vmware Workstation
Install Virtual Box Guest Virtual machine and Configure Settings
Download the Windows Server 2019 ISO media file requirement as this will be used within
the Virtual box settings on the virtual guest machine.

Launch Virtual Box, create a NEW guest virtual machine and configure the following
settings.

 Enable Generation 2 guest VM during VM creation


 Enable 2 Virtual Processors
 Allocate 1GB RAM
 Add DVD Drive (Required to mount Windows Server 2019 ISO media)
Installing Windows Server 2019 Operating System
From Virtual Box on Windows 10, make sure the DVD is set as the first boot device and that
the ISO image file is configured in the settings.

Connect to the new virtual machine and quickly be prepared to click a key on your keyboard
to boot to the Windows Server 2019 ISO. Click “Start” to begin.

Select the language, skip or enter an applicable product key, select “Windows Server 2019
Standard (Desktop Experience)”, format the disk partition and the OS install will begin.

Power On the newly created guest VM and be ready to quickly press a key to boot from the
ISO
Press a key to boot from the mounted ISO CD. Reset the VM if you missed the change to
press a key
Enter the initial administrator password and the installation of Windows Server will be
complete. Move on to the next steps to rename the computer, install updates, activate
Windows, set the timezone and set a static IP address on the internal VM network card.
Configure Windows Server 2019 (Post OS Install)
Perform the following tasks on the newly installed Windows Server 2019 OS and reboot the
server.
 Rename the Server
 Set the Time Zone to your applicable Time Zone
 Set a static IP Address on the TCP/IP V4 the INTERNAL Virtual Machine network
card OS settings
 Install Windows Server 2019 Updates

IMPORTANT NOTE: Be sure to set a STATIC IP address on the VM’s internal LAN NIC
before you run the Active Directory Services install and configuration wizard. Active
Directory, DHCP and DNS require a static IP address. The Active Directory and DHCP
installation wizards will display errors if you don’t set a static IP address on the virtual
machine internal network card for IPv4.
Set a static IP address for the TCP/IPv4 virtual machine INTERNAL NIC as shown here in
the example below. Use your own private IP address subnet range. use a 10.x.x.x or
172.16.x.x or 192.168.x.x IP range
CRITICAL NOTE: Be sure to set the IP address for the preferred DNS server to 127.0.0.1
as shown below since we will be using the local server for DNS and Active Directory use.
Install the latest Windows Server 2019 updates from the Start Menu > Settings > Update &
Security settings applet and reboot as applicable.
Install Active Directory Services, DHCP and DNS Roles
Perform the following steps to install Active Directory Services for a new forest, DNS and
DHCP server on the virtual machine.

Prerequisites
 DISABLE the External NIC on the virtual machine if you configured a 2nd NIC for
internet access as part of the Windows Server updates and license activation.
Launch “Server Manager” from the start menu and select “Add Roles and Features“.
Click Next at the “Before You Begin” screen, and “Next” at the “Select installation type”
screen. Be sure the installation type is set to the default “Role-based or feature-based
installation“.
At the “Select destination server” click Next to select your local server.

At the “Server Roles” screen be sure to select “Active Directory Domain Services“, “DHCP“,
and “DNS“. Select “Add Features” for each one and click Next.
Click Next at the “Select Features” screen.
Click Next through the “Active Directory Domain Services“, “DHCP Server” and “DNS
Server” screens. Click “Install” to confirm and begin the roles install.

Once the role features installation begins, do not close the Window. We will select the
“Promote this server to a domain controller” step in a few minutes.

Promote Server to a Domain Controller


While still on the “Add Roles” wizard, select “Promote this server to a domain controller”
option.
Select the “Add a new forest” radio button, specify a non-routable DNS domain name using
the example below such as 1234.local or xxx.local.
At the “Domain Controllers Options” screen leave the Forest and Domain Functional levels
to the default “Windows Server 2016“. In addition, leave the Domain Name System (DNS)
server and Global Catalog (GC) options checked, and enter an administrator for the Directory
Services Restore Mode (DSRM) password. Click Next.
Click Next at the DNS Options screen and DO NOT check the box to create a DNS
delegation.
Click Next at the Additional Options, Paths, Review Options, and Prerequisites Check
screens. Click “Install” to continue.
Once the roles installation is complete, the server will automatically reboot and you will see
the NEW domain login screen.
Install and Configure Reverse DNS Lookup Zone
Now that the Active Directory Services Domain controller is installed, DHCP services are
installed let’s create the Reverse DNS lookup zone for the IPv4 IP subnet we plan to use for
this network and domain. A reverse DNS lookup zone helps with name resolution for IP
address to an A record hostname. Some applications and services will attempt DNS lookups
based on the IP address first.

Launch the DNS Manager tool from “Windows Administrative Tools” > expand your server
> right click on “Reverse Lookup Zones” and select “New Zone“. Click Next at the welcome
screen.
At the “Zone Type” screen leave the default option selected and click Next.

Click Next at the AD Replicate Scope screen and select the “To all DNS servers running on
domain controllers in this domain…“.
Select “IPv4 Reverse Lookup Zone” and click Next.

Reverse Lookup Zone name Network ID should be your environments subnet network. In my
case it’s 10.240.10.
At the Dynamic Update screen click Next, click Finish to complete the wizard. The new
Reverse DNS Lookup zone will be listed and clients will register their IP addresses
automatically in this zone.

Enable and Set DNS Scavenging


Perform the following steps within DNS Manager to enable DNS.

Launch DNS Manager, right-click on your DNS server, select “Set Aging/Scavenging for All
Zones“. Check the box “Scavenge stale resource records” and click Ok to save the changes.
Configure DHCP Server Options and Authorize Server
The final step that needs to be performed is authorizing the DHCP server and creating /
enabling the DHCP client scope.

Launch DHCP Manager from the start menu > Windows Administrative Tools. Exp[and your
DHCP server, right-click on the server name and select “Authorize“. Right-click on the
server again and select “Refresh”. You should see all green check boxes now.
Finally, we can create the DHCP client scope. Right-click on “IPv4” option, select New
Scope, click Next at the welcome screen, provide a name for the DHCP scope and click Next.
Enter the DHCP IP address range using the applicable IP subnet details you have decided to
use. Click Next at the Exclusion and Delay screen, select the default 8 days for lease duration
and click Next.
Click Yes I want to configure these options now on the DHCP options screen.

Click Next through the remaining DHCP scope screens to activate the DHCP client scope.
The AD domain controller is finished, a DNS reverse DNS zone exist and WE now have a
DHCP client scope.

To test, create a client VM for Windows 10 and ensure the network card is using the
“INTERNAL” LAN connection and manually add the PC to the new AD domain
References
Microsoft Security Compliance Toolkit 1.0 – Baseline security group policy reports and
templates for Windows Server and Windows 10.

Windows Server 2016 (or Server 2019) (STIG) Security Technical Implementation Guide.

You might also like