Join Windows Server Core to Active Directory Domain

preview_player
Показать описание
In this video, I'll show you how to join a Windows server core machine to an Active Directory domain.

Chapters
---------------
00:00 - Introduction
00:39 - Join a Windows Server Core to AD domain using SCONFIG
05:22 - Join a Windows Server Core to AD domain using PowerShell
09:03 - Join a Windows Server Core to AD domain using Command Prompt

To know the hostname of the computer from command prompt/PowerShell:-
[Environment]::MachineName
hostname

To change the computer name using PowerShell:-
Rename-Computer -NewName SRV05 -Restart

To determine the interface index or alias of particulate network adapter using PowerShell: -
Get-NetIPInterface

To set the IP address, subnet mask, default gateway using the interface index in PowerShell: -
New-NetIPAddress -InterfaceIndex 6 -IPAddress 192.168.0.65 -PrefixLength 24 -DefaultGateway 192.168.0.1

To set the DNS Server IP address using the interface index in PowerShell:-
Set-DNSClientServerAddress –InterfaceIndex 6 -ServerAddresses 192.168.0.50,192.168.0.4

To join a computer to an AD domain using PowerShell:-

To confirm the domain name of Server Core:-
Get-ComputerInfo | select CsDomain

To restart a computer in PowerShell:
Restart-Computer

To know the IP configuration of a computer using Command Prompt:-
ipconfig /all

To rename a computer using Command Prompt:-
wmic computersystem where caption="%computername%" rename "SRV05"

To restart a computer using Command Prompt:-
shutdown -r -t 00

To determine the interface name of particulate network adapter using Command Prompt: -
netsh int show interface

To set the IP address, subnet mask, default gateway using the interface name in Command Prompt: -
netsh int ipv4 set address name="Ethernet" static 192.168.0.65 255.255.255.0 192.168.0.1 1

To set the primary DNS Server IP address using the interface name in Command Prompt:-
netsh interface ipv4 set dnsserver name="Ethernet" static 192.168.0.50 primary validate=no

To set the secondary DNS Server IP address using the interface name in Command Prompt:-
netsh interface ipv4 add dnsserver "Ethernet" 192.168.0.4 index=2 validate=no

To join a computer to an AD domain using Command Prompt:-

To confirm the domain name of Server Core:-
systeminfo | findstr /b “Domain”
Рекомендации по теме
Комментарии
Автор

@4:37 - it's asking to change the machine name? not to reboot.
so you should select "N" for no, because you change the name before.

fbifido
Автор

@6:10 - if DHCP is enabled, why did it not get an ip-address ???

fbifido
Автор

I did all step but my server core said The domain does not exist or contacts, Why?, Thanks.

ZTsarmadOne
Автор

This tutorial is not a tutorial for a beginning because it is very fast and no explanation why he makes this things...

Fabu