[Guide] Build a Directory Service Server With Active Directory
[Guide] Build a Directory Service Server With Active Directory
Network Topology
Working Here
Key components:
• Authentication: Verifies user identity using credentials like username and
password.
2. Scalability
It can handle environments ranging from small businesses to multinational
corporations with millions of objects.
1. Domains
o A domain is a logical grouping of objects (users, devices, etc.) that share the
same database and security policies.
4. Objects
5. Groups
8. Trust Relationships
Security Implications
Active Directory is often a prime target for attackers due to its central role in managing
network resources. Misconfigurations or vulnerabilities can lead to significant security
risks.
o Lateral Movement: Once inside, attackers can move through the network
using AD to identify valuable targets.
Select “Disk 0 Unallocated Space” “Create Partition”. Use the default “Size in MB”
setting “Apply. Wait for three partitions to show up.
Select Disk 0 Partition 3 (with the largest free space). Select “Install”. Wait for Windows Server
2025 to fully install. The VM should restart.
Step 2
Set a password for the default Administrator account. Password is (@Deeboodah1!)
� Refer to the “Project Overview” guide for more information on default usernames and
passwords.
The login screen will appear.
After signing in, you should see “Server Manager” Window. You can exit out of the dialog
box to try Azure Arc.
Disable Default Logoff
The default time for signing out of Windows Server 2025 is 5 minutes. Let’s change this.
Lookup “Settings” in the Search bar “System” “Power” Select the toggle under
“Screen timeout” Select “Never”.
Navigate to the following folder tree Look for “Interactive logon…” Toggle from
Disabled to Enabled “Apply” “OK”.
Assign Static IP Address
� Before You Start: Make sure Windows Server 2025 (project-x-dc) is running.
Step 1
Navigate to the Control Panel (Shortcut: Windows+X).
A window will pop-up with a computer icon named “Ethernet”. Right-click this icon
“Properties”.
Another box will open (yay for all the boxes we must click through �). Select “Internet
Protocol Version 4 (TCP/IPv4) “Properties”.
• IP address: 10.0.0.05
• Subnet mask: 255.255.255.0
• Default gateway: 10.0.0.1
� Refer to the “Project Overview” guide for more information on hostname addressing.
Promote Active Directory to a Domain Controller
Step 1
Go back to “Server Manager” “Add roles and features”.
Select “Next” for the next 3 boxes.
Select “Active Directory Domain Services)”, “DHCP Server”, “DNS Server”, File and Storage
Services” and “Web Server (IIS)”.
Leave the defaults, select “Next”.
Select “Next” until you get to the Confirmation tab. Select “Install”.
You can close the dialogue box while the features are installed.
You will see a message in the notifications section of “Server Manager” when all of the
features have been installed.
A message notification will appear for configuring Active Directory, Select “More”.
Select “Add a new forest”. Then enter a root domain name, corp.project-x-dc.com.
Leave the default options, for the Directory Services Restore Mode (DSRM) password, use
the Administrator password (@Deeboodah1!). Select Next.
Leave the “Create DNS delegation” box blank “Next”.
Leave the NetBIOS CORP, proceed with all other defaults until getting to the check screen.
A few checks will be run through. Allow the wizard to finish, then select “Install”. Let the
server restart.
Get-ADDomainController
Setup DNS For Internet Access
Step 1
ping google.com
nslookup corp.project-x-dc.com
Setup DHCP
Step 1
Add project-x-scope.
Enter the following addresses for leasing. Select “Next”. And
� Refer to the “Project Overview” guide for more information on default usernames and
passwords.
Select “User cannot change password” “Next”. Run through all default configuration settings.