Step by step instruction to add the server to a domain.
Prerequisites
Required details for adding a windows server to the domain:
- Windows Server 2022 – computer name.
- Windows Server 2022 – Local Account name and password.
- Windows Server 2022 IP address/Subnet Mask/Default Gateway.
- Active Directory - Primary and Secondary DNS IP address.
- Active Directory – domain name or Primary DNS name.
- 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.
Prerequisites
Required details for adding a windows server to the domain:
- Windows Server 2022 – computer name.
- Windows Server 2022 – Local Account name and password.
- Windows Server 2022 IP address/Subnet Mask/Default Gateway.
- Active Directory - Primary and Secondary DNS IP address.
- Active Directory – domain name or Primary DNS name.
- 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.
Powershell command to add the machine to domain
ReplyDeletehttps://www.technovague.co.in/2021/10/powershell-script-to-add-windows-server.html
Delete