<?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>Exchange Server Pro &#187; Server 2003</title>
	<atom:link href="http://exchangeserverpro.com/tag/server-2003/feed" rel="self" type="application/rss+xml" />
	<link>http://exchangeserverpro.com</link>
	<description>Microsoft Exchange Server news, tips, tricks and tutorials</description>
	<lastBuildDate>Tue, 31 Aug 2010 12:02:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>MS08-037 causes port conflicts with DNS and IAS services</title>
		<link>http://exchangeserverpro.com/ms08-037-causes-port-conflicts-with-dns-and-ias-services</link>
		<comments>http://exchangeserverpro.com/ms08-037-causes-port-conflicts-with-dns-and-ias-services#comments</comments>
		<pubDate>Wed, 28 Jan 2009 01:32:52 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Features]]></category>
		<category><![CDATA[Solutions]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Event ID 7023]]></category>
		<category><![CDATA[IAS]]></category>
		<category><![CDATA[MS08-037]]></category>
		<category><![CDATA[Server 2003]]></category>

		<guid isPermaLink="false">http://www.capslockassassin.com/2009/01/28/ms08-037-causes-port-conflicts-with-dns-and-ias-services/</guid>
		<description><![CDATA[You may encounter an issue with servers running both the DNS and IAS services that have installed update MS08-037 (Vulnerabilities in DNS could allow spoofing – 953230).  The IAS services will fail to start and any authentication that relies on IAS (such as VPNs) will fail. When connecting to the IAS server with the IAS [...]]]></description>
			<content:encoded><![CDATA[<p>You may encounter an issue with servers running both the DNS and IAS services that have installed update <a href="http://www.microsoft.com/technet/security/bulletin/ms08-037.mspx" target="_blank">MS08-037 (Vulnerabilities in DNS could allow spoofing – 953230)</a>.  The IAS services will fail to start and any authentication that relies on IAS (such as VPNs) will fail.</p>
<p>When connecting to the IAS server with the IAS management console the following errors may appear:</p>
<p><img style="display: inline" title="An error occurred while trying to make a connection to the datastore" src="http://www.exchangeserverpro.com/wp-content/uploads/2009/01/isaerror01.png" alt="An error occurred while trying to make a connection to the datastore" width="412" height="121" /></p>
<p><img style="display: inline" title="There was an error getting connection to the data store. The handle is invalid." src="http://www.exchangeserverpro.com/wp-content/uploads/2009/01/iaserror02.png" alt="There was an error getting connection to the data store. The handle is invalid." width="455" height="121" /></p>
<p>Event ID 7023 will appear in the System event log of the IAS server.</p>
<blockquote><p> </p>
<p>Event Type:    Error<br />
Event Source:    Service Control Manager<br />
Event Category:    None<br />
Event ID:    7023<br />
Date:        28/01/2009<br />
Time:        9:15:17 AM<br />
User:        N/A<br />
Computer:    SERVER<br />
Description:</p>
<p>The Internet Authentication Service service terminated with the following error:</p>
<p>Only one usage of each sock address (protocol/network address/port) is normally permitted.</p></blockquote>
<p>The cause of the issue is explained in <a href="http://support.microsoft.com/kb/956188/" target="_blank">KB956188</a>:</p>
<blockquote><p> </p>
<p><strong>You experience issues with UDP-dependent network services after you install DNS Server service security update 953230 (MS08-037)</strong></p>
<p>This issue occurs because the service cannot obtain the port that it requires to function correctly. This issue occurs because of changes to the port allocation in the DNS Service after security update 953230 is installed.</p>
<p><a href="http://support.microsoft.com/kb/956188/" target="_blank">Read full article</a></p></blockquote>
<p>The solution is to reserve the IAS ports from the ephemeral port range to ensure that the DNS Server service does not dynamically allocate those ports to itself.  To determine which ports are being used by IAS open the IAS management console, right-click the server name and select Properties.</p>
<p><img style="display: inline" title="iasconfig01" src="http://www.exchangeserverpro.com/wp-content/uploads/2009/01/iasconfig01.png" alt="iasconfig01" width="347" height="204" /></p>
<p>Navigate to the Ports tab and note the port numbers in use.</p>
<p><img style="display: inline" title="iasconfig02" src="http://www.exchangeserverpro.com/wp-content/uploads/2009/01/iasconfig02.png" alt="iasconfig02" width="403" height="155" /></p>
<p>Follow the instructions in <a href="http://support.microsoft.com/kb/812873/" target="_blank">KB812873 (How to reserve a range of ephemeral ports on a computer that is running Windows Server 2003)</a> and enter the correct ports in the registry key like this.</p>
<p><img style="display: inline" title="regconfig" src="http://www.exchangeserverpro.com/wp-content/uploads/2009/01/regconfig.png" alt="regconfig" width="352" height="179" /></p>
<p>The server must be restarted for the change to take effect.  After the restart the DNS Server will no longer allocate the IAS ports to itself, which will allow IAS to start properly.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/microsoft-certification-the-mark-russinovich-exam" title="Microsoft Certification – The Mark Russinovich Exam">Microsoft Certification – The Mark Russinovich Exam</a></li><li><a href="http://exchangeserverpro.com/slipstreaming-service-pack-2-into-your-windows-server-2003-r2-media" title="Slipstreaming Service Pack 2 into your Windows Server 2003 R2 media">Slipstreaming Service Pack 2 into your Windows Server 2003 R2 media</a></li><li><a href="http://exchangeserverpro.com/recovering-a-single-domain-controller-from-a-usn-rollback" title="Recovering a single Domain Controller from a USN Rollback">Recovering a single Domain Controller from a USN Rollback</a></li><li><a href="http://exchangeserverpro.com/event-id-3006-and-exchange-server-2007-performance-counters" title="Event ID 3006 and Exchange Server 2007 performance counters">Event ID 3006 and Exchange Server 2007 performance counters</a></li><li><a href="http://exchangeserverpro.com/event-id-2095-and-the-usn-rollback-adventure" title="Event ID 2095 and The USN Rollback Adventure">Event ID 2095 and The USN Rollback Adventure</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/ms08-037-causes-port-conflicts-with-dns-and-ias-services">MS08-037 causes port conflicts with DNS and IAS services</a> is © 2009 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/ms08-037-causes-port-conflicts-with-dns-and-ias-services/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Microsoft Certification – The Mark Russinovich Exam</title>
		<link>http://exchangeserverpro.com/microsoft-certification-the-mark-russinovich-exam</link>
		<comments>http://exchangeserverpro.com/microsoft-certification-the-mark-russinovich-exam#comments</comments>
		<pubDate>Wed, 30 Jul 2008 20:00:55 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Books]]></category>
		<category><![CDATA[Certification]]></category>
		<category><![CDATA[Exams]]></category>
		<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://www.capslockassassin.com/2008/07/31/microsoft-certification-the-mark-russinovich-exam/</guid>
		<description><![CDATA[Microsoft has released information for exam 70-660, TS: Windows Internals.&#160; This might be an odd sounding title to anyone who has never heard of Mark Russinovich or Sysinternals.&#160; From the MS Learning site: &#160; This exam validates deep technical skills in the area of Windows Internals. Including troubleshooting operating systems that are not performing as [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft has released information for <a href="http://www.microsoft.com/learning/en/us/Exams/70-660.aspx" target="_blank">exam 70-660, TS: Windows Internals</a>.&nbsp; This might be an odd sounding title to anyone who has never heard of Mark Russinovich or Sysinternals.&nbsp; From the MS Learning site:</p>
<blockquote><p>&nbsp;</p>
<p>This exam validates deep technical skills in the area of Windows Internals. Including troubleshooting operating systems that are not performing as expected or applications that are not working correctly, identifying code defects, and developing and debugging applications that run unmanaged code or that are tightly integrated with the operating system, such as Microsoft SQL Server, third party applications, antivirus software, and device drivers.</p>
</blockquote>
<p>If that makes little sense take a look at <a href="http://blogs.technet.com/markrussinovich/default.aspx" target="_blank">Mark&#8217;s blog on Technet</a> and you&#8217;ll see the type and depth of content they are talking about.</p>
<blockquote><p>&nbsp;</p>
<p>Candidates for this exam are engineers, developers, or IT staff who work with Windows at a level that requires Windows Internals knowledge. Candidates for this exam are typically in the upper echelon of the technical staff at their companies. These individuals typically hold such positions as escalation engineer, technical lead, and software design engineer. Their level of knowledge spans products both inside and outside the Microsoft Corporation.&nbsp; These individuals are involved in resolving problems that require deep understanding of Windows Internals rather than problems about planning and infrastructure development or how to use or configure a product that runs on Windows. </p>
</blockquote>
<p>Sounds like a pretty tough exam, and the preparation looks even tougher.&nbsp; Though the exam is (apparently) available from October 10th this year, currently the preparation materials listed are as follows:</p>
<ul>
<li>Classroom Training &#8211; There is no classroom training currently available.</li>
<li>Microsoft E-Learning &#8211; There is no Microsoft E-Learning training currently available.</li>
<li>Microsoft Press Books &#8211; There are no Microsoft Press books currently available.</li>
<li>Practice Tests &#8211; There are no practice tests currently available.</li>
</ul>
<p>So that makes preparing for a tough exam pretty difficult.&nbsp; But its a pretty safe bet that the exam is going to cover the topics listed in Mark&#8217;s two books, <a href="http://www.amazon.com/gp/product/0735619174/002-7589951-8461669?ie=UTF8&amp;tag=0407xghs-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=0735619174" target="_blank">Windows Internals 4th Edition</a> (for 2000, XP, and 2003) and <a href="http://www.amazon.com/gp/product/0735625301/002-7589951-8461669?ie=UTF8&amp;tag=0407xghs-20&amp;linkCode=xm2&amp;camp=1789&amp;creativeASIN=0735625301" target="_blank">Windows Internals 5th Edition</a> (for Vista and 2008).</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/the-essential-exchange-server-2007-toolkit" title="The Ultimate Exchange Server 2007 Toolkit">The Ultimate Exchange Server 2007 Toolkit</a></li><li><a href="http://exchangeserverpro.com/microsoft-exam-70-236-exchange-server-2007-configuration-mcts" title="Microsoft Exam 70-236: Exchange Server 2007 Configuration (MCTS)">Microsoft Exam 70-236: Exchange Server 2007 Configuration (MCTS)</a></li><li><a href="http://exchangeserverpro.com/microsoft-exam-70-350-implementing-microsoft-internet-security-and-acceleration-isa-server-2004" title="Microsoft Exam 70-350: Implementing Microsoft Internet Security and Acceleration (ISA) Server 2004">Microsoft Exam 70-350: Implementing Microsoft Internet Security and Acceleration (ISA) Server 2004</a></li><li><a href="http://exchangeserverpro.com/modifying-ris-images-for-smaller-hard-disks" title="Modifying RIS Images For Smaller Hard Disks">Modifying RIS Images For Smaller Hard Disks</a></li><li><a href="http://exchangeserverpro.com/outlook-2010-inside-out-for-exchange-server-pros" title="Outlook 2010 Inside Out for Exchange Server Pros">Outlook 2010 Inside Out for Exchange Server Pros</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/microsoft-certification-the-mark-russinovich-exam">Microsoft Certification – The Mark Russinovich Exam</a> is © 2008 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/microsoft-certification-the-mark-russinovich-exam/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Slipstreaming Service Pack 2 into your Windows Server 2003 R2 media</title>
		<link>http://exchangeserverpro.com/slipstreaming-service-pack-2-into-your-windows-server-2003-r2-media</link>
		<comments>http://exchangeserverpro.com/slipstreaming-service-pack-2-into-your-windows-server-2003-r2-media#comments</comments>
		<pubDate>Tue, 19 Feb 2008 01:59:15 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Service Packs]]></category>

		<guid isPermaLink="false">http://www.capslockassassin.com/2008/02/19/slipstreaming-service-pack-2-into-your-windows-server-2003-r2-media/</guid>
		<description><![CDATA[If you are like most people you will have Windows Server 2003 R2 installation media that only includes Service Pack 1.  This means that any R2 server you deploy needs to have SP2 installed afterwards, which is time consuming and also pretty boring. The good news is you can slipstream SP2 into your R2 media [...]]]></description>
			<content:encoded><![CDATA[<p>If you are like most people you will have Windows Server 2003 R2 installation media that only includes Service Pack 1.  This means that any R2 server you deploy needs to have SP2 installed afterwards, which is time consuming and also pretty boring.</p>
<p>The good news is you can slipstream SP2 into your R2 media just as easily as with previous versions of Windows Server.  Both the Disc 1 <em>and</em> Disc 2 media need to be slipstreamed or you will run into errors if you try to add the R2 components onto the server.</p>
<p>Simply copy your R2 Disc 1 and Disc 2 media to your hard drive, download the <a target="_blank" href="http://www.microsoft.com/downloads/details.aspx?FamilyId=95AC1610-C232-4644-B828-C55EEC605D55&amp;displaylang=en">Windows Server 2003 Service Pack 2 Download</a>, and run the slipstream commands.</p>
<p><code>C:\&gt;WindowsServer2003-KB914961-SP2-x86-ENU.exe  /integrate:C:\Temp\Windows2003R2\Disc1<br />
C:\&gt;WindowsServer2003-KB914961-SP2-x86-ENU.exe  /integrate:C:\Temp\Windows2003R2\Disc2</code></p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/exchange-server-2007-update-rollup-6-critical" title="Exchange Server 2007 Update Rollup 6 (Critical)">Exchange Server 2007 Update Rollup 6 (Critical)</a></li><li><a href="http://exchangeserverpro.com/ms08-037-causes-port-conflicts-with-dns-and-ias-services" title="MS08-037 causes port conflicts with DNS and IAS services">MS08-037 causes port conflicts with DNS and IAS services</a></li><li><a href="http://exchangeserverpro.com/microsoft-certification-the-mark-russinovich-exam" title="Microsoft Certification – The Mark Russinovich Exam">Microsoft Certification – The Mark Russinovich Exam</a></li><li><a href="http://exchangeserverpro.com/project-coconut-an-exchange-server-2000-to-2007-transition-introduction" title="Project Coconut: An Exchange Server 2000 to 2007 Transition &#8211; Introduction">Project Coconut: An Exchange Server 2000 to 2007 Transition &#8211; Introduction</a></li><li><a href="http://exchangeserverpro.com/recovering-a-single-domain-controller-from-a-usn-rollback" title="Recovering a single Domain Controller from a USN Rollback">Recovering a single Domain Controller from a USN Rollback</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/slipstreaming-service-pack-2-into-your-windows-server-2003-r2-media">Slipstreaming Service Pack 2 into your Windows Server 2003 R2 media</a> is © 2008 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/slipstreaming-service-pack-2-into-your-windows-server-2003-r2-media/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Recovering a single Domain Controller from a USN Rollback</title>
		<link>http://exchangeserverpro.com/recovering-a-single-domain-controller-from-a-usn-rollback</link>
		<comments>http://exchangeserverpro.com/recovering-a-single-domain-controller-from-a-usn-rollback#comments</comments>
		<pubDate>Thu, 07 Feb 2008 11:58:02 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[Disaster Recovery]]></category>
		<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.capslockassassin.com/2008/02/07/recovering-a-single-domain-controller-from-a-usn-rollback/</guid>
		<description><![CDATA[Some time ago I wrote about my experience recovering a customer&#8217;s Active Directory from a USN Rollback condition that had been caused by some virtualisation work.  There has been some discussion in the comments in that post about what to do when you have a single domain controller that thinks it is in a USN [...]]]></description>
			<content:encoded><![CDATA[<p>Some time ago I <a href="http://www.exchangeserverpro.com/2007/06/02/event-id-2095-and-the-usn-rollback-adventure/" title="Event ID 2095 and the USN Rollback adventure">wrote about my experience </a>recovering a customer&#8217;s Active Directory from a USN Rollback condition that had been caused by some virtualisation work.  There has been some discussion in the comments in that post about what to do when you have a single domain controller that thinks it is in a USN Rollback condition (eg has disabled outbound replication and paused the NetLogon service).</p>
<p>Logic would suggest that once a DC knows it is the only DC in the Forest that it would shake off the USN Rollback blues and start humming away normally again.  Not the case unfortunately.</p>
<p><a href="http://www.exchangeserverpro.com/2007/06/02/event-id-2095-and-the-usn-rollback-adventure/#comment-337" title="Link to Comment">Rob P</a> recently spent some time and effort with Microsoft support and came up with a solution that can be applied.</p>
<h3><font color="#ff0000">!!!Warning!!! !!!Warning!!! !!!Warning!!!</font></h3>
<p>I&#8217;m not 100% sure why I&#8217;m warning you, but I&#8217;ll take Rob&#8217;s word on the matter.  Apparently this fix is quite dangerous and not for the faint of heart.  My heart is not the least bit faint, particularly when it comes to my VMWare test environment, so I didn&#8217;t mind testing this out.  At the very least you should make sure you have a backup of the server you can go back to if this doesn&#8217;t work.</p>
<p>To get a single domain controller out of USN Rollback:</p>
<ol>
<li>Open Regedit</li>
<li>Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NTDS\Parameters</li>
<li>Locate the key “Dsa Not Writable”=dword:00000004</li>
<li>Delete the entire key</li>
<li>Enable replication by running <strong>repadmin /options servername -DISABLE_OUTBOUND_REPL</strong> and <strong>repadmin /options servername -DISABLE_INBOUND_REPL</strong></li>
<li>Reboot</li>
</ol>
<p>Once your domain controller has rebooted you should find that NetLogon is running again and <strong>repadmin /options</strong> no longer shows replication as being disabled.</p>
<p>I performed this test on a Windows Server 2003 R2 domain controller and I imagine it works fine on Small Business Server 2003 as well.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/event-id-2095-and-the-usn-rollback-adventure" title="Event ID 2095 and The USN Rollback Adventure">Event ID 2095 and The USN Rollback Adventure</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-hub-transport-server-backup-and-recovery" title="Exchange 2010 Hub Transport Server Backup and Recovery">Exchange 2010 Hub Transport Server Backup and Recovery</a></li><li><a href="http://exchangeserverpro.com/improved-database-integrity-checking-in-exchange-server-2010-sp1" title="Improved Database Integrity Checking in Exchange Server 2010 SP1">Improved Database Integrity Checking in Exchange Server 2010 SP1</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-edge-transport-server-backup-and-recovery" title="Exchange 2010 Edge Transport Server Backup and Recovery">Exchange 2010 Edge Transport Server Backup and Recovery</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-setup-error-the-exchange-server-is-in-an-inconsistent-state" title="Exchange 2010 Setup Error &#8211; The Exchange Server is in an Inconsistent State">Exchange 2010 Setup Error &#8211; The Exchange Server is in an Inconsistent State</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/recovering-a-single-domain-controller-from-a-usn-rollback">Recovering a single Domain Controller from a USN Rollback</a> is © 2008 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/recovering-a-single-domain-controller-from-a-usn-rollback/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Event ID 3006 and Exchange Server 2007 performance counters</title>
		<link>http://exchangeserverpro.com/event-id-3006-and-exchange-server-2007-performance-counters</link>
		<comments>http://exchangeserverpro.com/event-id-3006-and-exchange-server-2007-performance-counters#comments</comments>
		<pubDate>Mon, 10 Sep 2007 09:10:34 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[Exchange 2007]]></category>
		<category><![CDATA[Server 2003]]></category>

		<guid isPermaLink="false">http://www.capslockassassin.com/2007/09/10/event-id-3006-and-exchange-server-2007-performance-counters/</guid>
		<description><![CDATA[An Exchange Server 2007 server with incorrectly loaded performance counters may result in many instances of event ID 3006 being logged to the Application Event Log. Event Type: Warning Event Source: LoadPerf Event Category: None Event ID: 3006 Date:  10/09/2007 Time:  12:51:51 User:  N/A Computer: SERVER Description: Unable to read the performance counter strings of the 011 language ID. The Win32 status returned [...]]]></description>
			<content:encoded><![CDATA[<p>An Exchange Server 2007 server with incorrectly loaded performance counters may result in many instances of event ID 3006 being logged to the Application Event Log.</p>
<blockquote><p>Event Type: Warning<br />
Event Source: LoadPerf<br />
Event Category: None<br />
Event ID: 3006<br />
Date:  10/09/2007<br />
Time:  12:51:51<br />
User:  N/A<br />
Computer: SERVER<br />
Description:<br />
Unable to read the performance counter strings of the 011 language ID. The Win32 status returned by the call is the first DWORD in Data section.</p>
<p>For more information, see Help and Support Center at <a href="http://go.microsoft.com/fwlink/events.asp">http://go.microsoft.com/fwlink/events.asp</a>.<br />
Data:<br />
0000: 02 00 00 00 20 01 00 00   &#8230;. &#8230;</p></blockquote>
<p>One solution to these Event Log warnings is to run &#8220;Lodctr /r&#8221; from a command line.  A description of the Lodctr utility is available <a href="http://technet2.microsoft.com/WindowsServer/en/library/8ca82333-eca8-413b-b8c8-c6defad6de3e1033.mspx" title="Lodctr on Microsoft Technet">here</a>.</p>
<p>Running this command may cause the following errors to appear in the Application Event Log, which identify the particular performance counters that are causing the issue.</p>
<blockquote><p>Event Type: Error<br />
Event Source: LoadPerf<br />
Event Category: None<br />
Event ID: 3009<br />
Date:  10/09/2007<br />
Time:  12:52:05<br />
User:  N/A<br />
Computer: SERVER<br />
Description:<br />
Installing the performance counter strings for service MSExchangeFDS:UM (%2) failed. The Error code is the first DWORD in Data section.</p>
<p>For more information, see Help and Support Center at <a href="http://go.microsoft.com/fwlink/events.asp">http://go.microsoft.com/fwlink/events.asp</a>.<br />
Data:</p>
<p>0000: 27 05 00 00 d1 11 00 00   &#8216;&#8230;Ñ&#8230;<br />
Event Type: Warning<br />
Event Source: LoadPerf<br />
Event Category: None<br />
Event ID: 2007<br />
Date:  10/09/2007<br />
Time:  12:52:05<br />
User:  N/A<br />
Computer: SERVER<br />
Description:<br />
Cannot repair performance counters for MSExchangeFDS:UM service. Please re-install manually using LODCTR tool.</p>
<p>For more information, see Help and Support Center at <a href="http://go.microsoft.com/fwlink/events.asp">http://go.microsoft.com/fwlink/events.asp</a>.<br />
Data:</p>
<p>0000: 27 05 00 00 17 05 00 00   &#8216;&#8230;&#8230;.</p></blockquote>
<p>In this situation the performance counters must be reloaded manually.  In the case of Exchange Server 2007 the performance counters can be reloaded from <strong>C:\Program Files\Microsoft\Exchange Server\Setup\Perf</strong>.  In this example the MSExchangeFDS:UM counter is the cause of the error, which is loaded from the <strong>FDSUMPerformanceCounters.ini</strong> file.</p>
<p><a href="http://www.exchangeserverpro.com/wp-content/uploads/2007/09/exchangeperfcounters.JPG" title="exchangeperfcounters.JPG"><img src="http://www.exchangeserverpro.com/wp-content/uploads/2007/09/exchangeperfcounters.JPG" alt="exchangeperfcounters.JPG" /></a></p>
<p><code>C:\Program Files\Microsoft\Exchange Server\Setup\Perf&gt;lodctr fdsumperformancecounters.ini</code></p>
<p>If the reload is successful the following event is logged.</p>
<blockquote><p>Event Type: Information<br />
Event Source: LoadPerf<br />
Event Category: None<br />
Event ID: 1000<br />
Date:  10/09/2007<br />
Time:  13:06:27<br />
User:  N/A<br />
Computer: SERVER<br />
Description:<br />
Performance counters for the MSExchangeFDS:UM (MSExchangeFDS:UM) service were loaded successfully. The Record Data contains the new index values assigned to this service.</p>
<p>For more information, see Help and Support Center at <a href="http://go.microsoft.com/fwlink/events.asp">http://go.microsoft.com/fwlink/events.asp</a>.<br />
Data:<br />
0000: 88 18 00 00 90 18 00 00   &#8230;&#8230;<br />
0008: 89 18 00 00 91 18 00 00   &#8230;&#8230;</p></blockquote>
<p>This will resolve the repeated logging of the event ID 3006 entries to the Application Event Log.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/exchange-server-2010-and-the-benefits-of-commercial-ssl-certificates" title="Exchange Server 2010 and the Benefits of Commercial SSL Certificates">Exchange Server 2010 and the Benefits of Commercial SSL Certificates</a></li><li><a href="http://exchangeserverpro.com/com-class-factory-error-8007007e-moving-mailboxes-in-exchange-server-2007" title="COM Class Factory Error 8007007E Moving Mailboxes in Exchange Server 2007">COM Class Factory Error 8007007E Moving Mailboxes in Exchange Server 2007</a></li><li><a href="http://exchangeserverpro.com/public-folders-not-replicating-between-exchange-2007-and-2010" title="Public Folders Not Replicating Between Exchange 2007 and 2010">Public Folders Not Replicating Between Exchange 2007 and 2010</a></li><li><a href="http://exchangeserverpro.com/understanding-the-exchange-server-spam-confidence-level" title="Understanding the Exchange Server Spam Confidence Level">Understanding the Exchange Server Spam Confidence Level</a></li><li><a href="http://exchangeserverpro.com/exchange-2000-and-windows-server-2008-domain-controllers" title="Exchange 2000 and Windows Server 2008 Domain Controllers">Exchange 2000 and Windows Server 2008 Domain Controllers</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/event-id-3006-and-exchange-server-2007-performance-counters">Event ID 3006 and Exchange Server 2007 performance counters</a> is © 2007 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/event-id-3006-and-exchange-server-2007-performance-counters/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Event ID 2095 and The USN Rollback Adventure</title>
		<link>http://exchangeserverpro.com/event-id-2095-and-the-usn-rollback-adventure</link>
		<comments>http://exchangeserverpro.com/event-id-2095-and-the-usn-rollback-adventure#comments</comments>
		<pubDate>Fri, 01 Jun 2007 14:15:18 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Solutions]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[DSA Not Writeable]]></category>
		<category><![CDATA[Event ID 2095]]></category>
		<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[USN Rollback]]></category>

		<guid isPermaLink="false">http://www.capslockassassin.com/2007/06/02/event-id-2095-and-the-usn-rollback-adventure/</guid>
		<description><![CDATA[There are two things I tend to see a lot of at the moment. Firstly virtualisation is pretty hot right now. Everyone seems to be virtualising their infrastructure as much as possible, particularly their servers such as Domain Controllers. Secondly, some companies are too cheap (or just haven&#8217;t gotten around to it yet) to setup [...]]]></description>
			<content:encoded><![CDATA[<p>There are two things I tend to see a lot of at the moment. Firstly virtualisation is pretty hot right now. Everyone seems to be virtualising their infrastructure as much as possible, particularly their servers such as Domain Controllers. Secondly, some companies are too cheap (or just haven&#8217;t gotten around to it yet) to setup a proper backup and recovery solution for their servers. This often means they are relying on some ad-hoc Ghost or Acronis images for server recovery. This includes recovery of their Domain Controllers.</p>
<p>I specifically mention Domain Controllers twice there because both of these very common scenarios introduce the serious risk of a &#8220;USN rollback&#8221; condition occurring (USN stands for &#8220;update sequence number&#8221;). If you want to get deeply technical with the concept you can read this article from Microsoft:</p>
<p><a target="_blank" href="http://support.microsoft.com/kb/875495" title="How to detect and recover from a USN rollback in Windows Server 2003">How to detect and recover from a USN rollback in Windows Server 2003</a></p>
<p>If you just want the summary version, basically a USN rollback condition can occur when the Active Directory database is restored to an earlier version in an improper fashion. Microsoft makes available methods for restoring Active Directory databases such that the Domain Controller can properly resynchronise with its replication partners afterwards. Restoring in an improper fashion, such as restoring a DC using an earlier Ghost or Acronis image, or rolling back to an earlier snapshot of a virtualised DC, will cause a USN rollback condition to occur.</p>
<p><span id="more-66"></span></p>
<p><strong>A Simple USN Rollback Scenario</strong></p>
<p>You can create a USN rollback condition by deliberately performing one of the restoration methods mentioned above. Here I have created two virtualised Domain Controllers named TESTDC1 and TESTDC2, both in the testing.local domain. Looking at the servers I can see that they appear to be in a healthy state of replication. Active Directory Users and Computers shows the same user objects that I created have replicated between the servers.</p>
<p><a href="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback001.jpg" title="usnrollback001.jpg"><img src="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback001.thumbnail.jpg" alt="usnrollback001.jpg" /></a></p>
<p>Replmon.exe indicates successful replication is occurring.</p>
<p><a href="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback001b.jpg" title="usnrollback001b.jpg"><img src="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback001b.thumbnail.jpg" alt="usnrollback001b.jpg" /></a></p>
<p>Running DCDiag.exe /q (the /q switch suppresses all output except for errors, so if there is no output there is no errors) indicates all is well.</p>
<p>Next I shut down TESTDC2 and make a copy of the virtual hard disk. I then boot TESTDC2 again, and confirm once more that replication is healthy. I can then make a few changes to Active Directory to demonstrate the problems with USN rollback. Using the Active Directory Users and Computers console I create the user object User3 while connected to TESTDC1, and the user object User4 while connected to TESTDC2. As you can see here the user objects appear in the Active Directory of the Domain Controllers, but are yet to replicate between the two servers.</p>
<p><a href="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback002.jpg" title="usnrollback002.jpg"><img src="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback002.thumbnail.jpg" alt="usnrollback002.jpg" /></a></p>
<p>In a real world environment some event might occur such as a hardware failure on TESTDC2, or simply a human decision to roll the server back to the last image or snapshot. I shut down TESTDC2, remove the current virtual hard disk, and copy back the virtual hard disk file from before. As soon as I boot TESTDC2 again everything starts to go bad.</p>
<p>Administrators might first become aware of the problem when they notice that changes they make in the course of their day are not replicating to all the domain controllers. For example, I notice that User3 is appearing on TESTDC1 but not on TESTDC2, even after several hours of waiting. If I attempt to force replication between the two servers in Active Directory Sites and Services I receive an error. A similar error is also now appearing in Replmon, and the Directory Services Event log is showing some critical errors.</p>
<p><a href="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback003.jpg" title="usnrollback003.jpg"><img src="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback003.thumbnail.jpg" alt="usnrollback003.jpg" /></a> <a href="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback005.jpg" title="usnrollback005.jpg"><img src="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback005.thumbnail.jpg" alt="usnrollback005.jpg" /></a> <a href="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback004.jpg" title="usnrollback004.jpg"><img src="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback004.thumbnail.jpg" alt="usnrollback004.jpg" /></a></p>
<p>The event ID to look out for in this scenario is 2095. The full details of this event are as follows.</p>
<blockquote><p><em>Event Type: Error<br />
Event Source: NTDS Replication<br />
Event Category: Replication<br />
Event ID: 2095<br />
Date: 1/06/2007<br />
Time: 4:40:20 PM<br />
User: NT AUTHORITY\ANONYMOUS LOGON<br />
Computer: TESTDC2<br />
Description:<br />
During an Active Directory replication request, the local domain controller (DC) identified a remote DC which has received replication data from the local DC using already-acknowledged USN tracking numbers.</em></p>
<p><em>Because the remote DC believes it is has a more up-to-date Active Directory database than the local DC, the remote DC will not apply future changes to its copy of the Active Directory database or replicate them to its direct and transitive replication partners that originate from this local DC.</em></p>
<p><em>If not resolved immediately, this scenario will result in inconsistencies in the Active Directory databases of this source DC and one or more direct and transitive replication partners. Specifically the consistency of users, computers and trust relationships, their passwords, security groups, security group memberships and other Active Directory configuration data may vary, affecting the ability to log on, find objects of interest and perform other critical operations.</em></p>
<p><em>To determine if this misconfiguration exists, query this event ID using </em><a href="http://support.microsoft.com/"><em>http://support.microsoft.com</em></a><em> or contact your Microsoft product support.</em></p>
<p><em>The most probable cause of this situation is the improper restore of Active Directory on the local domain controller.</em></p>
<p><em>User Actions:<br />
If this situation occurred because of an improper or unintended restore, forcibly demote the DC.</em></p>
<p><em>Remote DC:<br />
d63ef566-f3a9-4700-ae27-a5c5ac7c9fe0<br />
Partition:<br />
DC=testing,DC=local<br />
USN reported by Remote DC:<br />
16435<br />
USN reported by Local DC:<br />
16387 </em><br />
<em>For more information, see Help and Support Center at </em><a href="http://go.microsoft.com/fwlink/events.asp"><em>http://go.microsoft.com/fwlink/events.asp</em></a><em>.</em></p></blockquote>
<p>There are also instances of event ID 2013.</p>
<blockquote><p><em>Event Type: Error<br />
Event Source: NTDS General<br />
Event Category: Service Control<br />
Event ID: 2103<br />
Date: 1/06/2007<br />
Time: 4:40:20 PM<br />
User: NT AUTHORITY\ANONYMOUS LOGON<br />
Computer: TESTDC2<br />
Description:<br />
The Active Directory database has been restored using an unsupported restoration procedure.</em></p>
<p><em>Active Directory will be unable to log on users while this condition persists. As a result, the Net Logon service has paused.</em></p>
<p><em>User Action<br />
See previous event logs for details.</em></p>
<p><em>For more information, see Help and Support Center at </em><a href="http://go.microsoft.com/fwlink/events.asp"><em>http://go.microsoft.com/fwlink/events.asp</em></a><em>.</em></p></blockquote>
<p>You definitely want to know about these errors when they occur. If you are running any kind of monitoring system that scrapes event logs and alerts you for certain events then these are two you want to be alerted for. If you are not paying attention this problem can surface and go unnoticed for quite some time. Your admins might just be scratching their heads a little as to why some odd behaviour is occurring in Active Directory. Meanwhile your server event logs are overwriting older events and may remove this crucial evidence, as happened to a customer of ours.</p>
<p>If you do not have the benefit of seeing those events in the Directory Services Event Log there are some other clues you can look out for. Firstly the repadmin.exe command can help identify the state of replication on the Domain Controller.</p>
<p><code>C:\&gt;repadmin /options<br />
repadmin running command /options against server localhost<br />
Current DC Options: (none)</code></p>
<p>If the output is as above, then replication is not explicitly disabled on the Domain Controller. Note that a Global Catalog server will show an &#8220;IS_GC&#8221; option as being active instead of &#8220;(none)&#8221;. However if the output is as follows then replication has been disabled on the Domain Controller.</p>
<p><code>C:\&gt;repadmin /options<br />
repadmin running command /options against server localhost<br />
Current DC Options: DISABLE_INBOUND_REPL DISABLE_OUTBOUND_REPL</code></p>
<p>More evidence is if the NetLogon service is in a &#8220;paused&#8221; state on the Domain Controller.</p>
<p><code>C:\&gt;sc query netlogon<br />
SERVICE_NAME: netlogon<br />
TYPE : 20 WIN32_SHARE_PROCESS<br />
STATE : 7 PAUSED<br />
(STOPPABLE, PAUSABLE, IGNORES_SHUTDOWN))<br />
WIN32_EXIT_CODE : 0 (0x0)<br />
SERVICE_EXIT_CODE : 0 (0x0)<br />
CHECKPOINT : 0x0<br />
WAIT_HINT : 0x0</code></p>
<p>If you attempt to restart NetLogon and re-enable replication with Repadmin while the USN rollback condition is still in effect then the event IDs 2095 and 2013 will appear again in the Directory Services Event Log, which gives you further evidence of the issue. The final clue is by checking the USN that each Domain Controller believes is correct for itself and its replication partners.</p>
<p>On TESTDC1:<br />
<code>C:\&gt;repadmin /showutdvec testdc1 dc=testing,dc=local<br />
Caching GUIDs.<br />
..<br />
Default-First-Site-Name\TESTDC2 @ USN 16435 @ Time 2007-06-01 16:37:49<br />
Default-First-Site-Name\TESTDC1 @ USN 14272 @ Time 2007-06-01 16:52:08</code></p>
<p>On TESTDC2:<br />
<code>C:\&gt;repadmin /showutdvec testdc2 dc=testing,dc=local<br />
Caching GUIDs.<br />
..<br />
Default-First-Site-Name\TESTDC2 @ USN 16409 @ Time 2007-06-01 16:52:49<br />
Default-First-Site-Name\TESTDC1 @ USN 14146 @ Time 2007-06-01 16:04:22</code></p>
<p>The condition you are looking for is if the direct replication partners have a higher USN for the Domain Controller than the Domain Controller has for itself. In the above output you can see that TESTDC2 has a USN for itself of 16409, whereas TESTDC1 has an USN for TESTDC2 of 16435.</p>
<p><strong>More Complex USN Rollback Scenarios</strong></p>
<p>In the simple scenario above is it relatively easy to conclude that TESTDC2 is the cause of the USN rollback condition occuring. However in an environment with more than two Domain Controllers the evidence can present in different ways. Using the example of our customer, the virtualised Domain Controller that had been rolled back to an earlier snapshot was not showing event ID 2095, its NetLogon service was running, and it did not have inbound and outbound replication disabled. However both of its replication partners were showing those symptoms.</p>
<p>By analysing the USN numbers in the output of the &#8220;repadmin /showutdvec&#8221; commands on each Domain Controller it was ultimately shown that the virtualised Domain Controller was still the one causing the USN rollback condition.</p>
<p>Because of this type of variance in the real world it is important to investigate the situation carefully and assess all of the available information before making a decision as to how to proceed with resolving the issue.</p>
<p><strong>Recovering from a USN Rollback</strong></p>
<p>The Microsoft article mentioned at the start of this post contains instructions as to how to recover from USN rollbacks.</p>
<p>1. Remove Active Directory from the server causing the USN rollback condition. If you try to run DCPromo.exe on the server you will receive an error.</p>
<p><a href="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback006.jpg" title="usnrollback006.jpg"><img src="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback006.thumbnail.jpg" alt="usnrollback006.jpg" /></a> <a href="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback007.jpg" title="usnrollback007.jpg"><img src="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback007.thumbnail.jpg" alt="usnrollback007.jpg" /></a></p>
<p>In order to demote the server you need to run DCPromo.exe with the /forceremoval switch. This is a last resort option for removing a Domain Controller when it cannot be removed by the conventional method.</p>
<p><a href="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback008.jpg" title="usnrollback008.jpg"><img src="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback008.thumbnail.jpg" alt="usnrollback008.jpg" /></a> <a href="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback009.jpg" title="usnrollback009.jpg"><img src="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback009.thumbnail.jpg" alt="usnrollback009.jpg" /></a></p>
<p>2. Shut down the demoted server.</p>
<p>3. On a healthy Domain Controller, clean up the metadata of the demoted Domain Controller. This is explained in detail in this Microsoft article.</p>
<p><a target="_blank" href="http://support.microsoft.com/kb/216498/" title="How to remove data in Active Directory after an unsuccessful domain controller demotion">How to remove data in Active Directory after an unsuccessful domain controller demotion</a></p>
<p>The enhanced NTDSUtil application in Windows Server 2003 SP1 and above allows you to remove the metadata.<br />
<code>C:\&gt;ntdsutil<br />
<strong>ntdsutil:</strong> metadata cleanup<br />
<strong>metadata cleanup:</strong> connections<br />
<strong>server connections:</strong> connect to server testdc1<br />
Binding to testdc1 ...<br />
Connected to testdc1 using credentials of locally logged on user.<br />
<strong>server connections:</strong> quit<br />
<strong>metadata cleanup:</strong> select operation target<br />
<strong>select operation target:</strong> list domains<br />
Found 1 domain(s)<br />
0 - DC=testing,DC=local<br />
<strong>select operation target:</strong> select domain 0<br />
No current site<br />
Domain - DC=testing,DC=local<br />
No current server<br />
No current Naming Context<br />
<strong>select operation target:</strong> list sites<br />
Found 1 site(s)<br />
0 - CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=testing,DC=local<br />
<strong>select operation target:</strong> select site 0<br />
Site - CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=testing,DC=local<br />
Domain - DC=testing,DC=local<br />
No current server<br />
No current Naming Context<br />
<strong>select operation target:</strong> list servers in site<br />
Found 2 server(s)<br />
0 - CN=TESTDC1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,D<br />
C=testing,DC=local<br />
1 - CN=TESTDC2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,D<br />
C=testing,DC=local<br />
<strong>select operation target:</strong> select server 1<br />
Site - CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=testing,DC=local<br />
Domain - DC=testing,DC=local<br />
Server - CN=TESTDC2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configurat<br />
ion,DC=testing,DC=local<br />
DSA object - CN=NTDS Settings,CN=TESTDC2,CN=Servers,CN=Default-First-Sit<br />
e-Name,CN=Sites,CN=Configuration,DC=testing,DC=local<br />
DNS host name - TESTDC2.testing.local<br />
Computer object - CN=TESTDC2,OU=Domain Controllers,DC=testing,DC=local<br />
No current Naming Context<br />
<strong>select operation target:</strong> quit<br />
<strong>metadata cleanup:</strong> remove selected server<br />
Transferring / Seizing FSMO roles off the selected server.<br />
Removing FRS metadata for the selected server.<br />
Searching for FRS members under "CN=TESTDC2,OU=Domain Controllers,DC=testing,DC=<br />
local".<br />
Deleting subtree under "CN=TESTDC2,OU=Domain Controllers,DC=testing,DC=local".<br />
The attempt to remove the FRS settings on CN=TESTDC2,CN=Servers,CN=Default-First<br />
-Site-Name,CN=Sites,CN=Configuration,DC=testing,DC=local failed because "Element<br />
not found.";<br />
metadata cleanup is continuing.<br />
"CN=TESTDC2,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=t<br />
esting,DC=local" removed from server "testdc1"<br />
<strong>metadata cleanup:</strong> quit<br />
<strong>ntdsutil:</strong> quit<br />
Disconnecting from testdc1...</code></p>
<p>You must manually remove the records in the Forest and Domain DNS zones for the demoted Domain Controller, and remove if from the list of Name Servers for each of the zones.</p>
<p><a href="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback012.jpg" title="usnrollback012.jpg"><img src="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback012.thumbnail.jpg" alt="usnrollback012.jpg" /></a> <a href="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback013.jpg" title="usnrollback013.jpg"><img src="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback013.thumbnail.jpg" alt="usnrollback013.jpg" /></a> <a href="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback014.jpg" title="usnrollback014.jpg"><img src="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback014.thumbnail.jpg" alt="usnrollback014.jpg" /></a> <a href="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback015.jpg" title="usnrollback015.jpg"></a></p>
<p>Finally you must remove the demoted server from Active Directory Sites and Services.</p>
<p><a href="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback015.jpg" title="usnrollback015.jpg"><img src="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback015.thumbnail.jpg" alt="usnrollback015.jpg" /></a></p>
<p>4. If the demoted server held FSMO roles you can seize them with NTDSUtil.</p>
<p><a target="_blank" href="http://support.microsoft.com/kb/255504/" title="Using Ntdsutil.exe to transfer or seize FSMO roles to a domain controller">Using Ntdsutil.exe to transfer or seize FSMO roles to a domain controller</a></p>
<p>5. Turn on the demoted server.</p>
<p>6. Promote the server to a Domain Controller again using DCPromo (if you wish it to have this role again).</p>
<p>7. If the server was a Global Catalog readd this role.</p>
<p>8. Restore FSMO roles to the server (if applicable).</p>
<p>9. Restore the System State (optional). This is only applicable if there was a previous, valid System State backup of the server from before the USN rollback condition occured in which there are Active Directory changes that you require to be restored.</p>
<p>Once the server is fully restored you can check that replication is occuring again with Replmon. You can also observe whether changes to the Active Directory are replicating properly by performing tests such as creating a new user object and waiting for it to replicate between servers.</p>
<p><a href="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback017.jpg" title="usnrollback017.jpg"><img src="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback017.thumbnail.jpg" alt="usnrollback017.jpg" /></a> <a href="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback016.jpg" title="usnrollback016.jpg"><img src="http://www.exchangeserverpro.com/wp-content/uploads/2007/06/usnrollback016.thumbnail.jpg" alt="usnrollback016.jpg" /></a></p>
<p>Finally the Event Log, Repadmin output and the state of the NetLogon service of all of your Domain Controllers can be checked as well.</p>
<p><code>C:\&gt;repadmin /options<br />
repadmin running command /options against server localhost<br />
Current DC Options: (none)</code></p>
<p><code>C:\&gt;sc query netlogon<br />
SERVICE_NAME: netlogon<br />
TYPE : 20 WIN32_SHARE_PROCESS<br />
STATE : 4 RUNNING<br />
(STOPPABLE, PAUSABLE, IGNORES_SHUTDOWN))<br />
WIN32_EXIT_CODE : 0 (0x0)<br />
SERVICE_EXIT_CODE : 0 (0x0)<br />
CHECKPOINT : 0x0<br />
WAIT_HINT : 0x0</code></p>
<p>Once the recovery is complete you may not be out of the woods yet. As you may have noticed in the screenshots above the User4 object no longer exists in the Active Directory. This is because the object was never able to replicate outbound from TESTDC2 and was therefore lost when the server was forced demoted. You should be aware that aside from objects completely disappearing, some other strange issues may pop up after the recover, such as users reporting that their new password no longer works, but their old password does. In the case of our customer one of the Domain Controllers immediately threw some SAM errors into the Event Log due to a replication conflict for a particular computer account. As a result the computer account was deleted automatically by the Domain Controller, a change which then replicated across the network and required the computer in question to be rejoined to the domain.</p>
<p>As you can see the USN rollback condition is a very serious situation that threatens the integrity of your Active Directory environment. Aherence to proper backup and restore processes for your Active Directory, and caution when dealing with projects that involve virtualising Domain Controllers, can help you avoid this condition in your network. However if you do unfortunately experience this problem in your production environment, careful analysis of the evidence and a clear recovery process as demonstrated here can get your environment back into a healthy condition again.</p>
<p></code></p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/recovering-a-single-domain-controller-from-a-usn-rollback" title="Recovering a single Domain Controller from a USN Rollback">Recovering a single Domain Controller from a USN Rollback</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-setup-error-the-exchange-server-is-in-an-inconsistent-state" title="Exchange 2010 Setup Error &#8211; The Exchange Server is in an Inconsistent State">Exchange 2010 Setup Error &#8211; The Exchange Server is in an Inconsistent State</a></li><li><a href="http://exchangeserverpro.com/exchange-2000-and-windows-server-2008-domain-controllers" title="Exchange 2000 and Windows Server 2008 Domain Controllers">Exchange 2000 and Windows Server 2008 Domain Controllers</a></li><li><a href="http://exchangeserverpro.com/exchange-2010-deployment-preparing-active-directory" title="Exchange 2010 Deployment: Preparing Active Directory">Exchange 2010 Deployment: Preparing Active Directory</a></li><li><a href="http://exchangeserverpro.com/verifying-your-existing-network-environment-for-exchange-2010" title="Exchange 2010 Planning: Verifying Your Existing Network Environment">Exchange 2010 Planning: Verifying Your Existing Network Environment</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/event-id-2095-and-the-usn-rollback-adventure">Event ID 2095 and The USN Rollback Adventure</a> is © 2007 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/event-id-2095-and-the-usn-rollback-adventure/feed</wfw:commentRss>
		<slash:comments>55</slash:comments>
		</item>
		<item>
		<title>Modifying RIS Images For Smaller Hard Disks</title>
		<link>http://exchangeserverpro.com/modifying-ris-images-for-smaller-hard-disks</link>
		<comments>http://exchangeserverpro.com/modifying-ris-images-for-smaller-hard-disks#comments</comments>
		<pubDate>Wed, 08 Nov 2006 00:57:28 +0000</pubDate>
		<dc:creator>Paul Cunningham</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Server 2003]]></category>
		<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://capslockassassin.com/?p=5</guid>
		<description><![CDATA[I was out at a customer site on the weekend setting up their new computer. Should be no problems at all as it was the same Dell model as one they had purchased a few months before, and I had taken the time to create a RIS image when I built that first one.Having used [...]]]></description>
			<content:encoded><![CDATA[<p class="entry">I was out at a customer site on the weekend setting up their new computer. Should be no problems at all as it was the same Dell model as one they had purchased a few months before, and I had taken the time to create a RIS image when I built that first one.Having used different disk imaging tools over the years I’d never had a problem with disk sizes, as long as the image was smaller than the disk you were putting it on. So for example a Ghost image made with a 60Gb disk would happily load onto a 20Gb disk as long as the actual data was less than 20Gb.</p>
<p>This is not the case with RIS, as many have found out before me it seems. If you create a RIS image on say a 160Gb disk (because Dell was running a special that day) and then later try to apply that RIS image to an 80Gb disk, you receive an error documented <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;320982" target="_blank">here</a>.  There are a couple of causes of this problem, the applicable one in this case was (in Microsoft’s words):</p>
<blockquote><p><em>The hard disk on the source computer is larger than the hard disk on the destination computer. The disk volume information is contained in the Imirror.dat file during the creation of the RIS image, and is stored on the RIS server for that image.</em></p></blockquote>
<p>Bingo, I thought.  The exact problem I’m having, lets see the solution…</p>
<blockquote><p><em>Re-create the RIS image on a smaller hard disk.</em><br />
<em> Install a larger hard disk on the destination computer. The hard disk must be as large as or larger than the hard disk in the source computer.</em></p></blockquote>
<p>Ah… thats no help. I don’t have a larger disk available to install, and I don’t really want to have to go through the process of reinstalling Windows XP from scratch to create a new RIS image when I have a perfectly good one already on the server.</p>
<p>Google to the rescue.  The Microsoft article mentioned the IMirror.dat file, so searching for “imirror.dat” I came across <a href="http://community.bartdesmet.net/blogs/bart/archive/2005/01/06/544.aspx" target="_blank">Bart De Smet’s blog</a> where he has documented a simple solution. In his case he suggests starting a RIS upload from a computer with a smaller disk, just long enough for the IMirror.dat file to be created, and then snagging that file and copying it into the source of the RIS image you want to install. Fortunately in my case I had RIS images for older hardware models on the server as well, that had smaller disk in them when the images were created.</p>
<p>So it was a simple matter to grab the IMirror.dat file from one of those, copy it over to the image I wanted to install, and start the RIS install again. This worked great, and got me out of the woods on this problem.</p>
<p>While the image was installing I looked around for a bit more information on the topic and found <a href="http://www.mcse.ms/message2162473.html" target="_blank">this forum thread</a> (and here is a <a href="http://72.14.253.104/search?q=cache:mZL8kzY8OrgJ:www.mcse.ms/message2162473.html+imirror.dat+offset&amp;hl=en&amp;gl=au&amp;ct=clnk&amp;cd=3" target="_blank">Google Cache link</a> in case it won’t load). Johan Arwidmark describes how to use WinHex to edit the values in the IMirror.dat file that contain the disk size information. I downloaded WinHex and opened the file and saw the values he referred to. Comparing those to the values in the IMirror.dat for a smaller image I modified them to match and retested the RIS load. This method worked perfectly as well.</p>
<p>So there you have it, two methods of applying the same solution to the problem of trying to load a RIS image on a smaller disk than it was created on.</p>
<h3  class="related_post_title">Related posts:</h3><ul class="related_post"><li><a href="http://exchangeserverpro.com/microsoft-certification-the-mark-russinovich-exam" title="Microsoft Certification – The Mark Russinovich Exam">Microsoft Certification – The Mark Russinovich Exam</a></li><li><a href="http://exchangeserverpro.com/ms08-037-causes-port-conflicts-with-dns-and-ias-services" title="MS08-037 causes port conflicts with DNS and IAS services">MS08-037 causes port conflicts with DNS and IAS services</a></li><li><a href="http://exchangeserverpro.com/slipstreaming-service-pack-2-into-your-windows-server-2003-r2-media" title="Slipstreaming Service Pack 2 into your Windows Server 2003 R2 media">Slipstreaming Service Pack 2 into your Windows Server 2003 R2 media</a></li><li><a href="http://exchangeserverpro.com/recovering-a-single-domain-controller-from-a-usn-rollback" title="Recovering a single Domain Controller from a USN Rollback">Recovering a single Domain Controller from a USN Rollback</a></li><li><a href="http://exchangeserverpro.com/how-and-why-i-stopped-using-windows-vista" title="How and why I stopped using Windows Vista">How and why I stopped using Windows Vista</a></li></ul><hr />
<p>This article <a href="http://exchangeserverpro.com/modifying-ris-images-for-smaller-hard-disks">Modifying RIS Images For Smaller Hard Disks</a> is © 2006 ExchangeServerPro.com</p>
<p>Get more <a href="http://exchangeserverpro.com">Exchange Server tips</a> at <a href="http://exchangeserverpro.com">ExchangeServerPro.com</a></p>]]></content:encoded>
			<wfw:commentRss>http://exchangeserverpro.com/modifying-ris-images-for-smaller-hard-disks/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
