<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Active Directory, Cluster and other fun stuff... : Windows 2000</title><link>http://blogs.technet.com/justinturner/archive/tags/Windows+2000/default.aspx</link><description>Tags: Windows 2000</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>AD User and Group Restore Webcast</title><link>http://blogs.technet.com/justinturner/archive/2007/04/05/ad-user-and-group-restore-webcast.aspx</link><pubDate>Thu, 05 Apr 2007 08:32:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:727532</guid><dc:creator>justintu</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/justinturner/comments/727532.aspx</comments><wfw:commentRss>http://blogs.technet.com/justinturner/commentrss.aspx?PostID=727532</wfw:commentRss><description>&lt;P&gt;&lt;FONT size=3&gt;Some time ago I did a webcast presentation on Active Directory User and Group Restore.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;I've included the link for those of you that may have missed it.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Check out the on-demand presentation here:&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title=http://www.msusapartnerreadiness.com/WS_abstract.asp?eid=15004864 href="http://www.msusapartnerreadiness.com/WS_abstract.asp?eid=15004864" mce_href="http://www.msusapartnerreadiness.com/WS_abstract.asp?eid=15004864"&gt;http://www.msusapartnerreadiness.com/WS_abstract.asp?eid=15004864&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;(Unfortunately registration is required, but that takes only a few seconds)&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Let me know if you would like to see more like this one.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Thanks!&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=727532" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/justinturner/archive/tags/Active+Directory/default.aspx">Active Directory</category><category domain="http://blogs.technet.com/justinturner/archive/tags/Windows+Server+2003/default.aspx">Windows Server 2003</category><category domain="http://blogs.technet.com/justinturner/archive/tags/Windows+2000/default.aspx">Windows 2000</category><category domain="http://blogs.technet.com/justinturner/archive/tags/Disaster+Recovery/default.aspx">Disaster Recovery</category></item><item><title>Active Directory Forest Recovery...</title><link>http://blogs.technet.com/justinturner/archive/2007/01/18/active-directory-forest-recovery.aspx</link><pubDate>Thu, 18 Jan 2007 15:56:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:601263</guid><dc:creator>justintu</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.technet.com/justinturner/comments/601263.aspx</comments><wfw:commentRss>http://blogs.technet.com/justinturner/commentrss.aspx?PostID=601263</wfw:commentRss><description>&lt;P&gt;&lt;FONT size=3&gt;The helpdesk phone had been ringing incessantly&amp;nbsp;all day.&amp;nbsp; Many people throughout the AD forest were unable to login to their respective domains.&amp;nbsp; It seems that accounts throughout the forest&amp;nbsp;had somehow been&amp;nbsp;deleted.&amp;nbsp; John, tired from having been up all night watching "&lt;A href="http://search.live.com/results.aspx?FORM=&amp;amp;q=%22white+and+nerdy%22+&amp;amp;mkt=en-us" mce_href="http://search.live.com/results.aspx?FORM=&amp;amp;q=%22white+and+nerdy%22+&amp;amp;mkt=en-us"&gt;White and Nerdy&lt;/A&gt;", was called in to help identify what was going on.&amp;nbsp; Fortunately he had recently enabled &lt;A title="How to: Audit Active Directory Objects" href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;814595" mce_href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;814595"&gt;auditing&lt;/A&gt; for account deletions due to a recent problem that he had.&amp;nbsp; After some serious filtering he was able to find the following event in the Security event log:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=1&gt;&lt;EM&gt;Event Type: Success Audit&lt;BR&gt;Event Source: Security&lt;BR&gt;Event Category: Account Management&lt;BR&gt;Event ID: 630&lt;BR&gt;Date: 1/17/2007&lt;BR&gt;Time: 12:30:44 AM&lt;BR&gt;&lt;STRONG&gt;User: Contoso\JuniorAdmin&lt;/STRONG&gt;&lt;BR&gt;Computer: DisgruntledXP&lt;BR&gt;Description:&lt;BR&gt;&lt;STRONG&gt;User Account Deleted:&lt;BR&gt;&lt;/STRONG&gt;Target Account Name: JustinTurner&lt;BR&gt;Target Domain: Contoso&lt;BR&gt;Target AccountID: Justin Turner []DEL:3f4567f2-f90b-493e-81a3-dcfc75596cd7&lt;BR&gt;Caller User Name: JuniorAdmin&lt;BR&gt;Caller Domain: Contoso&lt;/EM&gt;&lt;/FONT&gt; 
&lt;P&gt;&lt;FONT size=3&gt;&lt;STRONG&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;This was a little offsetting to say the least.&amp;nbsp; "JuniorAdmin" was the name of the account for one of his Junior Network Administrators that they just fired for getting them into that last &lt;A title="AD User and Group Restore" href="http://blogs.technet.com/justinturner/archive/2006/12/07/ad-user-and-group-restore.aspx" target=_blank mce_href="http://blogs.technet.com/justinturner/archive/2006/12/07/ad-user-and-group-restore.aspx"&gt;mess&lt;/A&gt;.&amp;nbsp; He quickly disabled the account, and then&amp;nbsp;attempted to identify what kind of mess they were in now.&amp;nbsp; His heart sank into his stomach when he&amp;nbsp;discovered that JuniorAdmin was a member of the Schema and Enterprise Admins security groups...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;I had planned on providing an in-depth discussion about forest recovery, and then realized that there is already more than enough information on this topic.&amp;nbsp; Since I have already advertised this, I will go ahead and provide what I hope will serve as a good general overview, and then point you to a few good resources for the process.&amp;nbsp; There is now a Server 2003 specific &lt;A title="Server 2003 Planning for Active Directory Forest Recovery" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=AFE436FA-8E8A-443A-9027-C522DEE35D85&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=AFE436FA-8E8A-443A-9027-C522DEE35D85&amp;amp;displaylang=en"&gt;forest recovery whitepaper&lt;/A&gt;, but the process is unchanged from &lt;A title="Windows 2000 Active Directory Forest Recovery" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3eda5a79-c99b-4df9-823c-933feba08cfe&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=3eda5a79-c99b-4df9-823c-933feba08cfe&amp;amp;displaylang=en"&gt;Windows 2000&lt;/A&gt;.&amp;nbsp; There are some additional server 2003 specific goodies added however. (like repadmin /removelingeringobjects)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Before we dive right into the process I want to&amp;nbsp;point out a couple of reasons&amp;nbsp;for why you might have to perform an Active Directory&amp;nbsp;forest recovery.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;There are a few reasons that I won't mention, but the two most common I see are: &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;1. The security of your directory has been compromised either through virus, hacker, or disgruntled employee.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;2.&amp;nbsp; A change was made to the schema which needs to be undone.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;This really is a big deal, and is not something you want to jump straight to without first consulting Microsoft PSS/CSS/EPS/Platforms Support.&amp;nbsp; (we've had so many different names, I don't remember the current one :-) The team you would be dealing with for this particular issue would be&amp;nbsp;Platforms Directory Services.&amp;nbsp;We&amp;nbsp;want to try to determine what caused the forest failure, and also to ensure that a forest recovery is the best recovery&amp;nbsp;option.&amp;nbsp; An entire forest recovery is obviously one of the last steps you would want to try, so it really&amp;nbsp;is best to explore all other recovery options first.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;The five hundred thousand foot overview of the process&amp;nbsp;is:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;1. Recover one dc from the forest root domain first from backup.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;2. Recover one dc from each of the remaining domains from backup.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;3. Restore additional DC's by promoting them via dcpromo.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;What follows is a general overview of the process that is outlined in both the Windows 2000 and Server 2003 forest recovery whitepapers referenced earlier.&amp;nbsp; Please reference the particular whitepaper for the specific steps.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;There are three major stages of a forest recovery:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Pre-recovery, Recovery, and Post Recovery&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;STRONG&gt;Pre-Recovery:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;1. Determine the current forest structure/topology&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;2. Find one trusted backup to use per domain&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;3. Shutdown, and disconnect if possible, all DC's in the forest&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;STRONG&gt;Recovery:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;1. Isolate the server, (unplug network cable) and perform a&amp;nbsp;system state restore (ensure you&amp;nbsp;choose the Advanced option to perform a Primary restore of Sysvol)&amp;nbsp; Only choose this option for the first DC in a domain.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;2. Verify DC was successfully restored after rebooting&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;3. Configure DNS&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;4. Disable Global Catalog (if enabled)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;5. Raise RID pool by 100,000&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;6. Seize FSMO roles&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;7. Perform &lt;A href="http://support.microsoft.com/kb/216498" target=_blank mce_href="http://support.microsoft.com/kb/216498"&gt;metadata cleanup&lt;/A&gt; of all other DC's in the forest root domain&amp;nbsp; (also delete DC computer objects for dc's that will not be restored from backup in this domain)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;8. Reset machine account twice&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;9. Reset the krbtgt account password twice&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;10. Reset all trust passwords twice&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;11. Restore the first DC in each of the remaining domains from backup (perform Recovery steps 1-10&amp;nbsp;to recover one dc in each of the remaining domains)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;As you restore each DC, you will want to point them to the recovered forest root DC for DNS.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;12. Connect the restored DC's back to the network&amp;nbsp; (prior to performing this step ensure that no old dc's are still online)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;13. Perform a full replica&amp;nbsp;set sync of AD&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;14. Enable forest root dc as a GC&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;15. Seize schema master on forest root dc (if the schema master wasn't the dc that was restored)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;16. Recover additional DC's in each of the domains using dcpromo&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;STRONG&gt;Post-Recovery:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;1. Revert forest back to original DNS configuration&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;2. Redistribute FSMO roles&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;3. Enable additional Global catalog servers&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;4. Get a good system state backup from at least two dc's in each domain&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;As you can see, this is a very lengthy process.&amp;nbsp; The whitepaper walks you through each step in detail.&amp;nbsp; There is a good&amp;nbsp;index&amp;nbsp;in the paper that&amp;nbsp;has step by step instructions for every single process as well.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Finally&amp;nbsp;I just want to expand on a couple of the items listed above.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;STRONG&gt;Some considerations to take when identifying which DC's to restore:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;You will only be restoring one&amp;nbsp;DC per domain.&amp;nbsp; The recovery process will go much quicker if the restored DC was a DNS server, and was not a GC&amp;nbsp;at the time the backup was taken.&amp;nbsp; For some of you this may be an easy choice as you may only be able to find one good backup.&amp;nbsp; I find that when it comes to these situations, many have trouble locating a decent system state backup.&amp;nbsp; (but maybe my view is skewed&amp;nbsp;because the customers that have tested their disaster recovery plan don't call us?)&amp;nbsp; Additionally the process will go by quicker if the DC that you restore in the forest root domain was the Domain Naming and or Schema master.&amp;nbsp; Selecting one that was a RID master will also help.&amp;nbsp; If you are unable to locate a backup from one of these FSMO masters then you will just need to seize the role after the server is restored.&amp;nbsp; To help you out with this there is a cool repadmin command that shows you the last time a dc's system state was backed up:&amp;nbsp; &lt;/FONT&gt;&lt;A title="Repadmin /showbackup" href="http://blogs.msdn.com/brettsh/archive/2006/02/09/528708.aspx" target=_blank mce_href="http://blogs.msdn.com/brettsh/archive/2006/02/09/528708.aspx"&gt;&lt;FONT size=3&gt;repadmin /showbackup&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&amp;nbsp;DCName&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;STRONG&gt;Don't try to shortcut this process by leaving out steps:&lt;/STRONG&gt;&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;For example: When it says to shutdown and/or disconnect each dc.&amp;nbsp; Do exactly that.&amp;nbsp; We want to ensure that a restored dc does not replicate in bad data from a dc that we forgot to (or couldn't) shutdown.&amp;nbsp; So at the very least ensure that you have your servers that you are restoring disconnected from the network.&amp;nbsp; Also ensure that you reset each of the passwords listed&amp;nbsp;twice.&amp;nbsp; Ensure that you are very thorough with your metadata cleanup stage.&amp;nbsp; Otherwise you will have a not so fun time troubleshooting why your DC's aren't replicating.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;STRONG&gt;There is a typo several times in both whitepapers that greatly changes the meaning of the step:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;"Delete server objects and computer objects for all domain controllers in the forest root domain that &lt;B&gt;you are restoring&lt;/B&gt; from backup..."&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;This should read "...that you are&lt;STRONG&gt;&lt;FONT size=4&gt;n't&lt;/FONT&gt;&lt;/STRONG&gt; restoring from backup"&amp;nbsp; I will attempt to get this changed in the whitepapers.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;STRONG&gt;Repadmin is your friend:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;There are a few steps where you will use various repadmin commands.&amp;nbsp; Learning repadmin syntax ahead of time will aid in the process.&amp;nbsp; It is also very useful for performing day-to-day AD operations as well.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Some options that you will need to use:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;/showbackup&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;/syncall&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;/showreps&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;/options&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;You may&amp;nbsp;also end up having to use /add, /sync, and /removelingeringobjects as well.&amp;nbsp; However, if you follow the step where it says not to restore a DC that was a GC (or just uncheck that after the restore) then you shouldn't have to worry about lingering objects.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Well that's all I have to say about that. :-)&amp;nbsp; I'll add more later if I think of something else that I left out.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Post any comments or questions you have about this or any other topic that I have blogged about.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Up next: Cluster service failure troubleshooting&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Thanks for reading!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Justin&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class=wlWriterSmartContent id=0767317B-992E-4b12-91E0-4F059A8CECA8:2846f824-9923-42a4-bc0a-7d57662a0079 contentEditable=false style="PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; FLOAT: none; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"&gt;Technorati tags: &lt;A href="http://technorati.com/tags/Active%20Directory" rel=tag mce_href="http://technorati.com/tags/Active%20Directory"&gt;Active Directory&lt;/A&gt;, &lt;A href="http://technorati.com/tags/AD" rel=tag mce_href="http://technorati.com/tags/AD"&gt;AD&lt;/A&gt;, &lt;A href="http://technorati.com/tags/Server%202003" rel=tag mce_href="http://technorati.com/tags/Server%202003"&gt;Server 2003&lt;/A&gt;, &lt;A href="http://technorati.com/tags/Disaster%20Recovery" rel=tag mce_href="http://technorati.com/tags/Disaster%20Recovery"&gt;Disaster Recovery&lt;/A&gt;&lt;/DIV&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=601263" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/justinturner/archive/tags/Active+Directory/default.aspx">Active Directory</category><category domain="http://blogs.technet.com/justinturner/archive/tags/Windows+Server+2003/default.aspx">Windows Server 2003</category><category domain="http://blogs.technet.com/justinturner/archive/tags/Windows+2000/default.aspx">Windows 2000</category><category domain="http://blogs.technet.com/justinturner/archive/tags/Disaster+Recovery/default.aspx">Disaster Recovery</category></item><item><title>Missing or corrupt Systemced - part 2</title><link>http://blogs.technet.com/justinturner/archive/2006/12/21/missing-or-corrupt-systemced-part-2.aspx</link><pubDate>Thu, 21 Dec 2006 14:46:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:566088</guid><dc:creator>justintu</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.technet.com/justinturner/comments/566088.aspx</comments><wfw:commentRss>http://blogs.technet.com/justinturner/commentrss.aspx?PostID=566088</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;****EDIT&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Hey Guys, I goofed on this post:&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This post discusses a utility used during the course of a Microsoft support call.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;It is not available to send to customers, and is not available for download as I had originally thought.&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT size=3&gt;&lt;FONT face=Calibri&gt;The version posted on the download site does not contain the same functionality referenced here.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;If you email me through the blog I will do my best to help out.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Due to my tremendous workload my response may be delayed.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;If this is an urgent matter then you may want to consider opening up a paid incident with Microsoft Support: &lt;SPAN lang=EN style="mso-ansi-language: EN"&gt;&lt;A href="http://support.microsoft.com/" target=_new&gt;http://support.microsoft.com/&lt;/A&gt; ****&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;This is part 2 of my earlier post on the whole "&lt;A title="Missing or corrupt Systemced... What's that?" href="http://blogs.technet.com/justinturner/archive/2006/12/16/missing-or-corrupt-systemced-what-s-that.aspx" target=_blank mce_href="http://blogs.technet.com/justinturner/archive/2006/12/16/missing-or-corrupt-systemced-what-s-that.aspx"&gt;missing or corrupt system hive&lt;/A&gt;" issue. Okay, so we have a copy of the bloated/corrupt registry hive.&amp;nbsp; Now what do we do with it?&amp;nbsp; &lt;/FONT&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=56D3C201-2C68-4DE8-9229-CA494362419C&amp;amp;displaylang=en" target=_blank mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=56D3C201-2C68-4DE8-9229-CA494362419C&amp;amp;displaylang=en"&gt;&lt;FONT size=3&gt;Chkreg.exe&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt; is your friend.&amp;nbsp; Chkreg is a command line utility that you can use to repair a corrupt registry hive.&amp;nbsp; You can also use it to just display registry key size.&amp;nbsp; The majority of the issues that I see are not due to a corrupt system hive, so I use chkreg to help me identify what is taking up all of the hive size.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;The ability to view registry key size wasn't added until a later version of chkreg than what is&amp;nbsp;available at&amp;nbsp;Microsoft.com.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;The main version that you will find is actually used along with the XP Setup disks.&amp;nbsp; In that version it&amp;nbsp;is placed on disk 6, and after you boot to the recovery console it automatically attempts to repair the system hive.&amp;nbsp; This version does not let you run it from the GUI.&amp;nbsp; You will get this message if you try: "chkreg.exe application cannot be run in Win32 mode."&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;I thought the newer version was available on our site, unfortunately it looks like you have to call us in order to get this special version of chkreg.&amp;nbsp; With this&amp;nbsp;version of chkreg you get the /S, /O, and /D options.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;/S Displays space usage for the bin.&amp;nbsp; When bin is not specified, displays usage for the entire hive.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;/O Ordered by size&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;/D Dump subkeys&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&amp;nbsp;I typically put the bloated hive in a folder such as c:\temp, and so my command would be:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;chkreg.exe /F c:\temp\system /S /O /D &amp;gt;regbloat.txt&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;This will output the keys listed largest to smallest to a file called regbloat.txt&amp;nbsp;&amp;nbsp; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Here is an example of two such bloated keys from the txt file:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=1&gt;Size&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Subkeys&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=1&gt;552027&amp;nbsp; ControlSet002\Control\DeviceClasses\{28d78fad-5a12-11d1-ae5b-0000f803a8c2}\##?#Root#RDPDR#0000#{28d78fad-5a12-11d1-ae5b-0000f803a8c2}&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=1&gt;547031&amp;nbsp; ControlSet001\Control\DeviceClasses\{28d78fad-5a12-11d1-ae5b-0000f803a8c2}\##?#Root#RDPDR#0000#{28d78fad-5a12-11d1-ae5b-0000f803a8c2}&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;In this example, the same key in both ControlSet keys are causing the registry size problem.&amp;nbsp; This is a &lt;/FONT&gt;&lt;A title="Windows 2000 Server or Windows 2000 Advanced Server Computer That Is Running Terminal Services Stops Responding Immediately After You Start the Computer" href="http://support.microsoft.com/kb/323148" target=_blank mce_href="http://support.microsoft.com/kb/323148"&gt;&lt;FONT size=3&gt;known&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt; issue that occurs when you have the Spooler service disabled on a Terminal Server.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;I remove the bloated keys, and then run chkreg again, but this time with the /C switch to compress the hive.&amp;nbsp; The last step is to swap the hive back out via recovery console in order to boot off of it.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;There is a utility that you can use to correct the problem&amp;nbsp;called scrubber.exe, but it only corrects the issue if it is due to the issue mentioned here: KB &lt;A title="277222&amp;#9;System may not start when creating a large number of logical units and volumes" href="http://support.microsoft.com/kb/277222" target=_blank mce_href="http://support.microsoft.com/kb/277222"&gt;277222&lt;/A&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Tune in next time when I will discuss: Active Directory Forest recovery or something else equally exciting. :)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Thanks for viewing!&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Justin&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV class=wlWriterSmartContent id=0767317B-992E-4b12-91E0-4F059A8CECA8:809bc90b-0505-48f0-b296-240ef43670f8 contentEditable=false style="PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"&gt;Technorati tags: &lt;A href="http://technorati.com/tags/Cluster" rel=tag mce_href="http://technorati.com/tags/Cluster"&gt;Cluster&lt;/A&gt;, &lt;A href="http://technorati.com/tags/Setup" rel=tag mce_href="http://technorati.com/tags/Setup"&gt;Setup&lt;/A&gt;, &lt;A href="http://technorati.com/tags/Windows%202000" rel=tag mce_href="http://technorati.com/tags/Windows%202000"&gt;Windows 2000&lt;/A&gt;&lt;/DIV&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=566088" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/justinturner/archive/tags/Cluster/default.aspx">Cluster</category><category domain="http://blogs.technet.com/justinturner/archive/tags/Setup/default.aspx">Setup</category><category domain="http://blogs.technet.com/justinturner/archive/tags/Windows+2000/default.aspx">Windows 2000</category></item><item><title>Missing or corrupt Systemced... What's that?</title><link>http://blogs.technet.com/justinturner/archive/2006/12/16/missing-or-corrupt-systemced-what-s-that.aspx</link><pubDate>Sat, 16 Dec 2006 16:33:00 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:559183</guid><dc:creator>justintu</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.technet.com/justinturner/comments/559183.aspx</comments><wfw:commentRss>http://blogs.technet.com/justinturner/commentrss.aspx?PostID=559183</wfw:commentRss><description>&lt;DIV class=wlWriterSmartContent id=0767317B-992E-4b12-91E0-4F059A8CECA8:397c3854-8443-4dbd-a33b-a3c936f05186 contentEditable=false style="PADDING-RIGHT: 0px; DISPLAY: inline; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px"&gt;Technorati tags: &lt;A href="http://technorati.com/tags/Cluster" rel=tag mce_href="http://technorati.com/tags/Cluster"&gt;Cluster&lt;/A&gt;, &lt;A href="http://technorati.com/tags/Setup" rel=tag mce_href="http://technorati.com/tags/Setup"&gt;Setup&lt;/A&gt;, &lt;A href="http://technorati.com/tags/Boot" rel=tag mce_href="http://technorati.com/tags/Boot"&gt;Boot&lt;/A&gt;, &lt;A href="http://technorati.com/tags/Windows%202000" rel=tag mce_href="http://technorati.com/tags/Windows%202000"&gt;Windows 2000&lt;/A&gt;&lt;/DIV&gt;
&lt;P&gt;&lt;FONT size=3&gt;Part 1 of 2&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;The on-call pager went off at two in the morning.&amp;nbsp; John rushed in to discover that one of their main Windows 2000 file and print servers was sitting at a black screen with the following error displayed:&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size=2&gt;Windows 2000 could not start because the following file is missing or corrupt:&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;&lt;FONT size=2&gt;\WINNT\SYSTEM32\CONFIG\SYSTEMced&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;IMG src="http://media.twango.com/m1/large/0025/1f320691838e45aea4a90118e6934635.jpg" mce_src="http://media.twango.com/m1/large/0025/1f320691838e45aea4a90118e6934635.jpg"&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Well was it missing or was it corrupt!?&amp;nbsp; He booted the server into &lt;/FONT&gt;&lt;A title="301645&amp;#9;How To Use Recovery Console on a Computer That Does Not Start in Windows 2000" href="http://support.microsoft.com/kb/301645/" target=_blank mce_href="http://support.microsoft.com/kb/301645/"&gt;&lt;FONT size=3&gt;Recovery Console&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;, and went to the location mentioned in the error.&amp;nbsp; It appeared to be missing---he couldn't find a file called "Systemced" anywhere... &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;There really isn't a file called SYSTEMced.&amp;nbsp; The error message has just overwritten the&amp;nbsp;message that normally appears there during system boot: "&lt;/FONT&gt;&lt;FONT size=3&gt;For troubleshooting and advanced startup options for Windows 2000, press F8."&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Here is the message that is normally displayed at this point in the boot process:&amp;nbsp; (notice that the ced from SYSTEMced is actually the last part of the word "advanced")&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="http://media.twango.com/m1/large/0025/2abad0d93dad4b6e9c7ecc6e7d3018a3.jpg" mce_src="http://media.twango.com/m1/large/0025/2abad0d93dad4b6e9c7ecc6e7d3018a3.jpg"&gt; &lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;FONT size=3&gt;The method of recovery for this issue is actually documented fairly well here: KB &lt;/FONT&gt;&lt;A title="Windows Could Not Start Because the Following File Is Missing or Corrupt: \Winnt\System32\Config\Systemced" href="http://support.microsoft.com/kb/269075" target=_blank mce_href="http://support.microsoft.com/kb/269075"&gt;&lt;FONT size=3&gt;269075&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&amp;nbsp;here: KB &lt;/FONT&gt;&lt;A title="323148&amp;#9;Windows 2000 Server or Windows 2000 Advanced Server Computer That Is Running Terminal Services Stops Responding Immediately After You Start the Computer" href="http://support.microsoft.com/kb/323148" target=_blank mce_href="http://support.microsoft.com/kb/323148"&gt;&lt;FONT size=3&gt;323148&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt;&amp;nbsp; and here: KB &lt;A title="Cluster Service Does Not Remove File Share Entries from LANMANSERVER" href="http://support.microsoft.com/kb/302829" target=_blank mce_href="http://support.microsoft.com/kb/302829"&gt;302829&lt;/A&gt; There are several other articles that describe various methods of correcting the problem, but these&amp;nbsp;cover the basic steps required.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Usually when I see the issue it is because the system hive is too large to load into memory.&amp;nbsp; In Windows 2000 (and NT 4) we are limited to 16&amp;nbsp;MB of memory at boot time.&amp;nbsp;&amp;nbsp;You will likely first run into this problem when the system hive reaches just a little over 10&amp;nbsp;MB.&amp;nbsp; Thankfully this memory limitation has been greatly &lt;/FONT&gt;&lt;A title="The system hive memory limitation is improved in Windows Server 2003" href="http://support.microsoft.com/kb/302594/" target=_blank mce_href="http://support.microsoft.com/kb/302594/"&gt;&lt;FONT size=3&gt;increased&lt;/FONT&gt;&lt;/A&gt;&lt;FONT size=3&gt; in Server 2003.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Essentially what you do is boot using an alternate system hive, and then either restore the hive from backup, (in the case of a corrupted hive) or clean up space in the system hive if the boot failure is caused by the system hive being&amp;nbsp;too large.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;This is a very common problem.&amp;nbsp; I've seen it three times in the past week. (and countless times in the last few years)&amp;nbsp; Some customers have this problem so often that they have a process in place to check the size of the system hive before they reboot a server. (you know who you are ;-) )&amp;nbsp; Hopefully with this and the next post, I can convince some of you to correct the problem that&amp;nbsp;causes the bloated hive in the first place so that you never have to see this error on reboot.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;In the next post I will&amp;nbsp;go over&amp;nbsp;the chkreg.exe utility that I use to correct this problem, and ways to prevent it from happening in the future.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Stay tuned...&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=3&gt;Justin&lt;/FONT&gt;&lt;/P&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=559183" width="1" height="1"&gt;</description><category domain="http://blogs.technet.com/justinturner/archive/tags/Cluster/default.aspx">Cluster</category><category domain="http://blogs.technet.com/justinturner/archive/tags/Setup/default.aspx">Setup</category><category domain="http://blogs.technet.com/justinturner/archive/tags/Windows+2000/default.aspx">Windows 2000</category></item></channel></rss>