Active Directory: How to Install and Configure It

Hiệp Cao · Updated Nov 19, 2026

Active Directory: Hướng dẫn cài đặt và cấu hình chi tiết

Active Directory is a key technology for managing computer networks, helping organisations organise and manage users, computers and other resources across a large network. This article explains in detail how to install and configure Active Directory so you can deploy and manage an efficient network environment.

Quick answer: Active Directory (AD DS) is Microsoft’s directory service for centrally managing users, computers and policies on a Windows network. Basic installation of a domain controller: (1) give the server a static IP and a name; (2) Server Manager > Add Roles and Features > select Active Directory Domain Services (and DNS); (3) after installation, click the notification flag > Promote this server to a domain controller; (4) choose Add a new forest, enter the domain name (for example ad.company.com, a subdomain of a domain you own) and set the DSRM password; (5) keep the DNS and NetBIOS defaults > Next > Install, and the server restarts automatically. Then use Active Directory Users and Computers to create OUs, users and groups, and Group Policy to apply policies. Have at least two domain controllers for redundancy.

The content of the article

What is Active Directory?

Active Directory (AD) is a Microsoft service for managing resources on a Windows network. First released with Windows 2000 (development began in the late 1990s), it lets administrators manage users, computers and other devices centrally and securely.

History: from Windows NT domains to a modern architecture

Active Directory grew out of Windows NT domains, a basic system for managing users and computers. Since then it has developed significantly and become a core part of Windows Server.

Core components: domain controllers, objects and schema

Active Directory consists of domain controllers, which store user data and policies; objects, which represent resources such as users, computers and groups; and the schema, which defines the structure of data in AD.

Benefits for businesses

Active Directory brings more efficient user management, stronger security through access control, and easy scalability as the business grows.

Compared with other user management solutions

Active Directory stands out for centralised management and tight integration with other Microsoft services; many businesses now combine it with Microsoft Entra ID for cloud identity.

Checklist: prepare before installing Active Directory

System requirements

Make sure the server meets the minimum hardware and software requirements and runs a supported version of Windows Server (2019, 2022 or 2025).

Set a static IP address for the domain controller

A static IP is essential so the domain controller is always reachable on the network and DNS records stay correct.

Choose a deployment model: single domain, multiple domains or forest

A single domain suits most small and medium businesses; multiple domains or forests are for larger organisations with special separation needs.

Plan the domain name and OU structure

Choose a domain name (ideally a subdomain of a domain you own, such as ad.company.com) and plan the organisational unit structure to organise resources effectively.

Secure the local administrator account

Before installing AD, set a strong password for the local Administrator account, which becomes the domain administrator when you create a new forest.

Step-by-step: installing Active Directory on Windows Server

Step 1: Install the Active Directory Domain Services (AD DS) role

Open Server Manager, choose Add Roles and Features and select Active Directory Domain Services.

Step 2: Run the AD DS configuration wizard

After installation, click the notification flag and choose Promote this server to a domain controller to start the wizard.

Step 3: Set the domain name and functional levels

Enter the domain name and choose the forest and domain functional levels, which determine which features the domain supports.

Step 4: Specify database, log and SYSVOL folders

Specify where the AD database, logs and SYSVOL are stored (the defaults are fine in most cases).

Step 5: Set the Directory Services Restore Mode (DSRM) password

Set a strong DSRM password, used to recover AD when needed, and store it securely.

Step 6: Review and complete the installation

Review the settings, run the prerequisite check and click Install. The server restarts and becomes a domain controller.

Configuring Active Directory for performance and security

Create and manage organisational units (OUs)

OUs organise users and computers so you can manage permissions and policies for each group easily.

Create and manage user accounts and groups

Create users and groups to manage access and permissions across the organisation, assigning permissions to groups rather than individuals.

Configure Group Policy Objects (GPOs)

Use Group Policy to apply security and configuration settings to users and computers in the domain consistently.

Set up AD-integrated DNS

DNS is critical in an AD environment. AD-integrated DNS ensures computers can find domain controllers and each other.

Configure DHCP

Configure a DHCP server to assign IP addresses automatically, pointing clients to the domain controllers for DNS.

Enable the Active Directory Recycle Bin

Enable the AD Recycle Bin so you can easily restore deleted objects when needed.

Managing Active Directory

Back up and restore Active Directory

Back up domain controllers (system state) regularly so you can recover AD after an incident. This is critical.

Monitor performance

Monitor AD health and performance to detect and fix problems early, using monitoring tools and event logs.

Check and fix replication

Check replication between domain controllers with repadmin and dcdiag, because failed replication causes many other problems.

Apply security updates

Patch domain controllers regularly to protect against threats.

Maintain the AD database

Clean up stale accounts and objects regularly to keep the directory tidy and efficient.

Troubleshooting common problems

DNS errors

DNS errors are the most common issue. Check the DNS settings on domain controllers and make sure clients use the domain controllers as their DNS servers.

Replication errors

Replication can fail for many reasons. Check network connectivity between domain controllers and that they can communicate (dcdiag, repadmin /replsummary).

Cannot join the domain

Check that the account used has permission to join computers, that the client uses the correct DNS server and that the network configuration is correct.

Summary and next steps

Active Directory is a powerful tool for managing network resources. Installed and configured correctly, it lets you make full use of its features. Keep learning and practising to master it. For Active Directory deployment and administration for your business, contact IT Systems at hotline 028.3995.03.59 or contact@itsystems.com.vn.

FAQ

At what size should a business deploy Active Directory?

From about 15–20 PCs, central accounts, permissions and policies save much time; cloud-only businesses can use Microsoft Entra ID.

Do we need two domain controllers?

At least two is recommended; if the only one fails, users may be unable to sign in or reach resources.

How do Active Directory and Microsoft Entra ID differ?

AD runs on internal servers managing PCs and network resources; Entra ID is the cloud identity service for Microsoft 365 and SaaS apps. They can be synced.

Need someone to run your servers, NAS and systems?

IT Systems manages servers, NAS, cloud, backup and user accounts on a schedule, with a monthly operations report.

IT system management services · Call +84 28 3995 0359

Request adviceChat on ZaloCall hotline