Setting up Active Directory is a delicate process and this article offers a complete step by step guide on how to set it up on a **Windows Server 2022** machine.
- Microsoft Azure Account
- Windows Server ISO file Download Link
- VirtualBox
- Minimum Hardware (8GB RAM)
Let's define what is a hybird identity.
Hybrid Identity is the process of connecting your on-premises Active Directory with your Azure Active Directory. You do this to enable a single account to have access to resources on-premises and in the cloud.
- Password Hash Synchronization (PHS)
- Pass-through Authentication (PTA)
- Federated authentication
To install Active Directory Domain Services (ADDS) on a Windows Server 2022, follow these steps:
- Log in to your Windows Server 2022 as an administrator.
- Open the Server Manager by clicking on the Server Manager icon on the taskbar, or by typing "Server Manager" in the Start menu.
- In the Server Manager, click on the "Add roles and features" option in the dashboard.
- In the "Add Roles and Features Wizard," click "Next" on the Before You Begin page.
- On the "Installation Type" page, select "Role-based or feature-based installation," and click "Next."
- On the "Server Selection" page, select the server you want to install ADDS on, and click "Next."
- On the "Server Roles" page, select "Active Directory Domain Services," and click "Add Features" when prompted to add required features.
- On the "Features" page, click "Next" without selecting any additional features.
- On the "AD DS" page, review the information, and click "Next."
- On the "Confirmation" page, review your selections, and click "Install" to start the installation.
- Wait for the installation to complete, and then click "Close" on the "Results" page.
- After the installation completes, you will see a notification to complete the AD DS Configuration Wizard. Click on "Promote this server to a domain controller" link to open the wizard.
- In the wizard, select "Add a new forest" and enter the root domain name, and follow the prompts to configure the domain and the directory services.
- When the configuration is complete, click "Finish" to close the wizard.
- Reboot your server to complete the installation.
To install Remote Server Administration Tools (RSAT) on a member server, follow these steps:
- Log in to your Windows Server 2022 as an administrator.
- Join your Staging Server to existing domain.
- Restart your server after joining the domain and login with Domain Admin account.
- Open PowerShell as an administrator.
- Run the following command to install the RSAT tools for Active Directory Domain Services: Install-WindowsFeature RSAT-ADDS -IncludemanagementTools
- Install Azure AD Connect Agent on this server
- Follow the steps from Microsoft official documentation
To install Remote Server Administration Tools (RSAT) on a member server, follow these steps:
- Log in to your Windows Server 2022 as an administrator.
- Join your Staging Server to existing domain.
- Restart your server after joining the domain and login with Domain Admin account.
- Open PowerShell as an administrator.
- Run the following command to install the RSAT tools for Active Directory Domain Services: Install-WindowsFeature RSAT-ADDS -IncludemanagementTools
- Install Azure AD Connect Agent on this server
- Follow the steps from Microsoft official documentation