Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 167
  • Last Modified:

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
0
hecky
Asked:
hecky
1 Solution
 
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
 
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

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now