<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>Obscurum per Obscurius : Active Directory</title><link>http://blogs.msdn.com/muaddib/archive/tags/Active+Directory/default.aspx</link><description>Tags: Active Directory</description><dc:language>en</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Testing Domain Controller Connectivity Using PORTQRY</title><link>http://blogs.msdn.com/muaddib/archive/2009/03/29/testing-domain-controller-connectivity-using-portqry.aspx</link><pubDate>Mon, 30 Mar 2009 03:23:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9517728</guid><dc:creator>MuadDib</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.msdn.com/muaddib/comments/9517728.aspx</comments><wfw:commentRss>http://blogs.msdn.com/muaddib/commentrss.aspx?PostID=9517728</wfw:commentRss><description>&lt;P&gt;One common problem I see with Active Directory implementations is an Active Directory topology that is not fully routable.&amp;nbsp; In a fully routable environment every domain controller (DC) can communicate with every other DC.&amp;nbsp; While&amp;nbsp;most customers "think" they have a fully routable environment in reality they do not.&amp;nbsp; In some cases there are multiple firewalls between the DCs that are blocking ports or DCs connected across VPN links that do not have the proper ports open.&amp;nbsp; For more information on how Active Directory replication works read&amp;nbsp;the&amp;nbsp;articles in the RESOURCES section below.&lt;/P&gt;
&lt;P&gt;Here are the ports required by Active Directory as described&amp;nbsp;in the "Service Overview" link below.&amp;nbsp; The basic ports are TCP: &lt;/P&gt;
&lt;P&gt;88 (Kerberos)&lt;BR&gt;135 (RPC)&lt;BR&gt;389 (LDAP)&lt;BR&gt;445 (CIFS)&lt;BR&gt;3268&amp;nbsp;(Global Catalog)&lt;/P&gt;
&lt;P&gt;There are additional ports and protocols but these are enough to get started testint the basics.&lt;/P&gt;
&lt;P&gt;The PORTQRY utility can be found in the Windows Server 2003 Support Tools and the newest version can be found in the links that follow.&amp;nbsp; PORTQRY can be used to test connectivity on a port or range of ports from one server to another.&amp;nbsp; For example to test TCP port 389 from the current computer to a server named VDC02 you would type the following command:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;PORTQRY - n VDC02 -e 389 -p TCP&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The query will return a great deal of information when you query 389 but you should see a line similar to the following if port 389 is reachable and able to respond:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;TCP port 389 (ldap service): LISTENING&lt;/P&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;In order to speed up the process of testing you can use a batch file with a FOR loop in it to read server names from a text file and perform several ports test against a server.&amp;nbsp; The sample script shown below will perform some basic testing but you might need to perform more detailed analysis if you are having problems (note somelines may be wrapped due to blog formatting).&lt;/P&gt;
&lt;P&gt;&lt;FONT size=1&gt;::::::::::::::::::::::::::::&amp;nbsp;BEGIN SCRIPT :::::::::::::::::::::::::&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=1&gt;&amp;nbsp;@ECHO OFF&lt;BR&gt;:: NAME: DCPortTest.CMD v1.0&lt;BR&gt;:: DATE: 03/29/2009&lt;BR&gt;:: PURPOSE:&amp;nbsp; Test connectivity from one DC to one or more remote DCs&lt;BR&gt;:: using PORTQRY utility. &lt;BR&gt;:: The SERVERS.TXT contains a list of servers (one server per line)&lt;BR&gt;:: to check connectivity to.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR&gt;&lt;FONT size=1&gt;ECHO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DATE: %DATE% &amp;gt; DC_PORTQRY.TXT&lt;BR&gt;ECHO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TIME: %TIME% &amp;gt;&amp;gt; DC_PORTQRY.TXT&lt;BR&gt;ECHO&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USER: %USERNAME% &amp;gt;&amp;gt; DC_PORTQRY.TXT&lt;BR&gt;ECHO COMPUTER: %COMPUTERNAME% &amp;gt;&amp;gt; DC_PORTQRY.TXT&lt;BR&gt;ECHO. &amp;gt;&amp;gt; DC_PORTQRY.TXT&lt;BR&gt;ECHO. &amp;gt;&amp;gt; DC_PORTQRY.TXT&lt;BR&gt;ECHO. &amp;gt;&amp;gt; DC_PORTQRY.TXT&lt;BR&gt;FOR /F "tokens=1" %%i in (servers.txt) DO (&lt;BR&gt;&amp;nbsp;ECHO ::::::::::::::::::::::&amp;nbsp; %%i&amp;nbsp; :::::::::::::::::::::::::: &amp;gt;&amp;gt; DC_PORTQRY.TXT &lt;BR&gt;&amp;nbsp;ECHO Testing %%i&lt;BR&gt;&amp;nbsp;ECHO. &amp;gt;&amp;gt; DC_PORTQRY.TXT &lt;BR&gt;&amp;nbsp;PORTQRY -n %%i -e 88 -p TCP | findstr /i "88"&amp;nbsp; &amp;gt;&amp;gt; DC_PORTQRY.TXT &lt;BR&gt;&amp;nbsp;PORTQRY -n %%i -e 445 -p TCP | findstr /i "445" &amp;gt;&amp;gt; DC_PORTQRY.TXT &lt;BR&gt;&amp;nbsp;PORTQRY -n %%i -e 389 -p TCP | findstr /i "389" &amp;gt;&amp;gt; DC_PORTQRY.TXT &lt;BR&gt;&amp;nbsp;PORTQRY -n %%i -e 3268 -p TCP | findstr /i "3268"&amp;nbsp; &amp;gt;&amp;gt; DC_PORTQRY.TXT &lt;BR&gt;&amp;nbsp;PORTQRY -n %%i -e 135 -p TCP | findstr /i "135" &amp;gt;&amp;gt; DC_PORTQRY.TXT&lt;BR&gt;&amp;nbsp;ECHO. &amp;gt;&amp;gt; DC_PORTQRY.TXT &amp;nbsp;&lt;BR&gt;&amp;nbsp;ECHO. &amp;gt;&amp;gt; DC_PORTQRY.TXT &amp;nbsp;&lt;BR&gt;)&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT size=1&gt;::::::::::::::::::::::::&amp;nbsp;END SCRIPT :::::::::::::::::::::::::&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;RESOURCES&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How Active Directory Replication Topology Works&lt;BR&gt;&lt;/STRONG&gt;&lt;A href="http://technet2.microsoft.com/WindowsServer/en/Library/c238f32b-4400-4a0c-b4fb-7b0febecfc731033.mspx" mce_href="http://technet2.microsoft.com/WindowsServer/en/Library/c238f32b-4400-4a0c-b4fb-7b0febecfc731033.mspx"&gt;http://technet2.microsoft.com/WindowsServer/en/Library/c238f32b-4400-4a0c-b4fb-7b0febecfc731033.mspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Service overview and network port requirements for the Windows Server system&lt;BR&gt;&lt;/STRONG&gt;&lt;A href="http://support.microsoft.com/kb/832017" mce_href="http://support.microsoft.com/kb/832017"&gt;http://support.microsoft.com/kb/832017&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;New features and functionality in PortQry version 2.0&lt;BR&gt;&lt;/STRONG&gt;&lt;A href="http://support.microsoft.com/kb/832919" mce_href="http://support.microsoft.com/kb/832919"&gt;http://support.microsoft.com/kb/832919&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Download PortQry Command Line Port Scanner Version 2.0&lt;/STRONG&gt;&lt;BR&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?FamilyID=89811747-C74B-4638-A2D5-AC828BDC6983&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?FamilyID=89811747-C74B-4638-A2D5-AC828BDC6983&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=89811747-C74B-4638-A2D5-AC828BDC6983&amp;amp;displaylang=en&lt;/A&gt;&lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=9517728" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/muaddib/archive/tags/Active+Directory/default.aspx">Active Directory</category><category domain="http://blogs.msdn.com/muaddib/archive/tags/Script/default.aspx">Script</category></item><item><title>Active Directory LDAP Searches</title><link>http://blogs.msdn.com/muaddib/archive/2006/10/24/active-directory-ldap-searches.aspx</link><pubDate>Wed, 25 Oct 2006 01:10:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:870849</guid><dc:creator>MuadDib</dc:creator><slash:comments>2</slash:comments><comments>http://blogs.msdn.com/muaddib/comments/870849.aspx</comments><wfw:commentRss>http://blogs.msdn.com/muaddib/commentrss.aspx?PostID=870849</wfw:commentRss><description>&lt;P&gt;A nice&amp;nbsp;feature in Windows Server 2003 Active Directory is the ability for an administrator to create saved queries in their admin console.&amp;nbsp; The queries you can create through the GUI are pretty basic so to get the real benefit you need to create a "Custom Search", click the Advanced tab and enter an LDAP query.&amp;nbsp; The only problem is... you have to enter an LDAP query.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;For a lot of&amp;nbsp;administrators,&amp;nbsp;you come up against the LDAP query box, start to research how to write an LDAP query, get interrupted and never finish learning how to create an LDAP query.&amp;nbsp; I know in my case I am not doing AD administration everyday so when the task of creating an LDAP query for a customer arises it has usually been so long since the last time I wrote one that I have forgotten how.&amp;nbsp; So I was creating some queries for a customer today and decided I would post them here for future use.&amp;nbsp; The LDAP code listed below can be cut and pasted into the the query editor in AD and saved.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;First LDAP reference material:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;LDAP Query Basics&lt;/STRONG&gt;&lt;BR&gt;&lt;A href="http://www.microsoft.com/technet/prodtechnol/exchange/2003/insider/ldapquery.mspx" mce_href="http://www.microsoft.com/technet/prodtechnol/exchange/2003/insider/ldapquery.mspx"&gt;http://www.microsoft.com/technet/prodtechnol/exchange/2003/insider/ldapquery.mspx&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;XADM: Browsing and Querying Using the LDP&lt;BR&gt;&lt;/STRONG&gt;&lt;A href="http://support.microsoft.com/?id=255602"&gt;http://support.microsoft.com/?id=255602&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Search Filter Syntax&lt;/STRONG&gt;&lt;BR&gt;&lt;A href="http://msdn2.microsoft.com/en-us/library/aa746475.aspx"&gt;http://msdn2.microsoft.com/en-us/library/aa746475.aspx&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Creating More Efficient Microsoft Active Directory-Enabled Applications&lt;/STRONG&gt; (create efficient LDAP queries)&lt;BR&gt;&lt;A href="http://msdn.microsoft.com/en-us/library/ms808539.aspx"&gt;http://msdn.microsoft.com/en-us/library/ms808539.aspx&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How to use the UserAccountControl flags to manipulate user account properties&lt;/STRONG&gt;&lt;BR&gt;&lt;A href="http://support.microsoft.com/kb/305144"&gt;http://support.microsoft.com/kb/305144&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;How to query Active Directory by using a bitwise filter&lt;/STRONG&gt;&lt;BR&gt;&lt;A href="http://support.microsoft.com/kb/269181"&gt;http://support.microsoft.com/kb/269181&lt;/A&gt;&amp;nbsp;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;Now on to the queries.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;All XP Computers&lt;BR&gt;&lt;/STRONG&gt;Although this can be done easy enough with the GUI, I wanted to show the syntax so it can be used as a building block for more complex theories.&amp;nbsp; One thing to notice is the query parameter "objectCategory=computer".&amp;nbsp; By including this as part of our query we reduce the number of objects that have to be searched making for a faster query and less performance impact on the&amp;nbsp;DC performing the query.&lt;BR&gt;(&amp;amp;(objectCategory=computer)(operatingSystem=Windows XP*))&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Windows XP Computers with Service Pack 2 Installed&lt;BR&gt;&lt;/STRONG&gt;(&amp;amp;(objectCategory=computer)(operatingSystem=Windows XP Professional)(operatingSystemServicePack=Service Pack 2))&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Windows XP Computers with Service Pack 1 Installed&lt;/STRONG&gt;&lt;BR&gt;(&amp;amp;(operatingSystem=Windows XP*l)(operatingSystemServicePack=Service Pack 1)))&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Windows XP Computers with No Service Pack Installed&lt;/STRONG&gt;&lt;BR&gt;This one is structured a Little different.&amp;nbsp; Notice the "!" before operating SystemServicePack and the "*".&amp;nbsp; The "!" means NOT so the statement reads "NOT equal to anything" instead of&amp;nbsp;NULL or&amp;nbsp;empty quotes ("") like some other languages.&lt;BR&gt;(&amp;amp;(operatingSystem=Windows XP Professional)(!operatingSystemServicePack=*)))&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Windows Server 2003 No Service Pack 1&lt;BR&gt;&lt;/STRONG&gt;(&amp;amp;((objectCategory=computer))(operatingSystem=Windows Server 2003)(!operatingSystemServicePack=*)))&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Windows Server 2003 Service Pack 1 Installed &lt;BR&gt;&lt;/STRONG&gt;(&amp;amp;(objectCategory=computer)(operatingSystem=Windows Server 2003)(operatingSystemServicePack=Service Pack 1))&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Windows 2000 Professional &lt;BR&gt;&lt;/STRONG&gt;(&amp;amp;(objectCategory=computer)(operatingSystem=Windows 2000 Professional))&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Windows 2000 Server &lt;BR&gt;&lt;/STRONG&gt;(&amp;amp;(objectCategory=computer)(operatingSystem=Windows 2000 Server))&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;All Windows Server 2003 Servers&lt;/STRONG&gt;&lt;BR&gt;(&amp;amp;((objectCategory=computer))(operatingSystem=Windows Server 2003))&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;SQL Servers (running on Windows 2003) &lt;/STRONG&gt;(please verify in your environment)&lt;BR&gt;(&amp;amp;(objectCategory=computer)(servicePrincipalName=MSSQLSvc*)(operatingSystem=Windows Server 2003))&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;SQL Servers any Windows Server OS&lt;BR&gt;&lt;/STRONG&gt;(&amp;amp;(objectCategory=computer)(servicePrincipalName=MSSQLSvc*)(operatingSystem=Windows Server*))&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Windows Vista SP1&lt;BR&gt;&lt;/STRONG&gt;(&amp;amp;(objectCategory=computer)(operatingSystem=Windows Vista*)(operatingSystemServicePack=Service Pack 1))&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Windows Server 2008 Enterprise&lt;BR&gt;&lt;/STRONG&gt;(&amp;amp;(objectCategory=computer)(operatingSystem=Windows Server® 2008 Enterprise)(operatingSystemServicePack=Service Pack 1))&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Windows Server 2008 (all versions)&lt;/STRONG&gt;&lt;BR&gt;(&amp;amp;(objectCategory=computer)(operatingSystem=Windows Server® 2008*))&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;STRONG&gt;Sample User&amp;nbsp;Attribute Query (ExtensionAtrribute5)&lt;/STRONG&gt;&lt;BR&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;FONT size=2&gt;(&amp;amp;(objectCategory=user)(&amp;amp;(extensionAttribute5&amp;gt;=20080101)(extensionAttribute5&amp;lt;=20080520)))&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;STRONG&gt;&lt;FONT size=2&gt;USER ACCOUNT CONTROL EXAMPLES&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;&lt;SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA"&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;UAC - Smart Card Login&amp;nbsp;Enforced on The User Object&lt;/STRONG&gt;&lt;BR&gt;(&amp;amp;(objectCategory=person)(userAccountControl:1.2.840.113556.1.4.803:=262144) )&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&lt;STRONG&gt;UAC - PWD Never Expires&lt;/STRONG&gt;&lt;BR&gt;(&amp;amp;(objectCategory=person)(userAccountControl:1.2.840.113556.1.4.803:=65536))&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;&lt;STRONG&gt;UAC - CAC Enabled Accounts &lt;/STRONG&gt;(no disabled accounts or password never expires)&lt;BR&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;(&amp;amp;(objectCategory=person)(objectClass=user)(!userAccountControl:1.2.840.113556.1.4.803:=2)(!userAccountControl:1.2.840.113556.1.4.803:=65536)(userAccountControl:1.2.840.113556.1.4.803:=262144)(userPrincipalName=1*@mil))&lt;BR&gt;&amp;nbsp;&lt;BR&gt;&lt;STRONG&gt;UAC - Not CAC Enabled &lt;/STRONG&gt;(no disabled accounts or password never expires)&lt;BR&gt;(&amp;amp;(objectCategory=person)(objectClass=user)(!userAccountControl:1.2.840.113556.1.4.803:=2)(!userAccountControl:1.2.840.113556.1.4.803:=65536)(!userPrincipalName=1*@mil))&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P mce_keep="true"&gt;So you get the idea of the basic syntax&amp;nbsp; When you create your own queries make sure you use the the actual attribute name and not the label visible in the Active Directory Users and Computers interface.&amp;nbsp; You can find the attribute names by using ADSIEDIT.MSC.&amp;nbsp; Right click an object and select properties from the context menu.&amp;nbsp; Scroll through the list of attributes till you find the one you are looking for.&amp;nbsp; You should also&amp;nbsp;copy the&amp;nbsp;actual value from within ADSIEDIT.MSC and paste it into you query string to prevent typing errors (in case you type as bad as I do).&amp;nbsp; Make sure when you enter the search string into the query editor there are no carriage returns or extra characters after the last parenthesis.&lt;/P&gt;
&lt;P mce_keep="true"&gt;Read the article "Creating More Efficient Microsoft Active Directory-Enabled Applications" referenced above to make sure you are writing efficient queries that won't bring your LDAP server to its knees.&amp;nbsp;&lt;/P&gt;
&lt;P mce_keep="true"&gt;One other useful tip.&amp;nbsp; Once you have created some saved queries, you can export them as XML files and share them with others.&amp;nbsp; They can be imported into another management console in the same domain or a different domain.&lt;/P&gt;
&lt;P mce_keep="true"&gt;One final tip.&amp;nbsp; You can copy and paste the code from the samples above.&amp;nbsp; Paste it into a text editor like Notepad first to remove all the formatting imposed by the HTML page.&lt;/P&gt;
&lt;P mce_keep="true"&gt;&amp;nbsp;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=870849" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/muaddib/archive/tags/Time+Savers/default.aspx">Time Savers</category><category domain="http://blogs.msdn.com/muaddib/archive/tags/Active+Directory/default.aspx">Active Directory</category><category domain="http://blogs.msdn.com/muaddib/archive/tags/Queries/default.aspx">Queries</category><category domain="http://blogs.msdn.com/muaddib/archive/tags/LDAP+QUERY/default.aspx">LDAP QUERY</category></item><item><title>Active Directory Troubleshooting Resources</title><link>http://blogs.msdn.com/muaddib/archive/2006/10/01/Active-Directory-Troubleshooting-Resources.aspx</link><pubDate>Sun, 01 Oct 2006 19:50:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:779687</guid><dc:creator>MuadDib</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.msdn.com/muaddib/comments/779687.aspx</comments><wfw:commentRss>http://blogs.msdn.com/muaddib/commentrss.aspx?PostID=779687</wfw:commentRss><description>&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT size=4&gt;Articles&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Troubleshooting Active Directory—Related DNS Problems&lt;BR&gt;&lt;A href="" mce_href=""&gt;http://blogs.msdn.com/controlpanel/blogs/posteditor.aspx?SelectedNavItem=NewPost&amp;amp;sectionid=7213&amp;amp;bpt=1&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Troubleshooting Active Directory Replication Problems&lt;BR&gt;&lt;A href="http://technet2.microsoft.com/WindowsServer/en/library/4f504103-1a16-41e1-853a-c68b77bf3f7e1033.mspx" mce_href="http://technet2.microsoft.com/WindowsServer/en/library/4f504103-1a16-41e1-853a-c68b77bf3f7e1033.mspx"&gt;http://technet2.microsoft.com/WindowsServer/en/library/4f504103-1a16-41e1-853a-c68b77bf3f7e1033.mspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Additional Resources for Troubleshooting Active Directory&lt;BR&gt;&lt;A href="http://technet2.microsoft.com/WindowsServer/en/library/019a8a46-05eb-4969-b0e7-df48355184c11033.mspx" mce_href="http://technet2.microsoft.com/WindowsServer/en/library/019a8a46-05eb-4969-b0e7-df48355184c11033.mspx"&gt;http://technet2.microsoft.com/WindowsServer/en/library/019a8a46-05eb-4969-b0e7-df48355184c11033.mspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Repadmin Examples&lt;BR&gt;&lt;A href="http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/TechRef/a103036b-5d82-4d99-8e61-23d434a8e6eb.mspx" mce_href="http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/TechRef/a103036b-5d82-4d99-8e61-23d434a8e6eb.mspx"&gt;http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/TechRef/a103036b-5d82-4d99-8e61-23d434a8e6eb.mspx&lt;/A&gt; &lt;BR&gt;&lt;/P&gt;
&lt;P&gt;How to configure Active Directory diagnostic event logging in Windows Server&lt;BR&gt;&lt;A href="http://support.microsoft.com/kb/314980/en-us"&gt;http://support.microsoft.com/kb/314980/en-us&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;332199 - Domain controllers do not demote gracefully when you use the Active Directory Installation Wizard to force demotion in Windows Server 2003 and in Windows 2000 Server&lt;BR&gt;&lt;A href="http://support.microsoft.com/default.aspx?scid=kb;en-us;332199" mce_href="http://support.microsoft.com/default.aspx?scid=kb;en-us;332199"&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;332199&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;216498 - How to remove data in Active Directory after an unsuccessful domain controller demotion&lt;BR&gt;&lt;A href="http://support.microsoft.com/default.aspx?scid=kb;en-us;216498" mce_href="http://support.microsoft.com/default.aspx?scid=kb;en-us;216498"&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;216498&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Troubleshooting "RPC Server is Unavailable" in Windows &lt;BR&gt;&lt;A href="http://support.microsoft.com/kb/224370/EN-US/" mce_href="http://support.microsoft.com/kb/224370/EN-US/"&gt;http://support.microsoft.com/kb/224370/EN-US/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;839880 How to troubleshoot RPC Endpoint Mapper errors in Windows Server 2003&lt;BR&gt;&lt;A href="http://support.microsoft.com/?id=839880" mce_href="http://support.microsoft.com/?id=839880"&gt;http://support.microsoft.com/?id=839880&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Improvements to Domain Controller Name Resolution in SP1&lt;BR&gt;&lt;A href="http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/Operations/43e6f617-fb49-4bb4-8561-53310219f997.mspx" mce_href="http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/Operations/43e6f617-fb49-4bb4-8561-53310219f997.mspx"&gt;http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/Operations/43e6f617-fb49-4bb4-8561-53310219f997.mspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Useful shelf life of a system-state backup of Active Directory&lt;BR&gt;&lt;A href="http://support.microsoft.com/?id=216993" mce_href="http://support.microsoft.com/?id=216993"&gt;http://support.microsoft.com/?id=216993&lt;/A&gt; &lt;BR&gt;&amp;nbsp;&lt;BR&gt;Fixing Replication Lingering Object Problems (Event IDs 1388, 1988, 2042)&lt;BR&gt;&lt;A href="http://technet2.microsoft.com/WindowsServer/en/Library/4a1f420d-25d6-417c-9d8b-6e22f472ef3c1033.mspx" mce_href="http://technet2.microsoft.com/WindowsServer/en/Library/4a1f420d-25d6-417c-9d8b-6e22f472ef3c1033.mspx"&gt;http://technet2.microsoft.com/WindowsServer/en/Library/4a1f420d-25d6-417c-9d8b-6e22f472ef3c1033.mspx&lt;/A&gt;&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Event ID 2042: It has been too long since this machine replicated&lt;BR&gt;&lt;A href="http://technet2.microsoft.com/WindowsServer/en/Library/34c15446-b47f-4d51-8e4a-c14527060f901033.mspx" mce_href="http://technet2.microsoft.com/WindowsServer/en/Library/34c15446-b47f-4d51-8e4a-c14527060f901033.mspx"&gt;http://technet2.microsoft.com/WindowsServer/en/Library/34c15446-b47f-4d51-8e4a-c14527060f901033.mspx&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;Best Practices for Adding Domain Controllers in Remote Sites&lt;BR&gt;&lt;A href="http://technet2.microsoft.com/WindowsServer/en/Library/6405bc5f-b8bf-449e-b11a-f116d22f858a1033.mspx" mce_href="http://technet2.microsoft.com/WindowsServer/en/Library/6405bc5f-b8bf-449e-b11a-f116d22f858a1033.mspx"&gt;http://technet2.microsoft.com/WindowsServer/en/Library/6405bc5f-b8bf-449e-b11a-f116d22f858a1033.mspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;279156 - The Effects of Setting the File System Policy on a Disk Drive or Folder Replicated by the File Replication Service&lt;BR&gt;&lt;A href="http://support.microsoft.com/default.aspx?scid=kb;en-us;279156" mce_href="http://support.microsoft.com/default.aspx?scid=kb;en-us;279156"&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;279156&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Recommendations for managing Group Policy administrative template (.adm) files&lt;BR&gt;&lt;A href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;816662" mce_href="http://support.microsoft.com/default.aspx?scid=kb;EN-US;816662"&gt;http://support.microsoft.com/default.aspx?scid=kb;EN-US;816662&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Configuration and operational recommendations for the File Replication service in Windows Server 2003 and Windows 2000 Server&amp;nbsp; -&amp;nbsp; &lt;A href="http://support.microsoft.com/Default.aspx?kbid=840675" mce_href="http://support.microsoft.com/Default.aspx?kbid=840675"&gt;http://support.microsoft.com/Default.aspx?kbid=840675&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;185786 - Recommended Practices for WINS&lt;BR&gt;&lt;A href="http://support.microsoft.com/default.aspx?scid=kb;en-us;185786" mce_href="http://support.microsoft.com/default.aspx?scid=kb;en-us;185786"&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;185786&lt;/A&gt; &lt;/P&gt;
&lt;P&gt;How to configure an authoritative time server in Windows Server 2003&lt;BR&gt;&lt;A href="http://support.microsoft.com/kb/816042" mce_href="http://support.microsoft.com/kb/816042"&gt;http://support.microsoft.com/kb/816042&lt;/A&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT size=4&gt;Tools&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Repadmin Examples&lt;BR&gt;&lt;A href="http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/TechRef/a103036b-5d82-4d99-8e61-23d434a8e6eb.mspx" mce_href="http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/TechRef/a103036b-5d82-4d99-8e61-23d434a8e6eb.mspx"&gt;http://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/TechRef/a103036b-5d82-4d99-8e61-23d434a8e6eb.mspx&lt;/A&gt; &lt;BR&gt;&lt;/P&gt;
&lt;P&gt;Active Directory Management Tools&lt;BR&gt;&lt;A href="http://technet2.microsoft.com/WindowsServer/en/library/4b9fbbc8-2b3d-4758-85c7-b08caf6583eb1033.mspx" mce_href="http://technet2.microsoft.com/WindowsServer/en/library/4b9fbbc8-2b3d-4758-85c7-b08caf6583eb1033.mspx"&gt;http://technet2.microsoft.com/WindowsServer/en/library/4b9fbbc8-2b3d-4758-85c7-b08caf6583eb1033.mspx&lt;/A&gt; &lt;BR&gt;&lt;/P&gt;
&lt;P&gt;Description of the DNSLint utility&lt;BR&gt;&lt;A href="http://support.microsoft.com/?kbid=321045" mce_href="http://support.microsoft.com/?kbid=321045"&gt;http://support.microsoft.com/?kbid=321045&lt;/A&gt;&lt;BR&gt;&lt;/P&gt;
&lt;P&gt;USing NSlookup.exe&lt;BR&gt;&lt;A href="http://support.microsoft.com/?kbid=200525" mce_href="http://support.microsoft.com/?kbid=200525"&gt;http://support.microsoft.com/?kbid=200525&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;NBLookup.exe command-line tool&lt;BR&gt;&lt;A href="http://support.microsoft.com/default.aspx?scid=kb;en-us;830578" mce_href="http://support.microsoft.com/default.aspx?scid=kb;en-us;830578"&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;830578&lt;/A&gt; &lt;BR&gt;&lt;/P&gt;
&lt;P&gt;Windows Server 2003 Resource Kit Tools&lt;BR&gt;&lt;A href="http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;amp;displaylang=en" mce_href="http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;amp;displaylang=en"&gt;http://www.microsoft.com/downloads/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd&amp;amp;displaylang=en&lt;/A&gt; &lt;BR&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;U&gt;&lt;FONT size=4&gt;Documentation&lt;/FONT&gt;&lt;/U&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Active Directory Daily Operations Guide&lt;BR&gt;&lt;A href="http://www.microsoft.com/resources/documentation/msa/edc/all/solution/en-us/pak/sog/edcops08.mspx" mce_href="http://www.microsoft.com/resources/documentation/msa/edc/all/solution/en-us/pak/sog/edcops08.mspx"&gt;http://www.microsoft.com/resources/documentation/msa/edc/all/solution/en-us/pak/sog/edcops08.mspx&lt;/A&gt;&lt;BR&gt;&lt;/P&gt;&lt;img src="http://blogs.msdn.com/aggbug.aspx?PostID=779687" width="1" height="1"&gt;</description><category domain="http://blogs.msdn.com/muaddib/archive/tags/Reference/default.aspx">Reference</category><category domain="http://blogs.msdn.com/muaddib/archive/tags/Active+Directory/default.aspx">Active Directory</category></item></channel></rss>