a conditions for installing DCs
① Local Administrator account
② all Server editions except the Web version of the operating system
③ has at least one NTFS partition
④ static IP address
⑤ has enough space (usually 1G )
⑥ support for DNS
two installing a domain controller (DC)
① installation command:dcpromo
② installation mode:
Create a new domain in the newly created forest |
Root domain of the Jianlin |
Add DC in existing forest |
Building Additional domain Controllers |
Create a new domain in an existing forest |
Building subdomains |
Create a new domain tree instead of a subdomain in an existing forest |
Building a domain root |
③ setting the functional level of the forest and domain
④ Setting the Directory Service Restore Mode password
⑤ Global Catalog service, with a copy of the information in the forest, with at least one global catalog server per domain (role: communicating with other domains)
⑥ also available in command mode or Unattended mode (script) installation
[DCInstall]
Installdns=yes
Dnsonnetwork=yes
Newdomain=forest
Newdomaindnsname=benet.com
Domainnetbiosname=benet
Replicaornewdomain=domain
Forestlevel=3
Domainlevel=3
Databasepath= "%systemroot%\NTDS"
Logpath= "%systemroot%\NTDS"
Sysvolpath= "%systemroot%\sysvol"
Safemodeadminpassword=163.com
Execute script command:
Dcpromo/unattend: c:\dcinstall.txt ( script location and file name)
Command mode:
Dcpromo
/unattend
/installdns:yes
/dnsonnetwork:yes
/replicaornewdomain:domain
/newdomain:forest
/newdomaindnsname:benet.com
/domainnetbiosname:benet/databasepath: "%systemroot%\NTDS"
/logpath: "%systemroot%\NTDS"
/sysvolpath: "%systemroot%\sysvol"
/safemodeadminpassword:123.com
/forestlevel:4
/domainlevel:4
/rebootoncompletion:no
Dcpromo command parameters and explanations
650) this.width=650; "Src=" https://s2.51cto.com/wyfs02/M00/9D/C4/wKiom1mFjfaxtRuSABg82zQiuUM583.jpg-wh_500x0-wm_ 3-wmp_4-s_2094962850.jpg "title=" img_0437.jpg "alt=" Wkiom1mfjfaxtrusabg82zqiuum583.jpg-wh_50 "/>
three client join Domain
① ensure connectivity with DC and set up the correct DNS Server
② Enter the domain name and enter the domain user and password
③ must be restarted before it is valid
④ clients are stored in computers By default after joining the domain
four Advantages of additional DC
① provides fault tolerance
② provides load balancing
③ easier for users to connect and access
Add extra The DC and jianxin domain conditions are the same, but the administrator account must be a domain administrator
five uninstalling the DC
① has more than one DC when uninstalled as a member server
② the last DC when uninstalled as a standalone server
③ must ensure that there are also global catalog servers
④ All DCs must be online
Deploying a Windows Domain