次の方法で共有


DCPROMO - Unattended Installation

Here is an sample dc.ini from which you can setup your own unattended file for automated installation of an domain controller and or DNS.

This is an example for adding an DC to an already existing forest :

ReplicaOrNewDomain=Replica
ReplicaDomainDNSName=contoso.com
SiteName=Default-First-Site-Name
InstallDNS=Yes
ConfirmGc=Yes
CreateDNSDelegation=No
UserDomain=contoso.com
UserName=contoso\administrator
Password=yourdomainadminpasswordhere
DatabasePath="%systemroot%NTDS"
LogPath="%systemroot%NTDS"
SYSVOLPath="C:\Windows\SYSVOL"
SafeModeAdminPassword=yourrecoverpassword1234
; Run-time flags (optional)
; CriticalReplicationOnly=Yes
; RebootOnCompletion=Yes

dcpromo command syntax :

dcpromo /unattend:dc.ini

These scenario works with Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2008.

More information about additional switches can be found here :

https://technet.microsoft.com/de-de/library/cc732887(WS.10).aspx