← Back to list

Windows Server 2022 Active Directory Domain Controller Setup with Static IP Configuration

Introduction

Shivanizalavadiya · 2026-05-22 15:37 · 100 claps · 6.7 min read
#blue-team #windows-server-2022 #active-directory #domain-controller #lab-setup
Open on Medium ↗
Wiki topics: 🎬 · Film & Television

Windows Server 2022 Active Directory Domain Controller Setup with Static IP Configuration

Introduction

This report explains the complete setup process of Active Directory Domain Services (AD DS) on Windows Server 2022 for a SOC lab environment. The setup includes changing the server name, assigning a static IP address, installing AD DS, promoting the server to a Domain Controller, and creating domain users. These configurations are important for centralized authentication, user management, DNS services, and stable communication between Windows, Kali Linux, Ubuntu, and other client systems connected in the lab.

Index

  1. Change Server Name

  2. Configure Static IP Address

  3. Install Active Directory Domain Services (AD DS)

  4. Promote Server to Domain Controller

  5. User Creation in Active Directory

  6. Conclusion

1. Change Server Name

· Open Server Manager

Server Manager was opened to access the local server configuration settings. Changing the default server name helps identify the machine easily in the network and is considered a best practice in enterprise environments.

· Rename the Server

After changing the server name, the system was restarted to apply the changes successfully. The updated server name “Win2022Server” can be seen in the screenshot below.

The computer name was modified according to the lab environment requirement. A meaningful server name makes administration, monitoring, and troubleshooting easier when multiple systems are connected in the SOC lab.

· Restart the Server

After changing the computer name, the server was restarted so the new name could be applied successfully across the operating system and network services.

2. Configure Static IP Address

· Importance of Static IP Address

o Ensures reliable communication between servers and client systems.

o Active Directory requires a permanent IP address for authentication services.

o Improves DNS performance and stability.

o Prevents connectivity issues caused by changing IP addresses.

o Simplifies remote management and administration.

o Provides consistent security monitoring and logging.

o Required for critical services like AD DS, DNS, DHCP, and SIEM tools.

o Allows Kali Linux, Ubuntu, and Windows clients to connect reliably in the SOC lab.

o Supports stable Group Policy and domain services.

o Considered a best practice in enterprise server environments.

· Check Current Network Configuration

The ‘ipconfig’ and ‘ipconfig /all’ commands were executed in Command Prompt to view the current IP address, DNS configuration, DHCP status, and network adapter details.

Now type command ipconfig /all

· Identify Available IP Address

The command ‘arp -a | more’ was used to view reserved IP addresses in the subnet. This helped avoid IP conflicts while selecting a new static IP address for the server.

· Assign Static IP Address

The IP addresses 10.0.2.2 and 10.0.2.255 were identified as reserved within the subnet. Therefore, the available IP address 10.0.2.17 was selected and assigned as the static IP address for the server.

The IP address 10.0.2.17 was manually configured through IPv4 settings. A static IP address is required because Active Directory and DNS services depend on stable and consistent network communication.

Navigate to Control Panel → Network and Internet → Network and Sharing Center → Change Adapter Settings to access and configure the network adapter settings.

Open the Ethernet adapter settings, right-click on the Ethernet connection, and select “Properties” to configure the network settings.

Double Click on ipv4.

The static IP address 10.0.2.17 was configured along with the subnet mask 255.255.255.0. The default gateway was also set as the preferred DNS server, and an additional Google DNS server IP address was configured to ensure reliable network and internet connectivity. After entering all the values, click “OK” to save the settings.

Next, execute the “ipconfig” command to verify and confirm the newly assigned IP configuration.

Next, verify the internet connectivity by running the command “ping youtube.com”. A successful response indicates that the internet connection is working properly.

The PC is now configured with a static IP address, meaning the IP will remain unchanged even after the system is restarted.

3. Install Active Directory Domain Services (AD DS)

· Open Add Roles and Features Wizard

Server Manager was used to launch the ‘Add Roles and Features’ wizard, which allows administrators to install server roles and management features.

· Select Role-Based Installation

The Role-based or Feature-based installation option was selected because AD DS needs to be installed directly on the current Windows Server system.

· Select Active Directory Domain Services

The AD DS role was selected from the server roles list. This role provides centralized authentication, authorization, user management, and domain services for the organization.

· Install Required Features

Windows automatically selected the required management tools and supporting features needed for Active Directory Domain Services to function properly.

The installation process was completed successfully, and the server became ready for Domain Controller promotion.

4. Promote Server to Domain Controller

· Promote Server to Domain Controller

After installing AD DS, the server was promoted to a Domain Controller. A Domain Controller manages authentication, policies, users, and devices within the domain.

· Creating a New Forest

A new Active Directory forest was created because this was the first Domain Controller in the environment. The forest acts as the top-level container for all domain objects.

Domain name: shivanicompany.com

· Configure Root Domain Name

A root domain name was entered to establish the identity of the Active Directory environment. This domain name will be used by all connected users and systems.

Click on next and then install.

· Install and Restart

The installation wizard validated all configurations before completing the setup. The server restarted automatically after successful Domain Controller installation.

· DNS Configuration

During the domain controller setup, the DNS role was automatically installed and configured.

o DNS service used for domain name resolution

o All domain clients rely on this server (10.0.2.17) for authentication

o Ensures proper communication between systems

· Login Using Domain Environment

After restart, the login screen changed to the domain-based authentication screen, confirming that the server was successfully configured as a Domain Controller.

5. User Creation in Active Directory

· Open Active Directory Users and Computers

This administrative tool was used to manage users, groups, computers, and other objects inside the Active Directory environment.

Click on “Active Directory User and Computers”.

· Create New User Accounts

New domain users were created for authentication and access management purposes. These users can now log in to systems connected to the domain.

· Configure User Passwords

Passwords were assigned to the user accounts to ensure secure authentication and controlled access to network resources.

· Verify User Creation

The created users were verified successfully within the Active Directory console, confirming proper account creation and domain integration.

At the end of this phase:

• The Domain Controller was fully operational

• Active Directory and DNS were configured

• Users were successfully created

• The environment was ready for client integration

6. Conclusion

The Windows Server 2022 system was successfully configured with Active Directory Domain Services and promoted to a Domain Controller. A static IP address was assigned to provide stable communication, and domain user accounts were created successfully. This setup creates a strong foundation for centralized authentication, device management, security policy enforcement, and secure communication within the SOC lab environment. The configured environment can now be integrated with Windows clients, Kali Linux, Ubuntu, Wazuh, and other cybersecurity tools for further lab implementation and monitoring.

Hacker4help Amish Patel Keyur Rey Patel


메타데이터
post_id
600f06a2f330
slug
windows-server-2022-active-directory-domain-controller-setup-with-static-ip-configuration-600f06a2f330
url
https://medium.com/@shivanizalavadiya/windows-server-2022-active-directory-domain-controller-setup-with-static-ip-configuration-600f06a2f330
canonical_url
https://medium.com/@shivanizalavadiya/windows-server-2022-active-directory-domain-controller-setup-with-static-ip-configuration-600f06a2f330
author_url
https://medium.com/@shivanizalavadiya
status
ok
fetched_at
2026-06-20 20:29:01