Posts Tagged ‘install active directory windows server 2022’

Tutorial: Install Active Directory in Windows Server 2022

May 23rd, 2023 by Admin

How can I set up a domain controller for small office? If you want to install Active Directory on Windows Server Core, you need to prepare a PowerShell script and it’s a bit challenging. For Windows Server with desktop experience (GUI), the setup procedure is much easier. In this tutorial we’ll show you how to install Active Directory in Windows Server 2022, and promote it to domain controller.

Part 1: Install Active Directory in Windows Server 2022

Before getting started, give your server a static IP address instead of letting DHCP assign the IP address automatically. Once logged in with the local administrator account, you can install Active Directory by following these steps:

  1. Click the Start button, and then click the “Server Manager” shortcut which should appear in the Start Menu and Live Tiles.

  2. Click the “Add roles and features” option.

  3. When the wizard starts, click Next.

  4. Choose the “Role-based or feature-based installation” type, click Next.

  5. Select the local server where the Active Directory role will be installed, and click Next.

  6. On the Server Roles page, check the “Active Directory Domain Services” role from the list.

  7. When a pop-up window prompts you to include all the necessary tools, click the Add Features button.

  8. You should now see a tickmark next to the “Active Directory Domain Services” role, click Next.

  9. On the Features page, the basic features for required role are already selected by default. Just click Next.

  10. Click Next.

  11. Click Install to confirm and begin the role features installation.

Part 2: Promote Windows Server 2022 to Domain Controller

  1. After the AD DS role is installed, open Server Manager again and you will see a notification flag next to the Manage menu. From there you need to click “Promote this server to a domain controller“.

  2. Choose the “Add a new forest” option, type a root domain name and click Next.

  3. Set up the DSRM password and click Next. DSRM password is used only when you need to boot the server into Directory Services Restore Mode to perform maintenance tasks.

  4. On the DNS Options page, click Next.

  5. The NetBIOS name is generated automatically based on your domain name. Just click Next.

  6. You’ll see the default paths for database, log files and SYSVOL folders. Click Next.

  7. Review your selections and click Next.

  8. A prerequisite check will be performed. If no error is detected, you can click Install to promote your server as domain controller. You server will restart automatically once the installation is complete.

That’s it!