How to setup active directory

Overview #

Active Directory (AD) is a directory service developed by Microsoft and included in the Windows Server operating systems. It is used for centralized authentication and identity management of users and computers in a corporate environment.

Prerequisites #

  • A Windows Server 2012 or newer operating system.
  • Appropriate server hardware.
  • Access to the server via Remote Desktop.

Installation #

  1. Login to your server via Remote Desktop.
  2. Open Server Manager and click “Add roles and features” on the home screen.
  3. Select “Role-based or feature-based installation” and click “Next” to continue.
  4. Select the server where you want to install Active Directory and click “Next”.
  5. Check the box labeled “Active Directory Domain Services” and click “Next”.
  6. Click “Install” to begin the installation process.

Configuration #

  1. Once the installation is complete, open Server Manager again and select “Promote this server to a domain controller”.
  2. Follow the prompts to create a new forest and domain. Provide the appropriate information such as the forest name, full domain name, parent domain name, and NetBIOS domain name.
  3. Select the Functional Levels for your domain and forest. Make sure to select the highest level available.
  4. Provide a Directory Services Restore Mode (DSRM) password for recovering the domain controller in case of any issues.
  5. Configure the necessary custom settings for the newly created domain. This includes assigning computers to different Organizational Units, creating user accounts, and other settings.

Conclusion #

Once all the prerequisites and configuration steps are completed, you have successfully setup Active Directory on your Windows Server machine.