Setup Active Directory on Windows Server 2019

Anmol Ahuja
3 Min Read

Introduction

Setting up Active Directory on Windows Server 2019 is one of the most common tasks for system administrators. Whether you’re building a new lab environment or deploying a production domain, this guide will walk you through the entire process based on real-world experience.

Prerequisites

  • Windows Server 2019 installed and updated
  • Static IP address assigned
  • Server renamed (recommended)
  • Administrative privileges

Step 1: Set a Static IP Address

Before installing AD, assign a static IP to ensure consistent network identity.

Control Panel > Network and Sharing Center > Change adapter settings
Right-click your NIC > Properties > IPv4 > Set static IP

Step 2: Rename Your Server

Give the server a meaningful name like DC01. Reboot after renaming.

sysdm.cpl

Step 3: Install AD DS Role

Open Server Manager:

  1. Click Manage > Add Roles and Features
  2. Choose Role-based or feature-based installation
  3. Select your server
  4. Check Active Directory Domain Services
  5. Proceed through the wizard and install

Add Roles - Active Directory

Step 4: Promote Server to Domain Controller

After installation completes, click the yellow alert in Server Manager: Promote this server to a domain controller.

In the wizard:

  • Select “Add a new forest”
  • Specify root domain name (e.g., infradecoded.local)
  • Set DSRM password (used in recovery)
  • Leave default paths unless needed

Promote to Domain Controller

Step 5: Restart the Server

After the promotion, your server will automatically reboot. When it comes back up, it’s now a Domain Controller.

Step 6: Verify Active Directory

Open these tools to confirm setup:

  • Active Directory Users and Computers
  • DNS Manager
  • Active Directory Sites and Services

You should see your domain and default containers like Users and Computers.

Best Practices

  • Use secure passwords and limit Domain Admin access
  • Regularly back up your AD database
  • Configure a secondary DC for redundancy
  • Enable time synchronization (especially for Kerberos)

FAQ

Q: Can I install AD on a VM?

Absolutely. I recommend using Hyper-V or VMware for testing AD deployments.

One or two domain controllers with proper backup is usually enough for under 100 users.

Q: What if I lose the DSRM password?

You can reset it using ntdsutil from another domain controller with admin rights.

Conclusion

Setting up Active Directory on Windows Server 2019 is straightforward once you’ve done it a couple of times. It’s the backbone of many enterprise networks, so it’s worth learning well.

Need help with DNS, group policy, or user provisioning? Check out our other Windows Server tutorials!

Images © infradecoded.com – Custom screenshots, not for reuse.

Share This Article
Leave a Comment

Leave a Reply

Your email address will not be published. Required fields are marked *