How to add Windows Server 2022 to a Active directory domain

Step by step instruction to add the server to a domain.

Prerequisites

Required details for adding a windows server to the domain:

  1. Windows Server 2022 – computer name.
  2. Windows Server 2022 – Local Account name and password.
  3. Windows Server 2022 IP address/Subnet Mask/Default Gateway.
  4. Active Directory - Primary and Secondary DNS IP address.
  5. Active Directory – domain name or Primary DNS name.
  6. Domain Admin privilege. 

 

Note: IP address details are not required, if you are not using the static IP.

 

 Adding Windows Server 2022 to the Active directory domain

Assign the preferred DNS server address initially to recognize the domain and the network.

Go to Start - Run - type “ncpa.cpl” and press enter to open the network connections window.

Right Click on the Ethernet port (online or connected) - Properties.

Click on the IPv4 à Click Properties to open the property window to assign the IP address.

DHCP setting “Obtain an IP address automatically” to assign the IP address without filling the details – address will be obtained directly from the DHCP server.

Select “Use the following DNS server addresses” and provide the domain controller or DNS server name to identify the network and domain which we going to join the server.

Note: To identify the network one DNS server IP address is enough to join the machine to the network.

Click Ok to apply the changes.

Go to Start à Run à type “sysdm.cpl” and press enter to open the System properties.

Go to the tab “Computer Name” and Click “Change” option.

Enter the “Computer name” and Select “domain” option to enter the domain name or Primary DNS name to join the server in the active directory and Click ok.

Enter the domain administrator username and password to join the machine to the domain.

Click ok and restart the server.

Login with your domain account.

Comments

  1. Powershell command to add the machine to domain

    ReplyDelete
    Replies
    1. https://www.technovague.co.in/2021/10/powershell-script-to-add-windows-server.html

      Delete

Post a Comment