<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Thinking of a title</title>
	<atom:link href="http://msgeek08.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://msgeek08.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Mon, 20 Oct 2008 20:44:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='msgeek08.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Thinking of a title</title>
		<link>http://msgeek08.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://msgeek08.wordpress.com/osd.xml" title="Thinking of a title" />
	<atom:link rel='hub' href='http://msgeek08.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Active Directory Unattended Installation using an Answer File</title>
		<link>http://msgeek08.wordpress.com/2008/10/20/active-directory-unattended-installation-using-an-answer-file/</link>
		<comments>http://msgeek08.wordpress.com/2008/10/20/active-directory-unattended-installation-using-an-answer-file/#comments</comments>
		<pubDate>Mon, 20 Oct 2008 20:42:00 +0000</pubDate>
		<dc:creator>aelbadaoui</dc:creator>
				<category><![CDATA[Active Directory]]></category>

		<guid isPermaLink="false">http://msgeek08.wordpress.com/?p=3</guid>
		<description><![CDATA[Answer File for creating a New Forest Open Notepad or any text editor. Type the following entries, one entry in each line: [DCINSTALL] InstallDNS=yes NewDomain=forest NewDomainDNSName=&#60;fully qualified DNS Name&#62; DomainNetBiosName=&#60;first label of the FQDN, by default&#62; ReplicaOrNewDomain=domain ForestLevel=&#60;forest functional level number&#62; DomainLevel=&#60;domain functional level number&#62; DatabasePath=&#60;path to a folder on local volume, surrounded by double [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msgeek08.wordpress.com&amp;blog=5240531&amp;post=3&amp;subd=msgeek08&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Answer File for creating a New Forest</p>
<ol>
<li>Open Notepad or any text editor.</li>
<li>
<div>Type the following entries, one entry in each line:</div>
<p><span style="font-family:Bookman Old Style;"><strong>[DCINSTALL] </strong></span></p>
<p><strong><span style="font-family:Bookman Old Style;">InstallDNS=</span>yes </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">NewDomain=</span>forest </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">NewDomainDNSName=&lt;</span>fully qualified DNS Name&gt; </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">DomainNetBiosName=&lt;</span>first label of the FQDN, by default&gt; </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">ReplicaOrNewDomain=</span>domain </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">ForestLevel=&lt;</span>forest functional level number&gt; </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">DomainLevel=&lt;</span>domain functional level number&gt; </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">DatabasePath=</span>&lt;path to a folder on local volume, surrounded by double quotation marks&gt; </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">LogPath=</span>&lt;path to a folder on a local volume, surrounded by double quotation marks&gt; </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">RebootOnCompletion=</span>yes </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">SYSVOLPath=&lt;</span>path to a folder on local volume, surrounded by double quotation marks&gt; </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">SafeModeAdminPassword=&lt;</span>password&gt; </strong></li>
<li>Save the answer file to the location on the installation server from which it is to be called by Dcpromo.</li>
<li>
<div>To install a new domain controller by using the answer file created above, at the command prompt, type the following and then press ENTER:</div>
<p><strong><span style="font-family:Bookman Old Style;">dcpromo /unattend:&#8221;</span>path to the answer file&#8221; </strong></li>
</ol>
<h2>Installing a new forest by entering the unattended installation parameters at the command line</h2>
<p>Suppose you have an answer file that lists a blank Directory Services Restore Mode password like:</p>
<p><span style="font-family:Bookman Old Style;"><strong>SafeModeAdminPassword= </strong></span></p>
<p>Then you can supply the value for this password at the command prompt like:</p>
<p><span style="font-family:Bookman Old Style;">dcpromo /unattend:&#8221;</span>path to answer file&#8221;<span style="font-family:Bookman Old Style;"><strong>SafeModeAdminPassword</strong>=</span>C^n3478#9k</p>
<p>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.</p>
<p>You can therefore install a new domain controller for a new forest by entering all required unattended parameters at the command line:</p>
<p><strong><span style="font-family:Bookman Old Style;">dcpromo /autoConfigDNS</span>:yes <span style="font-family:Bookman Old Style;">/dnsOnNetwork:</span>yes <span style="font-family:Bookman Old Style;">/replicaOrNewDomain:</span>domain <span style="font-family:Bookman Old Style;">/newDomain:</span>forest <span style="font-family:Bookman Old Style;">/newDomainDNSName:</span>contoso.com <span style="font-family:Bookman Old Style;">/DomainNetbiosName:</span>contoso <span style="font-family:Bookman Old Style;">/databasePath:&#8221;</span>e:\ntds&#8221; <span style="font-family:Bookman Old Style;">/logPath:</span>&#8220;e:\ntdslogs&#8221; <span style="font-family:Bookman Old Style;">/sysvolPath:&#8221;</span>g:\sysvol&#8221; <span style="font-family:Bookman Old Style;">/safeModeAdminPassword:</span>GH^&amp;898# <span style="font-family:Bookman Old Style;">/forestLevel:</span>2 <span style="font-family:Bookman Old Style;">/domainLevel:</span>2 <span style="font-family:Bookman Old Style;">/rebootOnCompletion:</span>yes </strong></p>
<h2>Forest Functional Levels</h2>
<div>
<table style="border-collapse:collapse;" border="0">
<col style="width:103px;"></col>
<col style="width:162px;"></col>
<col style="width:198px;"></col>
<tbody>
<tr>
<td style="border:1pt 1pt 2.25pt solid #4f81bd;"><strong>Level Number</strong></td>
<td style="border:1pt 1pt 2.25pt medium solid solid solid none #4f81bd #4f81bd #4f81bd 0;"><strong>Forest Functional Level</strong></td>
<td style="border:1pt 1pt 2.25pt medium solid solid solid none #4f81bd #4f81bd #4f81bd 0;"><strong>Supported Domain Controllers</strong></td>
</tr>
<tr style="background:#d3dfee none repeat scroll 0 50%;">
<td style="border:medium 1pt 1pt none solid solid 0 #4f81bd #4f81bd;"><strong>1</strong></td>
<td style="border:medium 1pt 1pt medium none solid solid none 0 #4f81bd #4f81bd 0;">Windows 2000</td>
<td style="border:medium 1pt 1pt medium none solid solid none 0 #4f81bd #4f81bd 0;">Windows Server 2008</p>
<p>Windows Server 2003</p>
<p>Windows Server 2000</td>
</tr>
<tr>
<td style="border:medium 1pt 1pt none solid solid 0 #4f81bd #4f81bd;"><strong>2</strong></td>
<td style="border:medium 1pt 1pt medium none solid solid none 0 #4f81bd #4f81bd 0;">Windows 2003</td>
<td style="border:medium 1pt 1pt medium none solid solid none 0 #4f81bd #4f81bd 0;">Windows Server 2008</p>
<p>Windows Server 2003</td>
</tr>
<tr style="background:#d3dfee none repeat scroll 0 50%;">
<td style="border:medium 1pt 1pt none solid solid 0 #4f81bd #4f81bd;"><strong>3</strong></td>
<td style="border:medium 1pt 1pt medium none solid solid none 0 #4f81bd #4f81bd 0;">Windows 2008</td>
<td style="border:medium 1pt 1pt medium none solid solid none 0 #4f81bd #4f81bd 0;">Windows Server 2008</td>
</tr>
</tbody>
</table>
</div>
<h2>Domain Functional Levels</h2>
<div>
<table style="border-collapse:collapse;" border="0">
<col style="width:103px;"></col>
<col style="width:162px;"></col>
<col style="width:198px;"></col>
<tbody>
<tr>
<td style="border:1pt 1pt 2.25pt solid #4f81bd;"><strong>Level Number</strong></td>
<td style="border:1pt 1pt 2.25pt medium solid solid solid none #4f81bd #4f81bd #4f81bd 0;"><strong>Domain Functional Level</strong></td>
<td style="border:1pt 1pt 2.25pt medium solid solid solid none #4f81bd #4f81bd #4f81bd 0;"><strong>Supported Domain Controllers</strong></td>
</tr>
<tr style="background:#d3dfee none repeat scroll 0 50%;">
<td style="border:medium 1pt 1pt none solid solid 0 #4f81bd #4f81bd;"><strong>1</strong></td>
<td style="border:medium 1pt 1pt medium none solid solid none 0 #4f81bd #4f81bd 0;">Windows 2000 native</td>
<td style="border:medium 1pt 1pt medium none solid solid none 0 #4f81bd #4f81bd 0;">Windows 2000</p>
<p>Windows 2003</p>
<p>Windows 2008</td>
</tr>
<tr>
<td style="border:medium 1pt 1pt none solid solid 0 #4f81bd #4f81bd;"><strong>2</strong></td>
<td style="border:medium 1pt 1pt medium none solid solid none 0 #4f81bd #4f81bd 0;">Windows Server 2003</td>
<td style="border:medium 1pt 1pt medium none solid solid none 0 #4f81bd #4f81bd 0;">Windows Server 2003</p>
<p>Windows Server 2008</td>
</tr>
<tr style="background:#d3dfee none repeat scroll 0 50%;">
<td style="border:medium 1pt 1pt none solid solid 0 #4f81bd #4f81bd;"><strong>3</strong></td>
<td style="border:medium 1pt 1pt medium none solid solid none 0 #4f81bd #4f81bd 0;">Windows Server 2008</td>
<td style="border:medium 1pt 1pt medium none solid solid none 0 #4f81bd #4f81bd 0;">Windows Server 2008</td>
</tr>
</tbody>
</table>
</div>
<h2>Answer File for creating a new Windows Server 2008 Child Domain</h2>
<ol>
<li>Open Notepad or any text editor.</li>
<li>
<div>Type the following entries, one entry in each line:</div>
<p><span style="font-family:Bookman Old Style;"><strong>[DCINSTALL] </strong></span></p>
<p><strong><span style="font-family:Bookman Old Style;">ParentDomainDNSName</span>=&lt;FQDN of the parent domain&gt;<span style="font-family:Bookman Old Style;"> </span></strong></p>
<p><strong><span style="font-family:Bookman Old Style;">UserName</span>=&lt;administrative account in the parent domain&gt;<span style="font-family:Bookman Old Style;"> </span></strong></p>
<p><strong><span style="font-family:Bookman Old Style;">Password</span>=&lt;specify * to have the user be prompted for credentials during </strong></p>
<p style="margin-left:36pt;"><strong>installation&gt; </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">NewDomain=</span>child </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">ChildName=&lt;</span>Single-label DNS name for the new domain&gt; </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">DomainNetBiosName</span>=&lt;first label of the FQDN, by default&gt; </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">ReplicaOrNewDomain=</span>domain </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">DomainLevel=&lt;</span>domain functional level number; value cannot be lower than the current </strong></p>
<p><strong><span style="font-family:Bookman Old Style;"> </span>functional level value of the forest &gt; </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">DatabasePath=</span>&lt;path to a folder on local volume, surrounded by double quotation marks&gt; </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">LogPath=</span>&lt;path to a folder on a local volume, surrounded by double quotation marks&gt; </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">RebootOnCompletion=</span>yes </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">SYSVOLPath=&lt;</span>path to a folder on local volume, surrounded by double quotation marks&gt; </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">InstallDNS=yes</span> </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">DNSDelegation=</span>yes </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">DNSDelegationUserName=&lt;</span>DNS administrator account in the parent domain;specify * </strong></p>
<p style="margin-left:108pt;"><strong>to have the user be prompted for credentials at the run time&gt; </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">DNSDelegationPassword=&lt;</span>password of the account specified above or *&gt; </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">SafeModeAdminPassword=&lt;</span>password&gt; </strong></p>
<p><strong><span style="font-family:Bookman Old Style;">RebootOnCompletion=yes</span> </strong></li>
<li>Save the answer file to the location on the installation server from which it is to be called by Dcpromo.</li>
<li>
<div>To install a new domain controller by using the answer file created above, at the command prompt, type the following and then press ENTER:</div>
<p><strong><span style="font-family:Bookman Old Style;">dcpromo /unattend:&#8221;</span>path to the answer file&#8221; </strong></li>
</ol>
<p>References: <a href="http://technet2.microsoft.com/windowsserver2008">http://technet2.microsoft.com/windowsserver2008</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/msgeek08.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/msgeek08.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/msgeek08.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/msgeek08.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/msgeek08.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/msgeek08.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/msgeek08.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/msgeek08.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/msgeek08.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/msgeek08.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/msgeek08.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/msgeek08.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/msgeek08.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/msgeek08.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=msgeek08.wordpress.com&amp;blog=5240531&amp;post=3&amp;subd=msgeek08&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://msgeek08.wordpress.com/2008/10/20/active-directory-unattended-installation-using-an-answer-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4773f2881d905eb157bc8ad84c69f6f7?s=96&#38;d=identicon" medium="image">
			<media:title type="html">aelbadaoui</media:title>
		</media:content>
	</item>
	</channel>
</rss>
