Use the response file to install the Domain Controller

Source: Internet
Author: User

Copy the part starting with a semicolon and save it as anser.txt to the root directory of drive C. Open the command to run the local installation Domain Controller command dcpromo.exe/unattend: C: \ anser.txt

The red font must be modified based on your actual needs.

Description of the behavior that begins with a semicolon.



Create the first Domain Controller response file for the new domain in the New Forest.
; Dcpromo unattend file (automatically generated by dcpromo)
; Usage:
; Dcpromo.exe/unattend: C: \ anser.txt
;
[Dcinstall]
; New forest promotion
Create the first domain controller (domain) in the new domain, readonlyreplica for the existing domain, and replica for the existing domain)
Replicaornewdomain = domain
; Specify the type of the new domain, forest (root domain of the New Forest), tree (root domain of the new domain tree), Child (subdomain in the existing forest)
Newdomain = Forest
; Set the DNS domain name, such as mifeihu.cn
Newdomaindnsname = mifeihu.cn
; Forest function level, 0 (Windows2000), 2 (Windows2003), 3 (windows2008)
Forestlevel = 3
Domainnetbiosname = mifeihu
; Domain Function level, 0 (Windows2000), 2 (Windows2003), 3 (windows2008)
Domainlevel = 3
Whether to install the DNS server
Installdns = Yes
; Whether it is a GC Server
Confirmgc = Yes
; Whether to create a delegate domain in the upper layer
Creatednsdelegation = No
Set the storage path of the AD Database
Databasepath = "C: \ WINDOWS \ NTDs"
; Set the log storage path of adds
Logpath = "C: \ WINDOWS \ NTDs"
; Set the path of the sysvol folder
Sysvolpath = "C: \ WINDOWS \ sysvol"
; Set safemodeadminpassword to the correct value prior to using the unattend File
; Directory service recovery mode password
Safemodeadminpassword = aa11.. 00
; Run-Time flags (optional)
; Set Automatic Restart
Rebootoncompletion = Yes

This article is from the "space of the secret Flying Tiger" blog and will not be reposted!

Use the response file to install the Domain Controller

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.