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 :

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

Advertisements

Any further thoughts? Let me know here

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


%d bloggers like this: