W2k8 R2 – Core – ADDS
Thursday, October 29th, 2009Configure a static IP address
list the interfaces
netsh interface ipv4 show interfaces
3 5 1500 connected Local Area Connection
1 50 4294967295 connected Loopback Pseudo-Interface 1
netsh interface ipv4 set address “Local Area Connection” static 10.10.10.2 255.255.255.0 10.10.10.1 1
to add DNS Server
netsh interface ipv4 add dnsserver “Local Area Connection” 10.10.10.1 index=1
verify the config & determine the current hostname
ipconfig /all
rename it
netdom renamecomputer <CurrentName> /NewName:ad01
restart it
shutdown /r /t 0
enable remote managment using a MMC
netsh advfirewall firewall set rule group=”Remote Administration” new enable=yes
IPv6 – disable it or use it !!
regedit
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters\
add the DWORD-32Bit (even in 64Bit W2K8) –> DisabledComponents with Hex 0xFFFFFFFF
In Windows 2008 R2 you can use Sconfig.cmd to to all this “a easy way”.
add a product key
slmgr.vbs -ipk XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
a poput let you know if the key is successfuly added !
activate the server
slmgr.vbs -ato
If activation is successful, no message will return in the cmd
Setup the first DC in a new Forest
enable features we need
Dism /online /enable-feature /featurename:NetFx2-ServerCore
Dism /online /enable-feature /featurename:NetFx3-ServerCore
Dism /online /enable-feature /featurename:DirectoryServices-DomainController-ServerFoundation
Promote the first DC in a new forest
create an unattend file on C: named dc1_una.txt
C:\Users\Administrator> notepad c:\dc1_una.txt
[DCInstall]
ReplicaOrNewDomain=Domain
NewDomain=Forest
NewDomainDNSName=halli.local
DNSOnNetwork=No
ForestLevel=4
DomainLevel=4
DomainNetbiosName=HALLI
ConfirmGc=Yes
InstallDNS=Yes
SafeModeAdminPassword=securePa$$2008
DatabasePath=C:\Windows\NTDS
LogPath=C:\Windows\NTDS
SYSVOLPath=C:\Windows\SYSVOL
RebootOnCompletion=Yes
start the promotion
C:\Users\Administrator> dcpromo /unattend:c:\dc1_una.txt