****
*
*
*
*







*
*
                                      
*
*
Windows Server



    

Windows Server Core - Part 02 - dcpromo    

*
*

*
*

Windows Server Core - Part 02 - dcpromo



Jan
11

Windows Server Core - Part 02 - dcpromo

Appendix of Unattended Installation Parameters

http://technet.microsoft.com/en-us/library/cc732086.aspx

Appendix of Unattended Installation Parameters

Applies To: Windows Server 2008, Windows Server 2008 R2

The tables in this appendix provide the information that you need to create an answer file for automating the installation or removal of AD DS:

Promotion Operation

CreateDCAccount Operation

UseExistingAccount Operation

Demotion Operation

Unattended Installation Return Codes

Dcpromo.exe accepts these parameters either directly from the command line or as entered in a text file that is formatted in standard .INI format. The text file must contain a section heading [DCINSTALL] followed by AD DS (domain controller) server role unattended installation parameters.

Create a text file that contains the [DCINSTALL] heading and in which each line in the file contains an option and its value in the form option=value. To use the options directly from the command line, precede each option:value pair with a forward slash (/) and separate each /option=value pair with a space. At the command line, you can also use a colon (:) to separate the option and the value (/option:value).

The following are example lines in an answer text file:

[DCINSTALL]

UserName=Jsmith

Password=*

SiteName=NorthRegion

The following is an example set of the same options as typed in the Dcpromo.exe command line:

dcpromo /unattend /username:Jsmith /password:* /sitename:NorthRegion ...

 

http://technet.microsoft.com/en-us/library/cc732086.aspx

 

The following example supplies an answer file named NewForestInstallation:

dcpromo /answer:NewForestInstallation

 

 

The following example creates the first domain controller in a new child
domain where you expect to install at least some Windows Server 2003 domain
controllers:

 

 

dcpromo /unattend /InstallDns:yes /ParentDomainDNSName:contoso.com /replicaOrNewDomain:domain /newDomain:child /newDomainDnsName:east.contoso.com /childName:east /DomainNetbiosName:east /databasePath:"e:\ntds" /logPath:"e:\ntdslogs" /sysvolpath:"g:\sysvol" /safeModeAdminPassword:FH#3573.cK /forestLevel:2 /domainLevel:2 /rebootOnCompletion:yes

 

 

 

 

 

 

The following example creates an additional domain controller with the global
catalog, and it installs and configures the DNS Server service:

 

 

dcpromo /unattend /InstallDns:yes /confirmGC:yes /replicaOrNewDomain:replica /databasePath:"e:\ntds" /logPath:"e:\ntdslogs" /sysvolpath:"g:\sysvol" /safeModeAdminPassword:M6$,U8Gvx4 /rebootOnCompletion:yes

 

 

Related relevant articles:

·        Step-by-Step Guide for Setting Up A Windows Server 2003 / Windows Server 2012 Domain Controller

·        http://technet.microsoft.com/en-us/library/cc732887.aspx



No TrackBacks

TrackBack URL: http://www.skar.us/site/mt-tb.cgi/2909

Leave a comment








*
*

administrator
Author Bio          ★★★★★

Author Name:         administrator
Author Location:    India
Author Rank:          Writer
Author Status:        
The Green leave stands!!


*
*
*
*
****



*****



    Desktop
  • eBooks
  • Games
  • Softwares
  • Tools
  • Tweaks
  • Wallpapers
  • Warez
    PDA
  • Games
  • Tools
  • Wallpapers
    System Administration
  • dll Center
  • Scripts
  • Tools
  • .extensions database
  • Write-up
    more...
  • Download Database
  • Jobs
  • Lists
  • Polls
  • Glossary

01000011 01110010 01100001 01100011 01101011 01111010 01101000 01100001 01100011 01101011