Skip to content

keenannkelly/Configuring-Active-Directory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

Configuring Active Directory Domain Services on Windows Server

A comprehensive guide demonstrating the installation and configuration of Active Directory Domain Services (AD DS) on Windows Server, including domain controller promotion and forest creation.

🎯 Project Overview

This project showcases the complete process of transforming a Windows Server into an Active Directory Domain Controller, demonstrating enterprise-level identity and access management skills essential for IT infrastructure administration.

πŸŽ₯ Video Walkthrough

Watch the complete Active Directory configuration process:

Configuring Active Directory

▢️ Watch the Full Configuration Process

This video demonstrates the complete Active Directory Domain Services installation and domain controller promotion from start to finish.

πŸ—οΈ Architecture

Platform: Windows Server 2025
Service: Active Directory Domain Services (AD DS)
Domain: keenan.local
Forest: New forest creation
Role: Primary Domain Controller

πŸ“‹ Configuration Process

Step 1: Open Server Manager

  • Accessed Windows Server virtual machine via RDP
  • Launched Server Manager application
  • Server Manager typically opens automatically on login
  • Dashboard provides centralized server management interface

Purpose: Server Manager is the central hub for managing Windows Server roles and features.

Step 2: Add Roles and Features

  • Located "Manage" menu in Server Manager
  • Selected "Add Roles and Features"
  • Initiated the Add Roles and Features Wizard
  • Prepared for Active Directory installation

What this does: Launches the wizard to install server roles and features.

Step 3: Select Installation Type

  • Chose "Role-based or feature-based installation"
  • Selected target server from server pool
  • Clicked "Next" to proceed
  • Confirmed server selection

Installation Types:

  • Role-based: Install roles and features on a single server
  • Remote Desktop Services: Configure RDS deployment
  • VHD-based: Install on virtual hard disk

Step 4: Choose Active Directory Domain Services

  • From the Server Roles list, selected "Active Directory Domain Services"
  • System prompted to add required features
  • Clicked "Add Features" to include management tools
  • Confirmed AD DS role selection

Included Components:

  • Active Directory Domain Services
  • Group Policy Management
  • Active Directory Administrative Center
  • DNS Server (automatically added)

Step 5: Complete the Installation Wizard

  • Reviewed Features page (default selections)
  • Reviewed AD DS information page
  • Confirmed installation selections
  • Clicked "Next" through remaining pages
  • Reached "Confirmation" page
  • Clicked "Install" to begin installation

Installation Process:

  • Copies necessary files
  • Registers services
  • Configures system components
  • Prepares for domain controller promotion

Step 6: Installation Completion

  • Monitored installation progress bar
  • Waited for "Installation succeeded" message
  • Verified successful installation status
  • Noted post-deployment configuration notification
  • Closed installation wizard

Status Check: Installation completes but server is not yet a domain controller.

Step 7: Promote Server to Domain Controller

  • Located yellow notification flag in Server Manager
  • Clicked on "Promote this server to a domain controller" link
  • Launched Active Directory Domain Services Configuration Wizard
  • Began domain controller promotion process

Critical Step: This transforms the server from a member server to a domain controller.

Step 8: Create a New Forest

  • Selected deployment operation: "Add a new forest"
  • Entered Root domain name: keenan.local
  • Validated domain name format
  • Clicked "Next" to proceed

Domain Naming:

  • Used .local TLD for internal network
  • Format: [name].local (e.g., keenan.local)
  • Avoid using public domain names for internal AD

Step 9: Set Domain Controller Options

  • Forest functional level: Windows Server 2016 (or latest)
  • Domain functional level: Windows Server 2016 (or latest)
  • Domain Controller capabilities:
    • βœ… Domain Name System (DNS) server
    • βœ… Global Catalog (GC)
  • Created Directory Services Restore Mode (DSRM) password
  • Entered strong, secure password
  • Confirmed password

DSRM Password: Critical for disaster recovery - store securely!

Step 10: DNS Options and NetBIOS

  • DNS Options: Reviewed DNS delegation warning (expected for new forest)
  • Additional Options: Verified NetBIOS domain name (auto-generated: KEENAN)
  • Paths: Accepted default locations for:
    • Database folder: C:\Windows\NTDS
    • Log files folder: C:\Windows\NTDS
    • SYSVOL folder: C:\Windows\SYSVOL

Step 11: Review Selections

  • Reviewed complete configuration summary
  • Verified all settings:
    • Forest name: keenan.local
    • Domain name: keenan.local
    • NetBIOS name: KEENAN
    • Functional levels
    • DNS configuration
  • Clicked "Next" to proceed

Prerequisites Check: System automatically validates requirements.

Step 12: Install Domain Controller

  • Reviewed prerequisites check results
  • Verified all checks passed (green checkmarks)
  • Clicked "Install" to begin promotion
  • Monitored installation progress
  • Waited for completion message

Installation Actions:

  • Configures Active Directory database
  • Creates SYSVOL structure
  • Configures DNS zones
  • Establishes domain controller role

Step 13: Restart the Server

  • System automatically initiated restart
  • Server rebooted to apply changes
  • Waited for server to come back online
  • Reconnected via RDP after restart

Post-Restart: Server is now a fully functional domain controller!

πŸ”§ Technical Specifications

Active Directory Configuration

Forest Name:              keenan.local
Domain Name:              keenan.local
NetBIOS Name:             KEENAN
Forest Functional Level:  Windows Server 2016+
Domain Functional Level:  Windows Server 2016+
Domain Controller:        Primary DC
DNS Server:               Integrated
Global Catalog:           Yes

Server Roles Installed

  • Active Directory Domain Services - Core AD functionality
  • DNS Server - Name resolution for domain
  • File Replication Service - SYSVOL replication
  • Kerberos Key Distribution Center - Authentication

Default Organizational Units Created

- Domain Controllers
- Users
- Computers
- Builtin
- ForeignSecurityPrincipals
- Managed Service Accounts
- Program Data

πŸ” Security Configuration

DSRM Password

  • Purpose: Restore Mode administrator password
  • Usage: Disaster recovery and offline maintenance
  • Best Practice: Store securely, document separately
  • Requirement: Strong, complex password

Administrator Account

  • Username: Administrator@keenan.local
  • Domain: KEENAN\Administrator
  • Purpose: Domain administrative access
  • Security: Change default password immediately

Default Security Groups Created

- Domain Admins
- Enterprise Admins
- Schema Admins
- Domain Users
- Domain Computers
- Group Policy Creator Owners

πŸ› οΈ Post-Installation Tasks

Immediate Actions

1. βœ… Verify DNS configuration
2. βœ… Create Organizational Units (OUs)
3. βœ… Create user accounts
4. βœ… Configure Group Policy Objects (GPOs)
5. βœ… Set up backup strategy
6. βœ… Configure time synchronization
7. βœ… Document DSRM password securely

DNS Verification

# Check DNS server status
Get-DnsServer

# Verify DNS zones
Get-DnsServerZone

# Test DNS resolution
nslookup keenan.local

Active Directory Verification

# Check domain controller status
Get-ADDomainController

# Verify domain information
Get-ADDomain

# Check forest information
Get-ADForest

# List domain users
Get-ADUser -Filter *

# Verify SYSVOL replication
Get-SmbShare

πŸ“Š Active Directory Components

Domain Services

  • Authentication - Kerberos and NTLM
  • Authorization - Access control and permissions
  • Directory Services - Centralized object management
  • Group Policy - Centralized configuration management
  • Replication - Multi-master replication between DCs

Integrated DNS

  • Forward Lookup Zones - Name to IP resolution
  • Reverse Lookup Zones - IP to name resolution
  • Dynamic Updates - Automatic DNS record updates
  • Secure Updates - Only domain members can update

πŸŽ“ Skills Demonstrated

Windows Server Administration

  • βœ… Server Manager proficiency
  • βœ… Role and feature installation
  • βœ… Active Directory deployment
  • βœ… Domain controller configuration
  • βœ… DNS integration

Active Directory Expertise

  • βœ… Forest and domain creation
  • βœ… Domain controller promotion
  • βœ… Functional level selection
  • βœ… DSRM configuration
  • βœ… DNS integration

Enterprise IT Skills

  • βœ… Identity and access management
  • βœ… Directory services architecture
  • βœ… Security best practices
  • βœ… Disaster recovery planning
  • βœ… Infrastructure documentation

πŸ”„ Common Administrative Tasks

Creating Organizational Units

# Create OU structure
New-ADOrganizationalUnit -Name "Employees" -Path "DC=keenan,DC=local"
New-ADOrganizationalUnit -Name "IT" -Path "OU=Employees,DC=keenan,DC=local"
New-ADOrganizationalUnit -Name "HR" -Path "OU=Employees,DC=keenan,DC=local"

Creating User Accounts

# Create new user
New-ADUser -Name "John Doe" `
           -GivenName "John" `
           -Surname "Doe" `
           -SamAccountName "jdoe" `
           -UserPrincipalName "jdoe@keenan.local" `
           -Path "OU=IT,OU=Employees,DC=keenan,DC=local" `
           -AccountPassword (ConvertTo-SecureString "P@ssw0rd123!" -AsPlainText -Force) `
           -Enabled $true

Creating Security Groups

# Create security group
New-ADGroup -Name "IT Admins" `
            -GroupScope Global `
            -GroupCategory Security `
            -Path "OU=IT,OU=Employees,DC=keenan,DC=local"

# Add user to group
Add-ADGroupMember -Identity "IT Admins" -Members "jdoe"

🚨 Troubleshooting Guide

DNS Issues

Problem: DNS not resolving domain names

Solutions:

# Restart DNS service
Restart-Service DNS

# Check DNS forwarders
Get-DnsServerForwarder

# Verify DNS zones
Get-DnsServerZone

Replication Issues

Problem: SYSVOL or AD replication failures

Solutions:

# Check replication status
repadmin /replsummary

# Force replication
repadmin /syncall

# Check SYSVOL replication
dfsrdiag ReplicationState

Authentication Issues

Problem: Users cannot log in to domain

Solutions:

# Verify domain controller
dcdiag /v

# Check time synchronization
w32tm /query /status

# Verify Kerberos
klist tickets

πŸ“ˆ Best Practices

Security Hardening

  • βœ… Implement least privilege access
  • βœ… Use separate admin accounts
  • βœ… Enable audit logging
  • βœ… Configure account lockout policies
  • βœ… Implement password complexity requirements
  • βœ… Regular security updates

Backup Strategy

  • βœ… System State backups (includes AD database)
  • βœ… Regular backup schedule
  • βœ… Test restore procedures
  • βœ… Document DSRM password
  • βœ… Offsite backup storage

Monitoring

  • βœ… Event log monitoring
  • βœ… Replication health checks
  • βœ… DNS health monitoring
  • βœ… Performance monitoring
  • βœ… Security audit reviews

🌐 Integration Possibilities

Services That Can Integrate

  • Microsoft Exchange Server - Email services
  • Microsoft SharePoint - Collaboration platform
  • Microsoft SQL Server - Database authentication
  • File Servers - Centralized access control
  • VPN Solutions - Remote access authentication
  • Cloud Services - Azure AD Connect

πŸ’° Enterprise Value

Business Benefits

  • Centralized Management - Single point of user/computer management
  • Security - Unified authentication and authorization
  • Scalability - Supports thousands of users and computers
  • Group Policy - Automated configuration management
  • Single Sign-On - One credential for multiple resources

πŸ“š Additional Resources

πŸ‘¨β€πŸ’» Author

Keenan Kelly

This project demonstrates enterprise-level Windows Server and Active Directory administration skills essential for IT infrastructure management.

πŸ“„ Related Projects


Demonstrating enterprise identity and access management with Active Directory Domain Services

About

My steps for installing and configuring Active Directory Domain Services on Windows Server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published