Waclaw Chrabaszcz
... there is no spoon ...

How to promote pure Server 2008 to Domain Controller

Tuesday, December 18, 2012 8:15 PM

Yesterday I found something nice, but not obvious for me. You don't need to install and prepare anything just run:

netsh interface ip set address "Local Area Connection" static 192.168.1.100 255.255.255.0 192.168.1.1
netsh interface ip set dns "Local Area Connection" static 192.168.1.1
dcpromo /answer:CREATE-TESTDOMAIN.txt

and server will Install AD role, promote himself to DC, reboot and your domain is ready !

Sample answer file:

[DCINSTALL]
ReplicaOrNewDomain=Domain
TreeOrChild=Tree
CreateOrJoin=Create
NewDomainDNSName=TESTDOMAIN.NET
DNSOnNetwork=yes
DomainNetbiosName=TESTDOMAIN
AutoConfigDNS=yes
SiteName=Datacenter1
AllowAnonymousAccess=no
DatabasePath=%systemroot%\ntds
LogPath=%systemroot%\ntds
SYSVOLPath=%systemroot%\sysvol
SafeModeAdminPassword=Password1
CriticalReplicationOnly=No
RebootOnSuccess=yes




Feedback

No comments posted yet.


Post a comment