Hardware & Network
How to Install Active Directory on Windows Server
Sept 24, 2026•5 min read
🖥️
After understanding the basics of Active Directory, the next step is to install and configure it on a Windows Server. This lesson walks you through the complete process of setting up Active Directory Domain Services (AD DS).
Prerequisites
- Windows Server 2019, 2022, or later
- Static IP address configured on the server
- Administrator privileges
- Proper DNS settings (important for AD)
Step 1: Install the AD DS Role
- Open Server Manager
- Click Manage → Add Roles and Features
- Select Role-based or feature-based installation
- Choose your server
- Check Active Directory Domain Services
- Click Add Features when prompted
- Complete the installation
PowerShell Alternative:
Install-WindowsFeature -Name AD-Domain-Services -IncludeManagementTools
Step 2: Promote the Server to a Domain Controller
- After installation, click the notification flag in Server Manager
- Select Promote this server to a domain controller
- Choose Add a new forest (for a new environment)
- Enter your root domain name (example:
corp.company.local) - Set the Directory Services Restore Mode (DSRM) password
- Keep DNS Server option enabled
- Review the settings and click Install
The server will automatically restart after the process is complete.
Step 3: Verify the Installation
- Open Active Directory Users and Computers (dsa.msc)
- Check that your domain appears correctly
- Verify DNS is working properly
Important Tips
- Always use a static IP address before promoting the server
- Choose a meaningful domain name (avoid using .local if possible in production)
- Deploy at least two Domain Controllers for redundancy
- Store the DSRM password securely
Once Active Directory is installed, you can start creating users, groups, and Organizational Units.
