automated installation

hi,
i would like to know how can i do an automated promotion of a windows2000 advanced server to a domain controller after the normal unattended installation of the operating system.
regards,
hky
heckyAsked:
Who is Participating?
 
William MichaelisLead Systems EngineerCommented:
you can run DCPROMO with the /answer: switch. The answer file should look similar to this:

[DCInstall]
    AdministratorPassword = welcome
    AutoConfigDNS = No
;    ChildName
;    CreateOrJoin = Create
     CreateOrJoin = Join
    DatabasePath = %systemroot%\NTDS
    DNSOnNetwork = Yes
;    DomainNetBiosName = MTSCS
    IsLastDCInDomain = No
    LogPath = %systemroot%\NTDS
;    NewDomainDNSName = domain.COM
;    ParentDomainDNSName = domain.COM
    Password = welcome
    RebootOnSuccess = Yes
    ReplicaDomainDNSName = domain.COM
;    ReplicaOrMember
    ReplicaOrNewDomain = Replica
;    SiteName = MySite
    Sitename = Default-First-Site-Name
    SysVolPath %systemroot%\SYSVOL
    TreeOrChild = Tree
    UserDomain = domain
    UserName = Administrator
;

give it a name (ansfile.txt), and run
DCPROMO /Answer:c:\ansfile.txt

Good luck!
0
 
breakspearCommented:
As far as I'm aware there is no way for you to perform an automated promotion to a DC. You will need to run DCPROMO and walk through the wizard.
This does not take very long however and you don't need to be arround while is in the process of actually promoting it's self. Just go off and have a cup of something while that little pencill is writing in that little book on your screen.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.