Now a days i am working on Winodow Server 2008 Core. In this article i will tell you how to install Domain Controller only writing one line of code in DOS Prompt.
Below is the Script save it on your C: Drive With Name DC.txt
Few changes reuired to run DC in your Company.
;NewDomainDNSName=aspxtutorial.com// Enter your Company domain name.
;DomainNetbiosName=ASPXTUTORIAL// name as above you write without .com
;SafeModeAdminPassword=Aamir@123// Enter your DC Administrator password
Open Notepad copy script as given below and save it on C: drive
;DC.txt Text File
[DCInstall]
; New forest promotion
ReplicaOrNewDomain=Domain
NewDomain=Forest
NewDomainDNSName=aspxtutorial.com
ForestLevel=3
DomainNetbiosName=ASPXTUTORIAL
DomainLevel=3
InstallDNS=Yes
ConfirmGc=Yes
CreateDNSDelegation=No
DatabasePath="C:\Windows\NTDS"
LogPath="C:\Windows\NTDS"
SYSVOLPath="C:\Windows\SYSVOL"
; Set SafeModeAdminPassword to the correct value prior to using the unattend file
SafeModeAdminPassword=Aamir@123
; Run-time flags (optional)
; RebootOnCompletion=Yes
Goto Start Menu -> Run write CMD Click OK Button. DOS Prompt will be open. Write
dcpromo.exe /unattend:C:\DC.txt
Now Your Domain Controll is Installed.Restart your Server.