<?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/"
	>

<channel>
	<title>totalnetsolutions.net &#187; Domain Controllers</title>
	<atom:link href="http://www.totalnetsolutions.net/category/tech/windows/dcs/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.totalnetsolutions.net</link>
	<description>totalnetsolutions.net - Complete Networking Solutions for business</description>
	<lastBuildDate>Wed, 14 Jul 2010 14:29:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>DCPromo Windows Server 2008 Server Core</title>
		<link>http://www.totalnetsolutions.net/2008/03/20/dcpromo-windows-server-2008-server-core/</link>
		<comments>http://www.totalnetsolutions.net/2008/03/20/dcpromo-windows-server-2008-server-core/#comments</comments>
		<pubDate>Fri, 21 Mar 2008 04:06:56 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Domain Controllers]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[domain controllers]]></category>
		<category><![CDATA[Server Core]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[Windows Server 2008]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/2008/03/20/dcpromo-windows-server-2008-server-core/</guid>
		<description><![CDATA[I built a Windows Server 2008 Server Core DC last week. It&#8217;s an interesting exercise because you have to use an unattend.txt file. I found quite a few places online that listed RODC unattend.txt files, but not full read-write DC unattend.txt files. So, attached to this post you&#8217;ll find the unattend.txt I used, but also, [...]]]></description>
			<content:encoded><![CDATA[<p>I built a Windows Server 2008 Server Core DC last week.  It&#8217;s an interesting exercise because you have to use an unattend.txt file.  I found quite a few places online that listed RODC unattend.txt files, but not full read-write DC unattend.txt files.  So, attached to this post you&#8217;ll find the unattend.txt I used, but also, of more interest, I&#8217;m attaching the full help file directly from the server, which I used to create the file.</p>
<p>FIrst, you have to install the server and set an IP address &#8211; my previous posts on IP changes on DCs all used netsh commands as well, so if you followed thouse, you should be somewhat prepared for Server Core.  I already had a WIndows Server 2003 DC in the environment, so that will be my primary DNS server for the install, untill DCPromo edits the settings.<code><br />
netsh interface ipv4 set address local static 10.1.1.6 255.255.255.0 10.1.1.1 10<br />
netsh interface ipv4 set dns local static 10.1.1.5<br />
netsh interface ipv4 set wins local static 10.1.1.5</code></p>
<p>Now networking is set up, we can rename the computer: <code>netdom renamecomputer %computername% /NewName:dc02</code> and join the domain with <code>netdom join dc02 /domain:foo.local /UserD:FOO\Administrator /reboot:5 /PasswordD:*</code>.  The &#8220;5&#8243; after the reboot flag says to reboot 5 seconds after completion, and the &#8220;*&#8221; at the end says to prompt you for your password.  I join the system to the domain manually first, because then I can WSUS patch it (if WSUS is in the network), or open up the firewall for any other patching software I have.</p>
<p>Once the server is back from reboot, activate, update the firewall to allow remote MMC connections (if you&#8217;re not doing that through GPO already), and install new roles.<code><br />
slmgr.vbs -ato<br />
netsh advfirewall firewall set rule group="Remote Administration" new enable=yes<br />
</code><br />
The following roles are optional, depending on the service of the server.  Mine has DNS and the File Server roles, but not DHCP. <strong>None of these are required to install AD Domain Services!</strong><code><br />
start /w ocsetup DNS-Server-Core-Role<br />
start /w ocsetup DHCPServerCore<br />
start /w ocsetup FRS-Infrastructure<br />
start /w ocsetup DFSN-Server<br />
start /w ocsetup DFSR-Infrastructure-ServerEdition</code></p>
<p>If this is the first Windows Server 2008 DC in your environment, you&#8217;ll need to take the Windows Server 2008 DVD to the DC with the Infrastructure Master role (required for /gpprep only) and run the following (E: assumed as DVD-ROM drive):<code><br />
e:\sources\adprep\adprep.exe /forestprep<br />
e:\sources\adprep\adprep.exe /domainprep<br />
e:\sources\adprep\adprep.exe /domainprep /gpprep</code>  (Also run adprep /rodcPrep if you plan on building RODCs.)</p>
<p>Now you&#8217;re ready to do the DCPromo itself.  Create an unattend.txt file.  To add a DC to an existing domain, you can use:<code><br />
[DCInstall]<br />
AutoConfigDNS=Yes<br />
ConfirmGc=Yes<br />
DatabasePath=E:\Windows\NTDS<br />
LogPath=c:\windows\NTDS<br />
RebootOnSuccess=Yes<br />
ReplicaDomainDNSName=foo.local<br />
ReplicaOrNewDomain=Replica<br />
ReplicationSourceDC=dc01.foo.local<br />
SafeModeAdminPassword=passwordhere<br />
SysVolPath=e:\windows\SysVol<br />
UserDomain=foo.local<br />
/Password:passwordhere</code></p>
<p>DCPromo will wipe out the passwords when it starts, or you can fill in &#8220;*&#8221; instead of the password, to be prompted.  When it&#8217;s done, the server will reboot and be a new Global Catalog / DC in your domain.  DCPromo will install neccessary binaries and configure the firewall for DC Services for you.  It&#8217;s quite slick.</p>
<p>And as promised, here are the <a href="http://www.totalnetsolutions.net/wp-content/uploads/2008/03/dcpromo-unattend-switches.txt" title="DCPromo Unattend Options">DCPromo Unattend Options</a> for reference for creating your own unattend.txt.<a href="http://www.totalnetsolutions.net/wp-content/uploads/2008/03/dcpromo-unattend-switches.txt" title="DCPromo Unattend Options"> </a></p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2008%2F03%2F20%2Fdcpromo-windows-server-2008-server-core%2F&amp;title=DCPromo+Windows+Server+2008+Server+Core" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2008%2F03%2F20%2Fdcpromo-windows-server-2008-server-core%2F&amp;title=DCPromo+Windows+Server+2008+Server+Core" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2008%2F03%2F20%2Fdcpromo-windows-server-2008-server-core%2F&amp;title=DCPromo+Windows+Server+2008+Server+Core" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2008%2F03%2F20%2Fdcpromo-windows-server-2008-server-core%2F&amp;title=DCPromo+Windows+Server+2008+Server+Core" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2008%2F03%2F20%2Fdcpromo-windows-server-2008-server-core%2F&amp;title=DCPromo+Windows+Server+2008+Server+Core', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.totalnetsolutions.net%2F2008%2F03%2F20%2Fdcpromo-windows-server-2008-server-core%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.totalnetsolutions.net%2F2008%2F03%2F20%2Fdcpromo-windows-server-2008-server-core%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.totalnetsolutions.net%2F2008%2F03%2F20%2Fdcpromo-windows-server-2008-server-core%2F&amp;title=DCPromo+Windows+Server+2008+Server+Core" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2008%2F03%2F20%2Fdcpromo-windows-server-2008-server-core%2F&amp;title=DCPromo+Windows+Server+2008+Server+Core" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2008/03/20/dcpromo-windows-server-2008-server-core/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>DEC 2008 &#8211; Chicago</title>
		<link>http://www.totalnetsolutions.net/2008/01/28/dec-2008-chicago/</link>
		<comments>http://www.totalnetsolutions.net/2008/01/28/dec-2008-chicago/#comments</comments>
		<pubDate>Tue, 29 Jan 2008 02:21:02 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Domain Controllers]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/2008/01/28/dec-2008-chicago/</guid>
		<description><![CDATA[I have been invited to present at the Directory Experts Conference in Chicago in March, hosted by NetPro Computing, Inc.. I&#8217;ll be discussing how we recently integrated dozens of Linux servers into our 300+ server Windows 2000 Native Mode forest. I&#8217;m excited, but it&#8217;s taking away from the time to update a few things here [...]]]></description>
			<content:encoded><![CDATA[<p>I have been invited to present at the <a href="http://www.directoryexpertsconference.com" target="_blank">Directory Experts Conference</a> in Chicago in March, hosted by <a href="http://www.netpro.com" target="_blank">NetPro Computing, Inc.</a>.  I&#8217;ll be discussing how we recently integrated dozens of Linux servers into our 300+ server Windows 2000 Native Mode forest.  I&#8217;m excited, but it&#8217;s taking away from the time to update a few things here I have in &#8220;unpublished&#8221; state.</p>
<p>Of note is a response for T. Colin Dodd regaring his short and sweet post regarding <a href="http://truthhappens.redhatmagazine.com/2008/01/16/red-hat-flaws/trackback/" target="_blank">Red Hat Flaws</a> according to Secunia.  In short, Mr. Dodd (please correct me if the address is wrong), yes, Red Hat should be proud of what they&#8217;ve accomplished, but&#8230;</p>
<p>Well, that&#8217;s 2 pages of text that&#8217;s not yet finished.</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2008%2F01%2F28%2Fdec-2008-chicago%2F&amp;title=DEC+2008+%26%238211%3B+Chicago" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2008%2F01%2F28%2Fdec-2008-chicago%2F&amp;title=DEC+2008+%26%238211%3B+Chicago" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2008%2F01%2F28%2Fdec-2008-chicago%2F&amp;title=DEC+2008+%26%238211%3B+Chicago" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2008%2F01%2F28%2Fdec-2008-chicago%2F&amp;title=DEC+2008+%26%238211%3B+Chicago" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2008%2F01%2F28%2Fdec-2008-chicago%2F&amp;title=DEC+2008+%26%238211%3B+Chicago', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.totalnetsolutions.net%2F2008%2F01%2F28%2Fdec-2008-chicago%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.totalnetsolutions.net%2F2008%2F01%2F28%2Fdec-2008-chicago%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.totalnetsolutions.net%2F2008%2F01%2F28%2Fdec-2008-chicago%2F&amp;title=DEC+2008+%26%238211%3B+Chicago" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2008%2F01%2F28%2Fdec-2008-chicago%2F&amp;title=DEC+2008+%26%238211%3B+Chicago" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2008/01/28/dec-2008-chicago/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cross-forest trusts and new error codes</title>
		<link>http://www.totalnetsolutions.net/2007/12/09/cross-forest-trusts-and-new-error-codes/</link>
		<comments>http://www.totalnetsolutions.net/2007/12/09/cross-forest-trusts-and-new-error-codes/#comments</comments>
		<pubDate>Mon, 10 Dec 2007 05:29:43 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Domain Controllers]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[active directory]]></category>
		<category><![CDATA[domain controllers]]></category>
		<category><![CDATA[trusts]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/2007/12/09/cross-forest-trusts-and-new-error-codes/</guid>
		<description><![CDATA[If you are setting up a cross-forest trust with selective authentication (which requires a Windows Server 2003 Native mode level forest and domain), don&#8217;t forget to grant the &#8220;Allowed to Authenticate&#8221; right to the users from the trusted domain to the servers they&#8217;ll need access to in your domain. The error messages you&#8217;ll get back [...]]]></description>
			<content:encoded><![CDATA[<p>If you are setting up a cross-forest trust with selective authentication (which requires a Windows Server 2003 Native mode level forest and domain), don&#8217;t forget to grant the &#8220;Allowed to Authenticate&#8221; right to the users from the trusted domain to the servers they&#8217;ll need access to in your domain.  The error messages you&#8217;ll get back (replicated here in my test VM domains) don&#8217;t really say much helpful.</p>
<p>System Error 317 has occurred.  The system cannot find message text for message number 0x*** in the message file for ***.<br />
<br /><img src="http://www.totalnetsolutions.net/wp-content/uploads/2007/12/system317.png" alt="System Error 317" /></p>
<p>Further information about adding the &#8220;Allowed to Authenticate&#8221; right to the trusted users is available <a href=http://technet2.microsoft.com/windowsserver/en/library/b4d96434-0fde-4370-bd29-39e4b3cc7da81033.mspx?mfr=true" target="_blank">at Microsoft TechNet</a>.  If you have the opportunity to raise your forest and domain functional levels to take advantage of this, I highly recommend it.  But I recommend also (even more strongly) documenting precisely what you set.</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F12%2F09%2Fcross-forest-trusts-and-new-error-codes%2F&amp;title=Cross-forest+trusts+and+new+error+codes" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F12%2F09%2Fcross-forest-trusts-and-new-error-codes%2F&amp;title=Cross-forest+trusts+and+new+error+codes" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F12%2F09%2Fcross-forest-trusts-and-new-error-codes%2F&amp;title=Cross-forest+trusts+and+new+error+codes" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F12%2F09%2Fcross-forest-trusts-and-new-error-codes%2F&amp;title=Cross-forest+trusts+and+new+error+codes" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F12%2F09%2Fcross-forest-trusts-and-new-error-codes%2F&amp;title=Cross-forest+trusts+and+new+error+codes', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F12%2F09%2Fcross-forest-trusts-and-new-error-codes%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F12%2F09%2Fcross-forest-trusts-and-new-error-codes%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F12%2F09%2Fcross-forest-trusts-and-new-error-codes%2F&amp;title=Cross-forest+trusts+and+new+error+codes" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F12%2F09%2Fcross-forest-trusts-and-new-error-codes%2F&amp;title=Cross-forest+trusts+and+new+error+codes" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2007/12/09/cross-forest-trusts-and-new-error-codes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To: Change a Domain Controller IP address: Multi-DCs</title>
		<link>http://www.totalnetsolutions.net/2007/10/08/how-to-change-a-domain-controller-ip-address-multi-dcs/</link>
		<comments>http://www.totalnetsolutions.net/2007/10/08/how-to-change-a-domain-controller-ip-address-multi-dcs/#comments</comments>
		<pubDate>Mon, 08 Oct 2007 18:17:51 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Domain Controllers]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/2007/10/08/how-to-change-a-domain-controller-ip-address-multi-dcs/</guid>
		<description><![CDATA[First, reference back to my first post on Domain Controller IP/Subnet changes. The nice thing about changing IP addresses on DCs in a larger environment, is that it’s actually easier. I have to keep this one quick for now, but will expand based on comments, which you all seem pretty good at leaving (and thank [...]]]></description>
			<content:encoded><![CDATA[<p>First, reference back to my <a href="http://www.totalnetsolutions.net/2007/07/29/how-to-change-a-domain-controller-ip-address/" target="_blank">first post</a> on Domain Controller IP/Subnet changes. The nice thing about changing IP addresses on DCs in a larger environment, is that it’s actually easier. I have to keep this one quick for now, but will expand based on comments, which you all seem pretty good at leaving (and thank you!). Please, PLEASE refer back to the first post &#8211; this one is only an expansion on that one.</p>
<ol>
<li>Same as before: why are you changing IPs? In larger environments, I do this because of a physical move of just one site. If the networking team doesn’t have the new subnet up and routing, don’t start!</li>
<li>Make sure the new site (if required) is set up in AD. If I’m moving DCs from one physical location to another, I will build a new site, rather than re-using the old one, because the new site often has better connectivity, so the site link costs are changing.<span id="more-36"></span></li>
<li>Add the new IP to the DC you’re moving (DC01 for this).  Same as before: don’t remove the old one, just add the new.</li>
<li>On DC01, do the following to verify registration worked:<br />
<code>ipconfig /registerdns</code><br />
Wait a few minutes.<br />
<code>nslookup<br />
server DC01<br />
set type=A<br />
DC01.foobar.local<br />
foobar.local<br />
server DC02<br />
DC01.foobar.local<br />
foobar.local</code><br />
The answers from DC01 and DC02 should be the same, with possibly different orders. The important thing is that the new IP address and the old IP address show up for both queries on both servers.</li>
<li>Shut down DC01, pack it up and move it. (Or just plug it into the new network.)</li>
<li>Boot up, verify that DC01 has network connectivity, and that other systems can see that it has the new IP.</li>
<li>If you haven’t, make the new IP primary (change order in Network settings), make sure the DNS and WINS servers are correct and reachable (Remember that Windows 2003 DNS should point <a href="http://support.microsoft.com/kb/825036" onclick="javascript:urchinTracker ('/outgoing/support.microsoft.com/kb/825036');" target="_blank">to itself</a>).</li>
<li>Once verifying that AD is replicating across sites properly (up to 15 minutes in my experience), remove the old IP, <code>ipconfig /registerdns</code>, and reboot.</li>
<li>When it comes back up re-verify that AD is still replicating, and you should be set.</li>
</ol>
<p>I would point out that when doing a change this big to your environment, reviewing your AD replication, DNS forwarding, and WINS topology is a good idea.</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F10%2F08%2Fhow-to-change-a-domain-controller-ip-address-multi-dcs%2F&amp;title=How+To%3A+Change+a+Domain+Controller+IP+address%3A+Multi-DCs" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F10%2F08%2Fhow-to-change-a-domain-controller-ip-address-multi-dcs%2F&amp;title=How+To%3A+Change+a+Domain+Controller+IP+address%3A+Multi-DCs" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F10%2F08%2Fhow-to-change-a-domain-controller-ip-address-multi-dcs%2F&amp;title=How+To%3A+Change+a+Domain+Controller+IP+address%3A+Multi-DCs" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F10%2F08%2Fhow-to-change-a-domain-controller-ip-address-multi-dcs%2F&amp;title=How+To%3A+Change+a+Domain+Controller+IP+address%3A+Multi-DCs" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F10%2F08%2Fhow-to-change-a-domain-controller-ip-address-multi-dcs%2F&amp;title=How+To%3A+Change+a+Domain+Controller+IP+address%3A+Multi-DCs', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F10%2F08%2Fhow-to-change-a-domain-controller-ip-address-multi-dcs%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F10%2F08%2Fhow-to-change-a-domain-controller-ip-address-multi-dcs%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F10%2F08%2Fhow-to-change-a-domain-controller-ip-address-multi-dcs%2F&amp;title=How+To%3A+Change+a+Domain+Controller+IP+address%3A+Multi-DCs" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F10%2F08%2Fhow-to-change-a-domain-controller-ip-address-multi-dcs%2F&amp;title=How+To%3A+Change+a+Domain+Controller+IP+address%3A+Multi-DCs" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2007/10/08/how-to-change-a-domain-controller-ip-address-multi-dcs/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Software Discovery: Centrify DirectControl</title>
		<link>http://www.totalnetsolutions.net/2007/09/08/software-discovery-centrify-directcontrol/</link>
		<comments>http://www.totalnetsolutions.net/2007/09/08/software-discovery-centrify-directcontrol/#comments</comments>
		<pubDate>Sun, 09 Sep 2007 02:04:41 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Domain Controllers]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/2007/09/08/software-discovery-centrify-directcontrol/</guid>
		<description><![CDATA[I just finished evaluating an excellent piece of software for Windows / Linux hybrid shops: Centrify Corporation’s DirectControl Suite. This is a fantastically well executed integration suite which allows administrators to bring their GNU/Linux and Unix boxes into the Windows ActiveDirectory domain. This brings centralized control of UID/GID (like NIS), the mutual authentication of Kerberos, [...]]]></description>
			<content:encoded><![CDATA[<p>I just finished evaluating an excellent piece of software for Windows / Linux hybrid shops: <a href="http://www.centrify.com/" onclick="javascript:urchinTracker ('/outgoing/www.centrify.com');" target="_blank">Centrify Corporation’s</a> <a href="http://www.centrify.com/directcontrol/overview.asp" onclick="javascript:urchinTracker ('/outgoing/www.centrify.com/directcontrol/overview.asp');" target="_blank">DirectControl Suite</a>. This is a fantastically well executed integration suite which allows administrators to bring their GNU/Linux and Unix boxes into the Windows ActiveDirectory domain. This brings centralized control of UID/GID (like NIS), the mutual authentication of Kerberos, and centralized Group Policy control to Linux/Unix.</p>
<p>First off, I’d like to mention that the software installs first on a Windows “console” system. That install has the <strong>option</strong> of extending the schema, but it is not required (the extensions allows administrators to use the Centrify Profile tab for users and computers without installing the Centrify Console locally).  All required pieces work with the standard out-of-the-box Windows 2003 AD schema.  Although the view extensions are well worth it, if you can get them approved by your AD administrative team.</p>
<p>I installed this on a Debian Etch system and a Red Hat Enterprise Linux 4 box.  They ship RPM and DEB installers, so installation is a snap, and shows up in your package manager.  Restarting the systems was not required, but a few systems may not pick up the new PAM settings without at least a reload (OpenSSH did fine).</p>
<p>One of the best parts of this software, however, is in their updated version of OpenSSH to support Windows Kerberos tickets for authentication of users.  Single-signon to any Linux box from Linux or Windows (customized Putty for the same reason) without having to copy RSA keys across your network every time you build a box.  Now my Oracle admins can log into the 10g databases seamlessly (yes, they support Oracle authenticating through AD as well).</p>
<p>Of course, no solution that integrates into AD would be complete without support for Group Policy.  As a huge user of Group Policy (I have 8 GPOs on my home domain), this is key for me.  The thing that makes it so spectacular, is that they just install new ADM files to your console system.  That’s it &#8211; no new trees needed, just new ADM files with settings specific to Linux like “SuDoers entries” and “SSH settings”.  Just like GPO on Windows, they’re applied every 90+-30 minutes, and when you remove the system from the policy, the settings get pulled.  For the Sudoers settings, they are appended to the end of the existing file.  Also, many of your security settings for Windows boxes are read directly by the Centrify systems as well, including password expiration notices, lockout policy handling, etc.</p>
<p>There are so many other little features that show how well thought-out the system is.  The client can be configured to cache logons similar to Windows, so you can control your Linux laptops, and still enable the users to log in when they’re on the road. There are several scripts and other tools to help “suck” the users out of /etc/passwd and NIS into AD, to help keep your UIDs in check if you’re installing the client into existing servers.</p>
<p>And that’s just the operating system.  JBoss, WebSphere, Apache and other applications and middleware can be AD-enabled, and anything that uses PAM is automatically AD-enabled, giving you the ability to set up true single sign-on everywhere in your network, if you so choose.</p>
<p>Needless to say, we purchased it, and I’ll be integrating this into all my deployments from this point forward.</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F09%2F08%2Fsoftware-discovery-centrify-directcontrol%2F&amp;title=Software+Discovery%3A+Centrify+DirectControl" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F09%2F08%2Fsoftware-discovery-centrify-directcontrol%2F&amp;title=Software+Discovery%3A+Centrify+DirectControl" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F09%2F08%2Fsoftware-discovery-centrify-directcontrol%2F&amp;title=Software+Discovery%3A+Centrify+DirectControl" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F09%2F08%2Fsoftware-discovery-centrify-directcontrol%2F&amp;title=Software+Discovery%3A+Centrify+DirectControl" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F09%2F08%2Fsoftware-discovery-centrify-directcontrol%2F&amp;title=Software+Discovery%3A+Centrify+DirectControl', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F09%2F08%2Fsoftware-discovery-centrify-directcontrol%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F09%2F08%2Fsoftware-discovery-centrify-directcontrol%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F09%2F08%2Fsoftware-discovery-centrify-directcontrol%2F&amp;title=Software+Discovery%3A+Centrify+DirectControl" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F09%2F08%2Fsoftware-discovery-centrify-directcontrol%2F&amp;title=Software+Discovery%3A+Centrify+DirectControl" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2007/09/08/software-discovery-centrify-directcontrol/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Domain Controller logon problem fixed</title>
		<link>http://www.totalnetsolutions.net/2007/08/02/domain-controller-logon-problem-fixed/</link>
		<comments>http://www.totalnetsolutions.net/2007/08/02/domain-controller-logon-problem-fixed/#comments</comments>
		<pubDate>Thu, 02 Aug 2007 06:48:47 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Domain Controllers]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/2007/08/02/domain-controller-logon-problem-fixed/</guid>
		<description><![CDATA[Tonight we fixed my friend’s network &#8211; see this post for history. It turns out that after changing IPs on the first server, the servers lost communication long enough for the password on one of the 2 of them to expire. This was causing replication to fail, which caused DNS to fail to update, and [...]]]></description>
			<content:encoded><![CDATA[<p>Tonight we fixed my friend’s network &#8211; see <a href="http://www.totalnetsolutions.net/2007/07/29/howto-change-a-domain-controller-ip-address/" target="_blank">this post</a> for history. It turns out that after changing IPs on the first server, the servers lost communication long enough for the password on one of the 2 of them to expire. This was causing replication to fail, which caused DNS to fail to update, and the 2nd DC stopped answering client requests.</p>
<p>Thanks to  cyrilliano at <a href="http://www.neowin.net/forum/lofiversion/index.php/t380337.html" onclick="javascript:urchinTracker ('/outgoing/www.neowin.net/forum/lofiversion/index.php/t380337.html');" target="_bank">Neowin Forums</a> I was reminded of all the fun that is <a href="http://www.microsoft.com/downloads/details.aspx?familyid=49ae8576-9bb9-4126-9761-ba8011fabf38&amp;displaylang=en" onclick="javascript:urchinTracker ('/outgoing/www.microsoft.com/downloads/details.aspx?familyid=49ae8576-9bb9-4126-9761-ba8011fabf38&#038;displaylang=en');" target="_blank">netdom</a>.</p>
<p>I just had to run <code>netdom resetpwd /server:dc2 /userd:FOOBAR\administrator /passwordd:admin_password</code> and wait 15 minutes. His post suggests disabling the KDC service, but I found it unneccessary. However, the 10 minute wait was not quite enough in my situation. Yet another reminder that patience is the first requirement for DC troubleshooting.</p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F08%2F02%2Fdomain-controller-logon-problem-fixed%2F&amp;title=Domain+Controller+logon+problem+fixed" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F08%2F02%2Fdomain-controller-logon-problem-fixed%2F&amp;title=Domain+Controller+logon+problem+fixed" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F08%2F02%2Fdomain-controller-logon-problem-fixed%2F&amp;title=Domain+Controller+logon+problem+fixed" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F08%2F02%2Fdomain-controller-logon-problem-fixed%2F&amp;title=Domain+Controller+logon+problem+fixed" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F08%2F02%2Fdomain-controller-logon-problem-fixed%2F&amp;title=Domain+Controller+logon+problem+fixed', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F08%2F02%2Fdomain-controller-logon-problem-fixed%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F08%2F02%2Fdomain-controller-logon-problem-fixed%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F08%2F02%2Fdomain-controller-logon-problem-fixed%2F&amp;title=Domain+Controller+logon+problem+fixed" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F08%2F02%2Fdomain-controller-logon-problem-fixed%2F&amp;title=Domain+Controller+logon+problem+fixed" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2007/08/02/domain-controller-logon-problem-fixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To: Change a Domain Controller IP address</title>
		<link>http://www.totalnetsolutions.net/2007/07/29/how-to-change-a-domain-controller-ip/</link>
		<comments>http://www.totalnetsolutions.net/2007/07/29/how-to-change-a-domain-controller-ip/#comments</comments>
		<pubDate>Mon, 30 Jul 2007 00:56:11 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[Domain Controllers]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Networking]]></category>

		<guid isPermaLink="false">http://www.totalnetsolutions.net/2007/07/29/how-to-change-a-domain-controller-ip-address/</guid>
		<description><![CDATA[A friend came to me this week with an issue he had earlier &#8211; he had to change the subnet of a client’s network, and issues with the Windows 2003 Domain Controller appeared. Here’s how to avoid (or fix) the problem. For this HowTo, I’ll be using a current network of 192.168.1.2/24, with the server [...]]]></description>
			<content:encoded><![CDATA[<p><font color="#000000">A friend came to me this week with an issue he had earlier &#8211; he had to change the subnet of a client’s network, and issues with the Windows 2003 Domain Controller appeared. Here’s how to avoid (or fix) the problem. For this HowTo, I’ll be using a current network of 192.168.1.2/24, with the server being it’s own DNS and WINS, and a gateway of 192.168.1.1. We’ll be changing the server to 172.31.2.2/24, and using the domain name “foobar.local”.</font></p>
<ol>
<li><font color="#000000">Why are you changing the subnet? Most often, I’ve had to do this for customers because a business partner’s subnet has conflicts that are coming up during VPN tunnel creation. I’ve had other reasons, and you might too &#8211; but that’s the most common I’ve seen &#8211; 2 sites that are both 192.168.1.0/24 trying to build a VPN tunnel to each other.</font></li>
<li><font color="#000000">Now that you have a good reason to go through the pain, determine your layout &#8211; I’m going to write this for a single DC environment and point out a few changes for a double-DC environment. If you have more, you should be able to extrapolate the requirements from there, but you can also leave some comments and I can write another post if required. I’ll also be writing cmd scripts for most changes, rather than attaching huge (pixel-size) images.<span id="more-16"></span></font></li>
<li><font color="#000000">Determine the new subnet.</font></li>
<li><font color="#000000">Add the reverse lookup zone to DNS for your new network. In this case, in the DNS wizard, you’d make the reverse zone “172.31.2″ (filling in all boxes). This makes the zone name “2.31.172.in-addr.arpa” or “172.31.2.x” in the DNS console.</font></li>
<li><font color="#000000">Open Active Directory Sites and Services. Right-Click “Subnets” and add in the new subnet (172.31.2.0 with a Subnet Mask of 255.255.255.0). You’ll see the subnet listed as CIDR notation in the box (172.31.2.0/24) for verification. Pick the site that the new subnet belongs in (probably Default-First-Site-Name), and click “OK”. This guarnantees that AD will recognize the new site properly.</font></li>
<li><font color="#000000">Determine the new IP for the DC, and *add* it to the DC’s adapter. Do NOT remove the existing IP, yet. Don’t add the new gateway, yet. Just add the new IP, and save the settings.<br />
<code>netsh interface ip add address "local area connection" 172.31.2.2 255.255.255.0</code><br />
(This command assumes that your DC has a static IP address. I haven’t seen a site use DHCP for their DCs yet, but it’s a possibility. This command on a DHCP address will set only a SINGLE address with no gateway, and could leave you with 0 remote access to the server.)</font></li>
<li><font color="#000000">Verify that the new IP is showing up on the server.<br />
<code>ipconfig</code></font></li>
<li><font color="#000000">Get the server to register its new info in DNS<br />
<code>ipconfig /registerdns</code></font></li>
<li><font color="#000000">Wait and watch the Application and System event logs for DNS related errors. Also check that the DNS server is publishing the new IP address, not just as the server name, but also as the domain name, and the DCs (This can take up to, but shouldn’t take longer than, 15 minutes):<br />
<code>nslookup foobar.local</code><br />
Also, open the DNS console and look inside “_msdcs.foobar.local” to see that the GUID of the server is listed with both IPs.</font></li>
<li><font color="#000000">Once the server is advertising the new IP, you can swap the system to use the new IP range completely. It’s not time to remove the old IP yet though. This is the time to change the gateway, DNS servers, and WINS server. Since the server is listening on, and advertising on, the old and new IPs, DNS shouldn’t have any issues.<br />
<code>netsh interface ip set address "local area connection" static 172.31.2.2 255.255.255.0 172.31.2.1 10<br />
netsh interface ip add address "local area connection" 192.168.1.2 255.255.255.0<br />
netsh interface ip set dns "local area connection" static 172.31.2.2<br />
netsh interface ip set wins "local area connection" static 172.31.2.2</code><br />
This can, like all other steps, also be done in the GUI quite easily, by just shifting the orders of some things (IPs), and replacing others (DNS/WINS/Gateway).</font></li>
<li><font color="#000000">Now re-register the server with itself, looking for error messages in the Application and System logs.<br />
<code>ipconfig /registerdns</code></font></li>
<li><font color="#000000">Remember that changes to DNS can take up to 15 minutes to appear, as you watch the logs for errors, and check dns.<br />
<code>nslookup foobar.local</code><br />
What you’re looking for in the nslookup is to see the address of every domain controller in your domain. If this is a single server (like a Small Business Server 2003 network), you should, at this point, see 2 or 3 addresses (depending on how you set up your public network, for SBS2003).</font></li>
<li><font color="#000000">If everything looks good here, this is a good time to test some logons to make sure things are working properly. This is the point in the project where I normally create the new DHCP scope, deactivate (not delete) the old scope, and change the LAN settings on the router. This is also a good time to reboot some of the client PCs to make sure that they can boot up properly, get IP addresses in the new subnet, login without errors (remember to check that Application log!), and get online without issues.<br />
Because we haven’t removed the old IP from the server yet, the biggest issue you *should* run into is a client who gets an IP from the old subnet, or is statically set. They’ll log in ok, but won’t be able to get to the internet (unless you’ve got SBS2003, and the server is also your router). At this point in time, it’ll be easy to figure out if the new IP is working &#8211; clients that can log in and get access to resources are logging in to the IP address for the DC that’s local to them &#8211; if they’re in the new subnet, then your new IP is working. You can now reboot your DC as a final test (or act of faith, as your experience may prompt).</font></li>
<li><font color="#000000">When the DC comes back up, log in, and remove the old IP address &#8211; this is easiest in the GUI, but if you’re doing it with netsh, I prefer to just reset the DC settings completely.<br />
<code>netsh interface ip set address "local area connection" static 172.31.2.2 255.255.255.0 172.31.2.2 10<br />
ipconfig /registerdns<br />
nslookup foobar.local</code><br />
Now it’s cleanup time.</font></li>
<li><font color="#000000">Open Active Directory Sites and Services. Delete the old subnet.</font></li>
<li><font color="#000000">Open up your DNS server and make sure your forwarders are correct &#8211; lots of small offices skip this step &#8211; your forwarders should be the IP addresses of the DNS servers that your ISP gave you. Don’t put these into your DHCP scope DNS servers list, or even in the list of DNS servers on your server &#8211; they go in the “forwarders” section here.</font></li>
<li><font color="#000000">That’s it. Your clients are set up and ready to go, your server is healthy, and now you get to tackle the problem that made you have to change the IP in the first place!</font></li>
</ol>
<p><font color="#000000">For those who are having issues, because they’re finding this after attempting the change, or for my friend who prompted me to write this, here are some suggestions:</font></p>
<ol>
<li><font color="#000000">Add the old IP back to the server, run &lt;code&gt;ipconfig /registerdns&lt;/code&gt; and wait for the old IP to take. Now verify that the server’s logging in properly, and not giving error messages.</font></li>
<li><font color="#000000">Do you have all the zones in DNS, so that registration can take? Many small sites forget to put in the reverse zones into the DNS server.</font></li>
<li><font color="#000000">Go back and check Active Directory Sites and Services to verify that both the old and new subnets are listed. While you’re in transition, all subnets should be listed in all locations.</font></li>
<li><font color="#000000">If your server is screwed up badly enough that you can’t even log in, boot into Active Directory Services Restore Mode, make sure that your networking changes are set properly, and that your DNS server has it’s forwarders set up right. This is a good way to check the base level of your server’s health, then bring it back online to try to log into AD.</font></li>
<li><font color="#000000">There’s no reason to need to rebuild the server, but if it’s a small enough location (AD doesn’t change very often, or if it does, the changes are minor), and you have good backups, take a look at how long this is taking you, and how much longer you’ll spend attempting to fix the problem. Going back to the backup from the previous night and restoring ONLY the system state in Directory Services Restore Mode might be the fastest and best solution. Then you can follow the steps in here in order, and grow fewer ulcers.</font></li>
</ol>
<p><font color="#000000">Next week sometime I’ll do a similar version for multi-DC, multi-Site AD networks &#8211; it’s a lot shorter and easier.</font></p>

<span class="slashdigglicious">
<a href="http://slashdot.org/bookmark.pl?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F07%2F29%2Fhow-to-change-a-domain-controller-ip%2F&amp;title=How+To%3A+Change+a+Domain+Controller+IP+address" title="Slashdot It!"><img src="http://slashdot.org/favicon.ico" height="16" width="16" alt="[Slashdot]" /></a>
<a href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F07%2F29%2Fhow-to-change-a-domain-controller-ip%2F&amp;title=How+To%3A+Change+a+Domain+Controller+IP+address" title="Digg This Story"><img src="http://digg.com/favicon.ico" width="16" height="16" alt="[Digg]" /></a>
<a href="http://reddit.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F07%2F29%2Fhow-to-change-a-domain-controller-ip%2F&amp;title=How+To%3A+Change+a+Domain+Controller+IP+address" title="Reddit"><img src="http://reddit.com/favicon.ico" width="16" height="16" alt="[Reddit]" /></a>
<a href="http://del.icio.us/post?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F07%2F29%2Fhow-to-change-a-domain-controller-ip%2F&amp;title=How+To%3A+Change+a+Domain+Controller+IP+address" title="Save to del.icio.us" onclick="window.open('http://del.icio.us/post?v=4&amp;noui&amp;jump=close&amp;url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F07%2F29%2Fhow-to-change-a-domain-controller-ip%2F&amp;title=How+To%3A+Change+a+Domain+Controller+IP+address', 'delicious', 'toolbar=no,width=700,height=400'); return false;"><img src="http://del.icio.us/favicon.ico" width="16" height="16" alt="[del.icio.us]" /></a>
<a href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F07%2F29%2Fhow-to-change-a-domain-controller-ip%2F" title="Share on Facebook"><img src="http://www.facebook.com/favicon.ico" width="16" height="16" alt="[Facebook]" /></a>
<a href="http://technorati.com/faves?add=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F07%2F29%2Fhow-to-change-a-domain-controller-ip%2F" title="Add to my Technorati Favorites"><img src="http://technorati.com/favicon.ico" width="16" height="16" alt="[Technorati]" /></a>
<a href="http://www.google.com/bookmarks/mark?op=edit&amp;output=popup&amp;bkmk=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F07%2F29%2Fhow-to-change-a-domain-controller-ip%2F&amp;title=How+To%3A+Change+a+Domain+Controller+IP+address" title="Save to Google Bookmarks"><img src="http://www.google.com/favicon.ico" width="16" height="16" alt="[Google]" /></a>
<a href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.totalnetsolutions.net%2F2007%2F07%2F29%2Fhow-to-change-a-domain-controller-ip%2F&amp;title=How+To%3A+Change+a+Domain+Controller+IP+address" title="Stumble it!"><img src="http://www.stumbleupon.com/favicon.ico" width="16" height="16" alt="[StumbleUpon]" /></a>
</span>]]></content:encoded>
			<wfw:commentRss>http://www.totalnetsolutions.net/2007/07/29/how-to-change-a-domain-controller-ip/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>
