Unattended installation of dcpromo

First create a answer file for the unattended installation.
unattdcpromo.txt contains

[DCINSTALL]
ReplicaOrNewDomain=Domain
TreeOrChild=Tree
CreateOrJoin=Create
NewDomainDNSName=mylab.local
DNSOnNetwork=yes
DomainNetbiosName=mylab
AutoConfigDNS=yes
SiteName=Default-First-Site-Name
AllowAnonymousAccess=no
DatabasePath=%systemroot%\ntds
LogPath=%systemroot%\ntds
SYSVOLPath=%systemroot%\sysvol
SafeModeAdminPassword=mylab123
CriticalReplicationOnly=No
RebootOnSuccess=yes

Then start run type dcpromo /answer:/c:\ unattdcpromo.txt
Need to configure dns client .for that right click My Network Places Local Area Connection properties TCP/IP setting preferred DNS server give same IP of the server.



Complete the wizard and verify AD installed properly.

How to create unattended file for dcpromo installation
For new tree in new forest installations, the following options apply:
[DCINSTALL]
ReplicaOrNewDomain=Domain
TreeOrChild=Tree
CreateOrJoin=Create
NewDomainDNSName=
DNSOnNetwork=yes
DomainNetbiosName=
AutoConfigDNS=yes
SiteName=[active directory site name (optional)];
AllowAnonymousAccess=no
DatabasePath=%systemroot%\ntds
LogPath=%systemroot%\ntds
SYSVOLPath=%systemroot%\sysvol
SafeModeAdminPassword=
CriticalReplicationOnly=No
RebootOnSuccess=yes

For Windows NT 4.0 Backup domain controller ( BDC) upgrades or new Windows 2000 replica installations, the following options apply:
[DCINSTALL]
UserName=
Password=
UserDomain=
DatabasePath=%systemroot%\ntds
LogPath=%systemroot%\ntds
SYSVOLPath=%systemroot%\sysvol
SafeModeAdminPassword=
CriticalReplicationOnly=no
ReplicaOrNewDomain=Replica
ReplicaDomainDNSName=
ReplicationSourceDC=
RebootOnSuccess=yes

For child domain installations, the following options apply:
[DCINSTALL]
UserName
Password
UserDomain
DatabasePath
LogPath
SYSVOLPath
SYSVOLPath
SafeModeAdminPassword=
CriticalReplicationOnly=no
ReplicaOrNewDomain=Domain
TreeOrChild=Child
ParentDomainDNSName
ChildName
DomainNetbiosName
AutoConfigDNS
AllowAnonymousAccess
RebootOnSuccess=yes

For new tree in existing forest installations, the following options apply:
[DCINSTALL]
UserName
Password
UserDomain
DatabasePath
LogPath
SYSVOLPath
SiteName
SafeModeAdminPassword=
CriticalReplicationOnly=no
ReplicaOrNewDomain=Domain
TreeOrChild=Tree
NewDomainDNSName
DomainNetbiosName
AutoConfigDNS
AllowAnonymousAccess
RebootOnSuccess=yes

For domain controller demotion, the following options apply:
[DCINSTALL]
UserName
Password
UserDomain
AdministratorPassword
IsLastDCInDomain
RebootOnSuccess=yes

Advertisements

Posted on April 12, 2011, in Uncategorized, Windows. Bookmark the permalink. Leave a comment.

Leave a Reply

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: