core dcs
TRANSCRIPT
-
7/30/2019 Core Dcs
1/11
Concentrated
ServerCoreDomainControllers
ByDonJonesConcentratedTech.com
WindowsServer2008sServerCoreinstallationoptionisagreatoptionfordomain
controllers:Theoperatingsystemhasasmallerfootprintandhassofarrequired
significantlyfewerpatchesthanthefullWindowsinstallation,makingitpossibletohavelessdowntimeandmaintenanceforyourcriticalDCs.Inthispaper,wellinstall
aServerCoredomaincontrollerfromscratch.
StartingtheInstallationTheinstallationbegins,ironically,withthelightweightGUIinstallerthatsfamiliar
toalleditionsofWin2008andtoWindowsVista.SelectoneoftheServerCoreoptions.Notethatthisisaonetimedecision:Youcantlaterupgradetothefull
Windowsinstallation,norcanyoudowngradeafullinstalltoServerCore.
Thatsabouttheonlydecisionyouhaveduringinstallation.Whenitsfinished,youll
belookingatalogonscreenandmightbewonderingwhattodo.SelecttheOther
-
7/30/2019 Core Dcs
2/11
UserandloginasAdministrator.Useablankpassword;youllbeimmediately
promptedtocreateanewpassword.
Afterchangingthepassword,youllbeloggedinandstaringatyournew,trimmed
downdesktop.Thatsrightnotmuchtosee!ThisisServerCore,andithasonlya
fewgraphicalelementsavailabletoit.Togetitupandrunning,youllneedtoruna
fewcommands.
-
7/30/2019 Core Dcs
3/11
Manyofthesewillbecommandsyourefamiliarwithalready;othersarenewandareuniquetoServerCore.
BasicConfigurationSincewerebuildingaDC,youllprobablywanttostartbyassigningastaticIP
address.DosousingtheNetshcommand,asshown,togetalistofnetwork
interfaces.UsethenumberintheIdxcolumntorefertotheinterfaceinlater
commands.
-
7/30/2019 Core Dcs
4/11
Withyournetworkadapteridentified,assignastaticIPaddress,subnetmask,and
defaultgatewayusingtheNetshcommand.TheName=parameteriswhereyourchosenadaptersIDnumbergoes.
-
7/30/2019 Core Dcs
5/11
UsethesametechniquetoassignaDNSserver.Toassignmorethanone,incrementtheindex=parameteryoucanseeherethatIveattemptedtoaddindex=1twice,andgotanerrormessage.Ipconfig/allwillconfirmthatyouveaddedthecorrect
serveraddress.
ActivatingWindowsServerCorestillrequiresactivation,whichisatwostepprocessthatusestheSlmgr
command.First,installaproductkey.Then,activateWindows.NotethatServer
Coreiscompatiblewithenterprisekeyserversifyourorganizationusesoneof
those.RunSlmgrwithoutanyparameterstogetapopupdialogboxofotherthings
itcando;notethatthedialogoftenappearsbehindthecommandlinewindow,andtheresnoTaskBartoclueyouin.Ifthecommandsoutputdoesntshowupquickly,
trymovingtheCmd.exewindowoutoftheway.Dontcloseitifyoudo,pressCtrl+Alt+DeletetogettoTaskmanager,andusetheNewTaskmenuoptiontoruna
newinstanceofCmd.exe.
-
7/30/2019 Core Dcs
6/11
Afterinstallingthekey,activateit.Thiscantakesometimewaitforthedialogbox
indicatingsuccessorfailure,anddontforgetthatitmightappearbehindtheCmd.exewindow.
-
7/30/2019 Core Dcs
7/11
CustomizetheServerYoullprobablywanttocustomizethecomputernameatthispoint.Usethe
hostnamecommandtofindthecurrentcomputername,andthentheNetdom
commandtochangeittoanewone.
Sincearebootwillberequiredafterwards,usetheShutdown/rcommandto
reboot.
-
7/30/2019 Core Dcs
8/11
InstallingRolesIgenerallyliketoinstalltheDNSServerrolemyself,sothatIcancustomizeit.After
installing,youllneedtousetheDNSadministrationconsoleonanothercomputer
(suchasyourworkstation)toconnecttotheServerCorecomputerandconfigure
DNS.ServerCoredoesntrunanygraphicaladmintools.Youcouldalsousethe
DnscmdcommandtoconfigureDNS,ifyourecomfortablewithit.Toinstallthe
role,usetheOcsetupcommand;IprefertogetthisgoingbyusingtheStart/w
command,whichsuspendsthecommandpromptuntilOcsetupfinishes.Ifyoudont
dothis,thecommandpromptimmediatelyreturnswhiletheinstallationcompletesinthebackground,andyouwontknowwhenitsdone.
-
7/30/2019 Core Dcs
9/11
Next,youllneedtocreateanunattendedinstallationfileforDcpromo,sinceitsgraphicalWizardisntavailableinServerCore.http://www.petri.co.il/creating
unattendinstallationfiledcpromowindowsserver2008.htmisanexcellent
referenceforWin2008unattendedDcpromofilesnotethattheWin2008syntaxis
abitdifferentandnewerfromtheWin2003one.ServerCoredoeshaveNotepad,soyoucanuseittocreateyourunattendedfileifneeded.ServerCoresNotepaduses
anoldersetoffiledialogboxes;paycloseattentiontotheseWin95vintagedialogs,sincetheyworkdifferentlyfromtheneweronesyoureusedto.
TheunattendfiletellsDcpromoifyourecreatinganewdomain,anewDCinanexistingdomain,awholenewforest,orwhatever.Readthroughtheoptions
carefully!YoucanalsouseDcpromoonanexistingfullWindowsinstallation
(althoughnotonanexistingDC)tocreateanunattendfile;justrunthroughthe
Dcpromowizardand,beforeyoucommittoinstallingAD,saveyourconfigurationin
afile.ThatfilecanthenbecarriedtoServerCore(onaUSBkey,forexample)and
usedwithDcpromothere.
-
7/30/2019 Core Dcs
10/11
Withyourunattendedfileready,runDcpromo/unattend:filenametostarttheAD
installationprocess.Youllseeplentyofoutputtellingyouwhatshappening.
-
7/30/2019 Core Dcs
11/11
Ofcourse,arebootisinorderafterwards,andDcpromowillhandlethat
automatically.Oncetheserverrestarts,youcanuseActiveDirectoryUsers&Computersagain,fromanothercomputertobeginmanagingyourdomain.