Active Directory Unattended Installation using an Answer File

Active Directory Unattended Installation using an Answer File

 

Answer File for creating a New Forest

  1. Open Notepad or any text editor.
  2. Type the following entries, one entry in each line:

     

    [DCINSTALL]

    InstallDNS=yes

    NewDomain=forest

    NewDomainDNSName=<fully qualified DNS Name>

    DomainNetBiosName=<first label of the FQDN, by default>

    ReplicaOrNewDomain=domain

    ForestLevel=<forest functional level number>

    DomainLevel=<domain functional level number>

    DatabasePath=<path to a folder on local volume, surrounded by double quotation marks>

    LogPath=<path to a folder on a local volume, surrounded by double quotation marks>

    RebootOnCompletion=yes

    SYSVOLPath=<path to a folder on local volume, surrounded by double quotation marks>

    SafeModeAdminPassword=<password>

     

  3. Save the answer file to the location on the installation server from which it is to be called by Dcpromo.
  4. To install a new domain controller by using the answer file created above, at the command prompt, type the following and then press ENTER:

     

    dcpromo /unattend:"path to the answer file"

Installing a new forest by entering the unattended installation parameters at the command line

Suppose you have an answer file that lists a blank Directory Services Restore Mode password like:

SafeModeAdminPassword=

Then you can supply the value for this password at the command prompt like:

dcpromo /unattend:"path to answer file"SafeModeAdminPassword=C^n3478#9k

Every time you supply the value of a parameter from the command line, the value of the corresponding entry in the answer file gets overwritten by the value given at the command prompt.

You can therefore install a new domain controller for a new forest by entering all required unattended parameters at the command line:

dcpromo /autoConfigDNS:yes /dnsOnNetwork:yes /replicaOrNewDomain:domain /newDomain:forest /newDomainDNSName:contoso.com /DomainNetbiosName:contoso /databasePath:"e:ntds" /logPath:"e:ntdslogs" /sysvolPath:"g:sysvol" /safeModeAdminPassword:GH^&898# /forestLevel:2 /domainLevel:2 /rebootOnCompletion:yes

Forest Functional Levels

Level Number

Forest Functional Level

Supported Domain Controllers

1

Windows 2000

Windows Server 2008

Windows Server 2003

Windows Server 2000

2

Windows 2003

Windows Server 2008

Windows Server 2003

3

Windows 2008

Windows Server 2008

 

Domain Functional Levels

Level Number

Domain Functional Level

Supported Domain Controllers

1

Windows 2000 native

Windows 2000

Windows 2003

Windows 2008

2

Windows Server 2003

Windows Server 2003

Windows Server 2008

3

Windows Server 2008

Windows Server 2008

 

Answer File for creating a new Windows Server 2008 Child Domain

  1. Open Notepad or any text editor.
  2. Type the following entries, one entry in each line:

     

    [DCINSTALL]

    ParentDomainDNSName=<FQDN of the parent domain>

    UserName=<administrative account in the parent domain>

    Password=<specify * to have the user be prompted for credentials during

    installation>

    NewDomain=child

    ChildName=<Single-label DNS name for the new domain>

    DomainNetBiosName=<first label of the FQDN, by default>

    ReplicaOrNewDomain=domain

    DomainLevel=<domain functional level number; value cannot be lower than the current

             functional level value of the forest >

    DatabasePath=<path to a folder on local volume, surrounded by double quotation marks>

    LogPath=<path to a folder on a local volume, surrounded by double quotation marks>

    RebootOnCompletion=yes

    SYSVOLPath=<path to a folder on local volume, surrounded by double quotation marks>

    InstallDNS=yes

    DNSDelegation=yes

    DNSDelegationUserName=<DNS administrator account in the parent domain;specify *

    to have the user be prompted for credentials at the run time>

    DNSDelegationPassword=<password of the account specified above or *>

    SafeModeAdminPassword=<password>

    RebootOnCompletion=yes

     

  3. Save the answer file to the location on the installation server from which it is to be called by Dcpromo.
  4. To install a new domain controller by using the answer file created above, at the command prompt, type the following and then press ENTER:

     

    dcpromo /unattend:"path to the answer file"

 

References: http://technet2.microsoft.com/windowsserver2008

26 thoughts on “Active Directory Unattended Installation using an Answer File”

  1. welcome to visit RF online blog Mmo blog Mmo guide blog Internet game guideTales of pirates forum ,it will give your some help.EVE online isk cheap EVE isk Guild wars gold Guild wars money GW gold Rs Money Wow gold Wow World of warcraft Gold Wow eu gold Wow us gold Maplestory mesos WOW GOLD worlf of warcrraft  World of warcraft gold Runescape RS gold RF online RF online cp RF online dalant  RF online disena  RF online money RF online gold Lotro gold Buy lotro gold  WOW gold  Cheap wow gold on sale. and you can sell your gold to us.

  2. (wow gold) and (wow power leveling) trading site, (wow gold) are cheap, (wow power leveling) credibility Very good! Quickly into the next single! Key words directly to the website click on transactions!

  3. Hi,Do you need digital signage, digital sign, ad players and ad displays? Please go Here:www.amberdigital.com.hk(Amberdigital).we have explored and developed the international market with professionalism. We have built a widespread marketing network, and set up a capable management team dedicated to provide beyond-expectation services to our customers.
    amberdigital Contact Us
    website:www.amberdigital.com.hk
    alibaba:amberdigital.en.alibaba.com[chhaejgjbjdcfij]

  4. Hi,Do you have used LCDs, second hand LCDs, used flat screens and used LCD monitors? Please go here:www.sstar-hk.com(Southern Stars).We are constantly buying re-usable LCD panels and working for LCD recycling.The re-usable panels go through strictly designed process of categorizing, checking, testing, repairing and refurbishing before they are re-used to make remanufactured LCD displays and TV sets.Due to our recent breakthrough in testing and repairing technology of LCD, we can improve the value for your LCD panels.
    website:www.sstar-hk.com[chicefhgcgffgi]

  5. http://www.batteryfast.com.au/compaq/dv2000.htm Compaq dv2000 Battery http://www.batteryfast.com.au/compaq/dv2200.htm Compaq dv2200 Battery http://www.batteryfast.com.au/compaq/pavilion-dv2000.htm Compaq pavilion dv2000 Battery http://www.batteryfast.com.au/compaq/pavilion-dv6000.htm Compaq pavilion dv6000 Battery http://www.batteryfast.com.au/dell/d5318.htm Dell d5318 Battery http://www.batteryfast.com.au/dell/e1405.htm Dell e1405 Battery http://www.batteryfast.com.au/dell/gw240.htm Dell gw240 Battery http://www.batteryfast.com.au/dell/inspiron-630m.htm Dell inspiron 630m Battery http://www.batteryfast.com.au/dell/inspiron-640m.htm Dell inspiron 640m Battery http://www.batteryfast.com.au/dell/inspiron-8000.htm Dell inspiron 8000 Battery http://www.batteryfast.com.au/dell/inspiron-8100.htm Dell inspiron 8100 Battery http://www.batteryfast.com.au/dell/inspiron-8200.htm Dell inspiron 8200 Battery http://www.batteryfast.com.au/dell/m1210.htm Dell m1210 Battery http://www.batteryfast.com.au/dell/pu563.htm Dell pu563 Battery http://www.batteryfast.com.au/dell/rn873.htm Dell rn873 Battery http://www.batteryfast.com.au/dell/RU030.htm Dell RU030 Battery http://www.batteryfast.com.au/dell/td175.htm Dell td175 Battery http://www.batteryfast.com.au/dell/TK330.htm Dell TK330 Battery http://www.batteryfast.com.au/dell/w953g.htm Dell w953g Battery http://www.batteryfast.com.au/dell/WG317.htm Dell WG317 Battery http://www.batteryfast.com.au/gateway/m360.htm Gateway m360 Battery http://www.batteryfast.com.au/gateway/m460.htm Gateway m460 Battery http://www.batteryfast.com.au/gateway/m680.htm Gateway m680 Battery http://www.batteryfast.com.au/hp/dv9500.htm Hp dv9500 Battery http://www.batteryfast.com.au/hp/dv9600.htm Hp dv9600 Battery http://www.batteryfast.com.au/hp/dv9700.htm Hp dv9700 Battery http://www.batteryfast.com.au/gateway/8msb.htm Gateway 8msb Battery http://www.batteryfast.com.au/gateway/8msbg.htm Gateway 8msbg Battery http://www.batteryfast.com.au/hp/zt1000.htm Hp zt1000 Battery http://www.batteryfast.com.au/hp/zt3000.htm Hp zt3000 Battery http://www.batteryfast.com.au/ibm/02k6928.htm Ibm 02k6928 Battery http://www.batteryfast.com.au/ibm/02k7055.htm Ibm 02k7055 Battery http://www.batteryfast.com.au/ibm/02k7072.htm Ibm 02k7072 Battery http://www.batteryfast.com.au/ibm/thinkpad-r40.htm Ibm thinkpad r40 Battery http://www.batteryfast.com.au/ibm/thinkpad-t30.htm Ibm thinkpad t30 Battery http://www.batteryfast.com.au/laptop-ac-adapter/dell/inspiron-6400.htm Dell inspiron 6400 Adapter http://www.batteryfast.com.au/laptop-ac-adapter/dell/latitude-d620.htm Dell latitude d620 Adapter http://www.batteryfast.com.au/laptop-ac-adapter/dell/latitude-d630.htm Dell latitude d630 Adapter http://www.batteryfast.com.au/laptop-ac-adapter/dell/latitude-d820.htm Dell latitude d820 Adapter http://www.batteryfast.com.au/laptop-ac-adapter/dell/d820.htm Dell d820 Adapter http://www.batteryfast.com.au/laptop-ac-adapter/hp/dv4000.htm Hp dv4000 Adapter http://www.batteryfast.com.au/hp/pavilion-dv9700.htm HP pavilion dv9700 Battery http://www.batteryfast.com.au/hp/pavilion-dv9500.htm HP pavilion dv9500 Battery http://www.batteryfast.com.au/laptop-ac-adapter/liteon/presario-1200.htm Liteon presario 1200 Adapter http://www.batteryfast.com.au/laptop-ac-adapter/liteon/presario-1600.htm Liteon presario 1600 Adapter

  6. http://www.batteryfast.com.au/laptop-ac-adapter/liteon/presario-1700.htm Liteon presario 1700 Adapter http://www.batteryfast.com.au/laptop-ac-adapter/liteon/presario-1800.htm Liteon presario 1800 Adapter http://www.batteryfast.com.au/laptop-ac-adapter/liteon/satellite-1100.htm Liteon satellite 1100 Adapter http://www.batteryfast.com.au/laptop-ac-adapter/liteon/travelmate-4200.htm Liteon travelmate 4200 Adapter http://www.batteryfast.com.au/dell/nf343.htm Dell nf343 Battery http://www.batteryfast.com.au/laptop-ac-adapter/compaq/compaq-19V-4.74A-90w-5.5mm-2.5mm.php Compaq NX9000 DV9000 19V 4.74A 90W 5.5MM*2.5MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/hp/hp-19V-4.74A-90w-4.8mm-1.7mm.php Hp NC6000 NC8230 19V 4.74A 90W 4.8MM*1.7MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/hp/hp-19V-4.74A-90w-5.5mm-2.5mm.php Hp DV9000 19V 4.74A 90W 5.5MM*2.5MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/dell/dell-19.5V-3.34A-65w-7.4mm-5.0mm-with-pin-pa-12.php Dell 6400 D620 19.5V 3.34A 65W 7.4MM*5.0MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/dell/dell-19.5V-6.7A-130w-7.4mm-5.0mm-with-pin-pa-13.php Dell 19.5V 6.7A 130W 7.4MM*5.0MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/dell/dell-19.5V-7.7A-150w-7.4mm-5.0mm-with-pin-pa-15.php Dell 9100 9200 19.5V 7.7A 150W 7.4MM*5.0MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/dell/dell-19V-3.16A-60w-5.5mm-2.5mm.php Dell B130 1300 19V 3.16A 60W 5.5MM*2.5MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/dell/dell-20V-3.5A-70w-horseshoe-style-special-for-dell-pa-6.php Dell 20V 3.5A 70W HORSE SHOE Adapter http://www.batteryfast.com.au/laptop-ac-adapter/ibm/ibm-16V-4.5A-60w-5.5mm-2.5mm.php Ibm T40 X30 R30 16V 3.5A 56W 5.5MM*2.5MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/liteon/liteon-19V-3.42A-65w-5.5mm-2.5mm-white.php Liteon M320 M680 19V 3.42A 65W 5.5MM*2.5MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/liteon/liteon-19V-3.95A-75w-5.5mm-2.5mm.php Liteon 1200 1800 19V 3.95A 75W 5.5MM*2.5MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/liteon/liteon-19V-4.74A-90w-5.5mm-1.7mm.php Liteon TravelMate 4200 19V 4.74A 90W 5.5MM*1.7MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/liteon/liteon-19V-4.74A-90w-5.5mm-2.5mm.php Liteon Satellite 1100 19V 4.74A 90W 5.5MM*2.5MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/liteon/liteon-19V-6.3A-120w-4pin-round.php Liteon M3 M5244 19V 6.3A 120W 4 PIN ROUND Adapter http://www.batteryfast.com.au/laptop-ac-adapter/liteon/liteon-19V-6.3A-120w-5.5mm-2.5mm.php Liteon 2200 R3000 19V 6.3A 120W 5.5MM*2.5MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/liteon/liteon-20V-6A-120w-4-pin.php Liteon 5600P 5620 20V 6A 120W 4 PIN Adapter http://www.batteryfast.com.au/laptop-ac-adapter/liteon/liteon-20V-6A-120w-5.5mm-2.5mm.php Liteon 1520 1500 NX9100 20V 6A 120W 5.5MM*2.5MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/samsung/samsung-19V-3.16A-60w-5.5mm-3.4mm-pin-inside.php Samsung GT8000 GT8600 19V 3.16A 60W 5.5MM*3.4MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/samsung/samsung-19V-4.74A-90w-5.5mm-3.0mm.php Samsung M50 X60 19V 4.74A 90W 5.5MM*3.0MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/toshiba/toshiba-15V-5A-75w-6.3mm-3.0mm.php Toshiba PA3283U-1ACA 15V 5A 75W 6.3MM*3.0MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/toshiba/toshiba-15V-6A-90w-6.3mm-3.0mm.php Toshiba PA2521U PA3201U-1ACA 15V 6A 90W 6.3MM*3.0MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/toshiba/toshiba-15V-8A-120w-special-4-hole.php Toshiba PA3237U 15V 8A 120W SPECIAl 4 HOlE Adapter http://www.batteryfast.com.au/laptop-ac-adapter/toshiba/toshiba-19V-3.42A-65w-5.5mm-2.5mm.php Toshiba PA3467U PA3396U 19V 3.42A 65W 5.5MM*2.5MM Adapter http://www.batteryfast.com.au/laptop-ac-adapter/toshiba/toshiba-19V-4.74A-90w-5.5mm-2.5mm.php Toshiba PA3589U 19V 4.74A 90W 5.5MM*2.5MM Adapter http://www.batteryfast.com.au/acer/aspire-one-zg5.htm Acer aspire one zg5 battery http://www.batteryfast.com.au/acer/black-aspire-one-zg5.htm Acer black aspire one zg5 battery

  7. http://www.batteryfast.ca/sony/vgn-fs530b.htm Sony VGN-FS530B Batteryhttp://www.batteryfast.ca/sony/vgn-fs53b.htm Sony VGN-FS53B Batteryhttp://www.batteryfast.ca/sony/vgn-fs540p.htm Sony VGN-FS540P Batteryhttp://www.batteryfast.ca/sony/vgn-fs550.htm Sony VGN-FS550 Batteryhttp://www.batteryfast.ca/sony/vgn-fs570.htm Sony VGN-FS570 Batteryhttp://www.batteryfast.ca/sony/vgn-fs625b-w.htm Sony VGN-FS625B/W Batteryhttp://www.batteryfast.ca/sony/vgn-fs630-w.htm Sony VGN-FS630/W Batteryhttp://www.batteryfast.ca/sony/vgn-fs635b-w.htm Sony VGN-FS635B/W Batteryhttp://www.batteryfast.ca/sony/vgn-fs640-w.htm Sony VGN-FS640/W Batteryhttp://www.batteryfast.ca/sony/vgn-fs645p-h.htm Sony VGN-FS645P/H Batteryhttp://www.batteryfast.ca/sony/vgn-fs660-w.htm Sony VGN-FS660/W Batteryhttp://www.batteryfast.ca/sony/vgn-fs675p-h.htm Sony VGN-FS675P/H Batteryhttp://www.batteryfast.ca/sony/vgn-fs680-w.htm Sony VGN-FS680/W Batteryhttp://www.batteryfast.ca/sony/vgn-fs690.htm Sony VGN-FS690 Batteryhttp://www.batteryfast.ca/sony/vgn-fs70b.htm Sony VGN-FS70B Batteryhttp://www.batteryfast.ca/sony/vgn-fs71b.htm Sony VGN-FS71B Batteryhttp://www.batteryfast.ca/sony/vgn-fs740-w.htm Sony VGN-FS740/W Batteryhttp://www.batteryfast.ca/sony/vgn-fs742-w.htm Sony VGN-FS742/W Batteryhttp://www.batteryfast.ca/sony/vgn-fs745p-h.htm Sony VGN-FS745P/H Batteryhttp://www.batteryfast.ca/sony/vgn-fs750p-w.htm Sony VGN-FS750P/W Batteryhttp://www.batteryfast.ca/sony/vgn-fs775p-h.htm Sony VGN-FS775P/H Batteryhttp://www.batteryfast.ca/sony/vgn-fs780-w.htm Sony VGN-FS780/W Batteryhttp://www.batteryfast.ca/sony/vgn-fs790.htm Sony VGN-FS790 Batteryhttp://www.batteryfast.ca/sony/vgn-fs90ps.htm Sony VGN-FS90PS Batteryhttp://www.batteryfast.ca/sony/vgn-fs90s.htm Sony VGN-FS90S Batteryhttp://www.batteryfast.ca/sony/vgn-fs91ps.htm Sony VGN-FS91PS Batteryhttp://www.batteryfast.ca/sony/vgn-fs91psy.htm Sony VGN-FS91PSY Batteryhttp://www.batteryfast.ca/sony/vgn-fs91s.htm Sony VGN-FS91S Batteryhttp://www.batteryfast.ca/sony/vgn-fs92ps.htm Sony VGN-FS92PS Batteryhttp://www.batteryfast.ca/sony/vgn-fs92s.htm Sony VGN-FS92S Batteryhttp://www.batteryfast.ca/sony/vgn-fz140e-b.htm Sony VGN-FZ140E/B Batteryhttp://www.batteryfast.ca/sony/vgn-fz140eb.htm Sony VGN-FZ140EB Batteryhttp://www.batteryfast.ca/sony/vgn-fz140n.htm Sony VGN-FZ140N Batteryhttp://www.batteryfast.ca/sony/vgn-fz145e.htm Sony VGN-FZ145E Batteryhttp://www.batteryfast.ca/sony/vgn-fz15.htm Sony VGN-FZ15 Batteryhttp://www.batteryfast.ca/sony/vgn-fz150e.htm Sony VGN-FZ150E Batteryhttp://www.batteryfast.ca/sony/vgn-fz150e-bc.htm Sony VGN-FZ150E/BC Batteryhttp://www.batteryfast.ca/sony/vgn-fz150ebc.htm Sony VGN-FZ150EBC Batteryhttp://www.batteryfast.ca/sony/vgn-fz15g.htm Sony VGN-FZ15G Batteryhttp://www.batteryfast.ca/sony/vgn-fz15l.htm Sony VGN-FZ15L Batteryhttp://www.batteryfast.ca/sony/vgn-fz15m.htm Sony VGN-FZ15M Batteryhttp://www.batteryfast.ca/sony/vgn-fz15s.htm Sony VGN-FZ15S Batteryhttp://www.batteryfast.ca/sony/vgn-fz15t.htm Sony VGN-FZ15T Batteryhttp://www.batteryfast.ca/sony/vgn-fz160e.htm Sony VGN-FZ160E Batteryhttp://www.batteryfast.ca/sony/vgn-fz160e-b.htm Sony VGN-FZ160E/B Batteryhttp://www.batteryfast.ca/sony/vgn-fz160eb.htm Sony VGN-FZ160EB Batteryhttp://www.batteryfast.ca/sony/vgn-fz17.htm Sony VGN-FZ17 Batteryhttp://www.batteryfast.ca/sony/vgn-fz17g.htm Sony VGN-FZ17G Batteryhttp://www.batteryfast.ca/sony/vgn-fz17l.htm Sony VGN-FZ17L Batteryhttp://www.batteryfast.ca/sony/vgn-fz18.htm Sony VGN-FZ18 Battery

Leave a Comment

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s