Windows Server R2 AD DS build (Answer file)

Source: Internet
Author: User

To install the first domain controller in the new forest by using an answer file

1. Copy and save the following code as a TXT file

; The first domain controller answer file

[DCInstall]

Replicaornewdomain=domain

Newdomain=forest

Newdomaindnsname=contoso.local

Forestlevel=4

Domainnetbiosname=contoso

Domainlevel=4

Installdns=yes

; CONFIRMGC This parameter is required for the first domain controller in the deployment forest Yes

Confirmgc=yes

Creatednsdelegation=no

Databasepath= "C:\Windows\NTDS"

Logpath= "C:\Windows\NTDS"

Sysvolpath= "C:\Windows\SYSVOL"

[Email protected]

Rebootoncompletion=yes

2. Parameter interpretation

installdns newdomaindnsname domainnetbiosname replicaornewdomain forestlevel domainlevel
creatednsdelegation TD width= "157" valign= "top" > TD width= "157" valign= "top" > TD width= "157" valign= "top" > TD width= "157" valign= "top" > TD width= "157" valign= "top" > TD width= "157" valign= "top" > TD width= "157" valign= "top" >
Serial number Parameter values Description Parameter values
1 If the DNS server is installed
2
newdomain Specify the kind of new domain
3 set DNS domain name
4 such as Contoso
5
6 forest functional level 0 (Windows 2000), 2 (Windows 2003), 3 (Windows 2008), 4 (Windows R2)
7 0 (Windows 2000), 2 (Windows 2003), 3 (Windows 2008), 4 (Windows R2)
8
9 DatabasePath Set the AD DS database storage path such as C:\windows\NTDS or%systemroot%\NTDS

logpath
sysvolpath safemodeadminpassword TD width= "Valign=" "Top" > TD width= "Valign=" "Top" > TD width= "Valign=" "Top" >
10 set ad Storage path for DS record files such as C:\windows\NTDS or%systemroot%\NTDS
11 Set the path to the Sysvol folder
12 random but not empty
13 Rebootoncompletion Whether to restart the computer after the installation is complete Yes or no
3. View AD DS Server information

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/83/9A/wKiom1d3oi2xZFNUAADhHGppmnc289.jpg-wh_500x0-wm_3 -wmp_4-s_1077359556.jpg "style=" Float:none; "title=" 2016-07-02_18-30-49.jpg "alt=" Wkiom1d3oi2xzfnuaadhhgppmnc289.jpg-wh_50 "/>

4. Check TXT file information

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M01/83/9A/wKiom1d3oi3CBI4VAAC6tFnka9s031.jpg-wh_500x0-wm_3 -wmp_4-s_3279843511.jpg "style=" Float:none; "title=" 2016-07-02_19-04-57.jpg "alt=" Wkiom1d3oi3cbi4vaac6tfnka9s031.jpg-wh_50 "/>

5. Run cmd on the AD DS server

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/83/98/wKioL1d3oi2zHzxrAABCtMeHuDY941.jpg-wh_500x0-wm_3 -wmp_4-s_1259972758.jpg "style=" Float:none; "title=" 2016-07-02_19-05-34.jpg "alt=" Wkiol1d3oi2zhzxraabctmehudy941.jpg-wh_50 "/>

6. Enter "Dcpromo/unattend:" C:\Install.txt ""

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/83/98/wKioL1d3oi7zY3KEAADXLt90bf0078.jpg-wh_500x0-wm_3 -wmp_4-s_1993432081.jpg "style=" Float:none; "title=" 2016-07-02_19-06-31.jpg "alt=" Wkiol1d3oi7zy3keaadxlt90bf0078.jpg-wh_50 "/>

7. Wait for the server to restart

650) this.width=650; "Src=" Http://s3.51cto.com/wyfs02/M02/83/9A/wKiom1d3oi6zPyGnAADPrCuu0H0185.jpg-wh_500x0-wm_3 -wmp_4-s_2504554209.jpg "style=" Float:none; "title=" 2016-07-02_19-08-28.jpg "alt=" Wkiom1d3oi6zpygnaadprcuu0h0185.jpg-wh_50 "/>

8. After the reboot is complete, check the service

650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M02/83/9A/wKiom1d3oi-iTj7oAAFTOLd2DYw095.jpg-wh_500x0-wm_3 -wmp_4-s_2585698818.jpg "style=" Float:none; "title=" 2016-07-02_19-12-26.jpg "alt=" Wkiom1d3oi-itj7oaaftold2dyw095.jpg-wh_50 "/>

Installing the AD DS server with an answer file is complete.


This article is from the "Lizm" blog, make sure to keep this source http://lizmfinder.blog.51cto.com/6421311/1795188

Windows Server R2 AD DS build (Answer file)

Related Article

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.