<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.dirteam.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>tonymurray</title><link>http://blogs.dirteam.com/blogs/tonymurray/default.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2.1 SP3 (Build: 20423.1)</generator><item><title>Event logs and the "Maximum security log size" Group Policy setting</title><link>http://blogs.dirteam.com/blogs/tonymurray/archive/2006/09/01/Security-logs-and-the-_2200_Maximum-event-log-size_2200_-Group-Policy-setting.aspx</link><pubDate>Fri, 01 Sep 2006 19:22:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:1485</guid><dc:creator>tonymurray</dc:creator><slash:comments>1</slash:comments><comments>http://blogs.dirteam.com/blogs/tonymurray/comments/1485.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tonymurray/commentrss.aspx?PostID=1485</wfw:commentRss><description>&lt;p&gt;A post yesterday on ActiveDir.org reminded me of something I learnt recently about event logging and, in particular, how certain Group Policy settings can cause problems and inconsistencies.&amp;nbsp; The customer I was working with had implemented an entry in the Default Domain Controllers Policy to set the value for the &lt;strong&gt;Maximum security log size&lt;/strong&gt; to 4194240 KB (4GB).&amp;nbsp; This is the largest value that can be set.&amp;nbsp; I was assisting with investigating a security incident and we were surprised to find that the security event logs on the DCs did not contain the audit entry we were looking for.&amp;nbsp; Events were being overwritten after approximately&amp;nbsp;3 days.&amp;nbsp; I figured this was unusual given that the security event log size had been configured to 4GB.&amp;nbsp; That&amp;#39;s when I got a surprise - the size of the security event logs on the DCs was on average about 380MB.&amp;nbsp; In other words, considerably smaller than the&amp;nbsp; 4B configured by Group Policy.&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.dirteam.com/photos/tonymurray/picture1486.aspx" target="_blank"&gt;&lt;img border="0" height="313" src="http://blogs.dirteam.com/photos/tonymurray/images/1486/original.aspx" width="402" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;At first I thought the issue must be with Group Policy not applying, so I did some troubleshooting around that.&amp;nbsp; That turned out to be a blind alley as everything seemed to be applying successfully.&amp;nbsp; I then spent some time with my good friend Mr. Google and eventually we found the answer.&amp;nbsp; The issue has to do with the event log service using memory mapped files.&amp;nbsp; There is apparently an architectural limitation common to all current versions of Windows with regard to memory-mapped files.&amp;nbsp; No process can have more than 1GB of memory-mapped files in total, which means that all of the services that run under the services.exe process must share the 1GB pool.&amp;nbsp; This implies that not only can the Maximum security log size not get anywhere near the 4GB mark, but that all event logs need to come in well under the 1GB limit to allow room for the other memory mapped services.&lt;/p&gt;&lt;p&gt;&amp;nbsp;The recommendations for setting the event log sizes are made in the following two Microsoft web pages:&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;a href="http://www.microsoft.com/technet/security/topics/serversecurity/tcg/tcgch06n.mspx"&gt;http://www.microsoft.com/technet/security/topics/serversecurity/tcg/tcgch06n.mspx&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;a href="http://technet2.microsoft.com/WindowsServer/en/library/5a86ab0f-c7eb-45ed-9e5e-514173bf15e31033.mspx?mfr=true"&gt;http://technet2.microsoft.com/WindowsServer/en/library/5a86ab0f-c7eb-45ed-9e5e-514173bf15e31033.mspx?mfr=true&lt;/a&gt;&lt;/p&gt;&lt;p&gt;The most relevant quote for me from these articles was this:&lt;/p&gt;&lt;p&gt;&lt;em&gt;&lt;strong&gt;&amp;quot;On domain controllers, the combined size of these three logs &amp;mdash; plus the Directory Service, File Replication Service, and DNS Server logs &amp;mdash; should not exceed 300 MB.&amp;quot;&lt;/strong&gt;&lt;/em&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Note that on my customer&amp;#39;s DCs the security event log by itself was on average about 380MB, which was clearly in the red zone and didn&amp;#39;t leave much left for the other memory mapped services.&lt;/p&gt;&lt;p&gt;Well, the bottom line is that I re-configred the Group Policy for my customer to a much more sensible maximum, so the end result was positive.&amp;nbsp; On the downside, I still feel bemused that Group Policy actually allows the limit to be set to 4GB for an individual log.&amp;nbsp; Surely, this makes no sense given the recommendation around 300MB, especially as&amp;nbsp;this information is not easy to find.&amp;nbsp; As an example, Windows Server 2003 SP1 includes a modification in gpedit.msc (the Group Policy editor) that, when configuring the &lt;strong&gt;Maximum security&amp;nbsp;log size&lt;/strong&gt;, shows a warning&amp;nbsp;and a pointer (see&amp;nbsp;screenshot above) to a KB article (&lt;a href="http://support.microsoft.com/kb/823659/"&gt;823659&lt;/a&gt;).&amp;nbsp; Sounds good doesn&amp;#39;t it - this article will give us the information about how to conigure the appropriate maximum sizes, right?&amp;nbsp; Well, no - actually the article is generally unnecessarily wordy and, in relation to the security event log settings, only mentions the 4GB maximum and a health warning about using the &lt;strong&gt;Shut down system immediately if unable to log security audits&lt;/strong&gt; setting.&amp;nbsp; Mmm.&lt;/p&gt;&lt;p&gt;Tony&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.activedir.org/"&gt;www.activedir.org&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Join the Active Direcotry Discussions mailing list: &lt;a href="http://www.activedir.org/List.aspx"&gt;http://www.activedir.org/List.aspx&lt;/a&gt;&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=1485" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tonymurray/archive/tags/Group+Policy/default.aspx">Group Policy</category><category domain="http://blogs.dirteam.com/blogs/tonymurray/archive/tags/Active+Directory/default.aspx">Active Directory</category></item><item><title>Troubleshooting LDAP issues with Server Performance Advisor (SPA)</title><link>http://blogs.dirteam.com/blogs/tonymurray/archive/2006/08/25/Troubleshooting-LDAP-issues-with-Server-Performance-Advisor-_2800_SPA_2900_.aspx</link><pubDate>Fri, 25 Aug 2006 22:15:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:1428</guid><dc:creator>tonymurray</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.dirteam.com/blogs/tonymurray/comments/1428.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tonymurray/commentrss.aspx?PostID=1428</wfw:commentRss><description>&lt;p&gt;Tracking all LDAP activity on a specific DC is not trivial to achieve with the native toolset.&amp;nbsp; I recently posted an article over at ActiveDir.org that showed how to log all&amp;nbsp;LDAP activity by enabling diagnostic logging and tweaking the inefficient and expensive LDAP search thresholds.&amp;nbsp; The article is available here:&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.activedir.org/article.aspx?aid=97"&gt;http://www.activedir.org/article.aspx?aid=97&lt;/a&gt;&lt;/p&gt;&lt;p&gt;The problem with the approach shown in that article is its inability to help with LDAP failures.&amp;nbsp; For example, the information logged will not show LDAP failures due to protocol errors.&lt;/p&gt;&lt;p&gt;When troubleshooting an application that is exhibiting LDAP problems another alternative is to trace the activity at the network level using tools such as Ethereal or Microsoft&amp;#39;s NetMon.&amp;nbsp; The information available with tracing is certainly detailed, but troubleshooting problems can be a little like finding a needle in a haystack, especially if the data is encrypted over an SSL connection.&amp;nbsp; You&amp;nbsp;could also look at command line tools such as LogMan and TraceRpt.&lt;/p&gt;&lt;p&gt;Last year Microsoft published version 2.0 of the Server Performance Advisor (&lt;a href="http://www.microsoft.com/downloads/details.aspx?FamilyID=09115420-8c9d-46b9-a9a5-9bffcd237da2&amp;amp;DisplayLang=en"&gt;http://www.microsoft.com/downloads/details.aspx?FamilyID=09115420-8c9d-46b9-a9a5-9bffcd237da2&amp;amp;DisplayLang=en&lt;/a&gt;).&amp;nbsp; The main function of the tool is performance diagnostics and it has the ability to provide specialised reports, including a System Overview and reports for server roles such as Active Directory, Internet Information System (IIS), DNS, Terminal Services, SQL, print spooler, and others.&amp;nbsp; I recently started looking at the tool to see what its capabilities were in regard to Active Directory.&amp;nbsp; What I&amp;#39;ve seen so far has been very impressive.&amp;nbsp; I&amp;#39;ve only scratched the surface of the capabilities of the tool and already it&amp;#39;s paying dividends.&amp;nbsp; Perhaps the most useful feature I&amp;#39;ve found so far is the ability to trace LDAP activity, as described in the remainder of this article.&amp;nbsp; &lt;/p&gt;&lt;p&gt;Once you have downloaded and installed the tool on the target Domain Controller, start it up and enable the Scope Tree view as shown below.&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.dirteam.com/photos/tonymurray/picture1419.aspx" target="_blank"&gt;&lt;img border="0" height="532" src="http://blogs.dirteam.com/photos/tonymurray/images/1419/original.aspx" width="766" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Expand the Tree to show the Data Collectors and Reports item.&amp;nbsp; Right-click Active Directory and select Properties, as shown below.&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.dirteam.com/photos/tonymurray/picture1420.aspx" target="_blank"&gt;&lt;img border="0" height="536" src="http://blogs.dirteam.com/photos/tonymurray/images/1420/original.aspx" width="768" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;In the Properties window change the Expert Level in the Reports section to 10.&amp;nbsp; This is the maximum value and ensures that the diagnostic reports show the maximum amount of detail.&amp;nbsp; This is an important step - without it you will not be able to see the required level of LDAP activity in the report.&amp;nbsp; [Thanks are due here to Steve Linehan at Microsoft for giving me this tip - thanks Steve &lt;img src="http://blogs.dirteam.com/emoticons/emotion-2.gif" alt="Big Smile" /&gt;]&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.dirteam.com/photos/tonymurray/picture1421.aspx" target="_blank"&gt;&lt;img border="0" height="480" src="http://blogs.dirteam.com/photos/tonymurray/images/1421/original.aspx" width="456" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;At this point you are ready to start recording activity on the local DC.&amp;nbsp; To do this highlight Active Directory in the Tree view and click the green arrow in the top left hand corner (F9 will also work).&amp;nbsp; You will see a progress bar appear at the bottom of the SPA window.&amp;nbsp; The default recording time is 500 seconds, but you can change this on the Schedule tab of the Active Directory properties (in Tree view).&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.dirteam.com/photos/tonymurray/picture1429.aspx" target="_blank"&gt;&lt;img border="0" height="25" src="http://blogs.dirteam.com/photos/tonymurray/images/1429/original.aspx" width="565" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;At this point you should run your LDAP searches against the DC.&amp;nbsp; Note that the amount of information being gathered is large and will itself generate a performance impact on the system.&amp;nbsp; &lt;/p&gt;&lt;p&gt;When the recording has completed SPA will automatically generate a report.&amp;nbsp; This can take some time, during which you will see the following text in the notification area. Again, the CPU overhead for the data analysis is high, so you might consider running the reports on another machine (SPA supports running the data analyser on a separate machine, but the data collection must be done locally).&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.dirteam.com/photos/tonymurray/picture1424.aspx" target="_blank"&gt;&lt;img border="0" height="28" src="http://blogs.dirteam.com/photos/tonymurray/images/1424/original.aspx" width="239" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;When the reprot has been generated, navigate to the Current report in the Tree view.&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.dirteam.com/photos/tonymurray/picture1423.aspx" target="_blank"&gt;&lt;img border="0" height="536" src="http://blogs.dirteam.com/photos/tonymurray/images/1423/original.aspx" width="768" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;As you can see there is a significant amount of information to browse through, as can be seen in the list of Active Directory report options below.&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.dirteam.com/photos/tonymurray/picture1427.aspx" target="_blank"&gt;&lt;img border="0" height="320" src="http://blogs.dirteam.com/photos/tonymurray/images/1427/original.aspx" width="328" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Click on Unique Searches to go to the section of the report showing all LDAP searches.&amp;nbsp; You should be able to see the search you issued during the recording by browsing through the full list of searches.&amp;nbsp; Be aware that there&amp;nbsp;might be a very large number of searches, especially on a production DC.&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.dirteam.com/photos/tonymurray/picture1430.aspx" target="_blank"&gt;&lt;img border="0" height="192" src="http://blogs.dirteam.com/photos/tonymurray/images/1430/original.aspx" width="1076" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;The level of detail for each search is impressive.&amp;nbsp; You will see the requesting client (resolved name or IP address), the base DN, the search scope (deep = subtree), the search filter, the number of objects visited and returned...and a fair bit more.&lt;/p&gt;&lt;p&gt;I find the report format quite hard to navigate because of the amount of information generated.&amp;nbsp; As an alternative you have the option to open the raw XML file (AD.XML) by opening the folder that contains the traces and reports.&lt;/p&gt;&lt;p&gt;&lt;a href="http://blogs.dirteam.com/photos/tonymurray/picture1425.aspx" target="_blank"&gt;&lt;img border="0" height="93" src="http://blogs.dirteam.com/photos/tonymurray/images/1425/original.aspx" width="317" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;p&gt;If you open the XML file in Notepad (or editor of choice) you can&amp;nbsp;easily find your LDAP search of interest.&amp;nbsp; A sample extract from the AD.XML file is shown below. &lt;/p&gt;&lt;p&gt;&amp;lt;item level=&amp;quot;1&amp;quot;&amp;gt;&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;data name=&amp;quot;Client&amp;quot; note=&amp;quot;Address 192.168.5.67&amp;quot;&amp;gt;W2K3R2TPL&amp;lt;/data&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;data name=&amp;quot;Choice&amp;quot;&amp;gt;deep&amp;lt;/data&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;data name=&amp;quot;ObjDn&amp;quot;&amp;gt;DC=north,DC=com&amp;lt;/data&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;data name=&amp;quot;Filter&amp;quot;&amp;gt;( A (objectClass=user) (objectCategory=CN=Person,CN=Schema,CN=Configuration,DC=north,DC=com) (sAMAccountName=a*) )&amp;lt;/data&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;data name=&amp;quot;Index&amp;quot;&amp;gt;idx_objectCategory:7:N;&amp;lt;/data&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;data name=&amp;quot;DsSimpleStatus&amp;quot;&amp;gt;Success&amp;lt;/data&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;data name=&amp;quot;ObjVisited&amp;quot;&amp;gt;7&amp;lt;/data&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;data name=&amp;quot;ObjReturned&amp;quot;&amp;gt;2&amp;lt;/data&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;data name=&amp;quot;requestRate&amp;quot;&amp;gt;0.01&amp;lt;/data&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;data name=&amp;quot;responseTime&amp;quot;&amp;gt;75&amp;lt;/data&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;data name=&amp;quot;cpu&amp;quot;&amp;gt;0.00&amp;lt;/data&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/item&amp;gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;In this extract the information shows that the LDAP search was issued by a computer named W2K3R2TPL with an IP address of 192.168.5.67.&amp;nbsp; The search base was DC=north,DC=com and it was a subtree search.&amp;nbsp; The filter was (&amp;amp;(objectClass=user)(objectCategory=Person)(sAMAccountName=a*)).&amp;nbsp; The search was successful, visiting 7 objects and returning 2 results.&amp;nbsp;&amp;nbsp; Also, it is clear that the DC was not overly taxed making the search as the cpu time didn&amp;#39;t register above 0.00.&lt;/p&gt;&lt;p&gt;This example shows a normal, successful search, but the information captured could just as easily have flagged a problem, either with the success of the search, unusually high CPU time, high number of objects visited, etc.&lt;/p&gt;&lt;p&gt;The Server Performance Advisor (SPA) is capable of&amp;nbsp;much more than&amp;nbsp;tracking LDAP activity and it is&amp;nbsp;certainly worth spending more time exploring the feature set.&amp;nbsp; As a starting point I would recommend looking at MVP Gil Kirkpatrick&amp;#39;s session on AD performance here:&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.netpro.com/community/medialibrary.cfm" title="http://www.netpro.com/community/medialibrary.cfm"&gt;http://www.netpro.com/community/medialibrary.cfm&lt;/a&gt;&lt;font color="#0000ff"&gt;.&lt;/font&gt;&lt;/p&gt;&lt;div class="MsoNormal"&gt;&lt;font face="Times New Roman" size="3"&gt;&lt;span style="font-size: 12pt"&gt;&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;&lt;p&gt;Tony&lt;/p&gt;&lt;p&gt;www.activedir.org&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=1428" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tonymurray/archive/tags/Active+Directory/default.aspx">Active Directory</category></item><item><title>New ActiveDir.org RSS Feed</title><link>http://blogs.dirteam.com/blogs/tonymurray/archive/2006/08/23/New-ActiveDir.org-RSS-Feed.aspx</link><pubDate>Wed, 23 Aug 2006 20:51:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:1415</guid><dc:creator>tonymurray</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.dirteam.com/blogs/tonymurray/comments/1415.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tonymurray/commentrss.aspx?PostID=1415</wfw:commentRss><description>&lt;p&gt;We recently added a new RSS feed on ActiveDir.org for the mailing list.&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;a href="http://www.activedir.org/Rss/Rss.aspx?opt=ml"&gt;http://www.activedir.org/Rss/Rss.aspx?opt=ml&lt;/a&gt;&lt;/p&gt;&lt;p&gt;It&amp;#39;s updated hourly with newly archived mailing list posts.&lt;/p&gt;&lt;p&gt;I realise that this is not going to be very everyone, especially those that are already subscribed to the mailing list, but it could be useful for people who have problems with the volume of traffic on the list, as well as those with a general interest.&lt;/p&gt;&lt;p&gt;I&amp;#39;ve noticed that the performance isn&amp;#39;t optimal at the moment - I&amp;#39;ve seen a few time-outs when opening the archived mail items, so will be looking into that.&lt;/p&gt;&lt;p&gt;It would be good to know your thoughts.on the RSS feed.&amp;nbsp; Is it working for you?&amp;nbsp; Is it useful?&amp;nbsp; What else would you like to see?&amp;nbsp; Post your comment here or email me (&lt;a href="mailto:tony@activedir.org"&gt;tony [at] activedir.org&lt;/a&gt;)&lt;/p&gt;&lt;p&gt;&amp;nbsp;Oh, and, yes, we know the search feature on the mail archive page sucks.&amp;nbsp; We&amp;#39;re working on that too &lt;img src="http://blogs.dirteam.com/emoticons/emotion-10.gif" alt="Embarrassed" /&gt;.&lt;/p&gt;&lt;p&gt;&amp;nbsp;Tony&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=1415" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tonymurray/archive/tags/Active+Directory/default.aspx">Active Directory</category></item><item><title>Restricted Groups Quirkiness</title><link>http://blogs.dirteam.com/blogs/tonymurray/archive/2006/08/17/Restricted-Groups-Quirkiness.aspx</link><pubDate>Fri, 18 Aug 2006 03:36:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:1353</guid><dc:creator>tonymurray</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.dirteam.com/blogs/tonymurray/comments/1353.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tonymurray/commentrss.aspx?PostID=1353</wfw:commentRss><description>&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;I was recently asked whether it is possible to add users to groups using the Restricted Groups feature of Group Policy using the &lt;strong&gt;&lt;em&gt;Member Of&lt;/em&gt;&lt;/strong&gt; feature.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Now, unlike Darren Mar-Elia (&lt;a href="http://www.gpoguy.com/"&gt;http://www.gpoguy.com/&lt;/a&gt;&lt;/span&gt;&lt;span style="font-size:10pt;"&gt;), I am no Group Policy guru, so I was forced to visit my test lab to obtain the answer.&lt;span&gt;&amp;nbsp; &lt;/span&gt;What I found surprised me.&lt;span&gt;&amp;nbsp; &lt;/span&gt;It is in fact possible to do this &amp;ndash; and not in the way you might expect.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;color:navy;"&gt;What nearly everyone knows about Restricted Groups.&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;color:navy;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;color:navy;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;color:navy;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;color:navy;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-size:10pt;"&gt;The main way in which people use Restricted Groups is to enforce membership of a given group.&lt;span&gt;&amp;nbsp; &lt;/span&gt;It&amp;rsquo;s an all or nothing setting that will throw out existing members of the group and replace them with whatever you have in the restricted group (with the exception of built-in accounts).&lt;span&gt;&amp;nbsp; &lt;/span&gt;Here&amp;rsquo;s an example.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;a href="http://blogs.dirteam.com/photos/tonymurray/picture1348.aspx" target="_blank"&gt;&lt;img border="0" height="448" src="http://blogs.dirteam.com/photos/tonymurray/images/1348/original.aspx" width="512" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;The&amp;nbsp;main limitation with this method is that, when used for setting membership of local groups on member servers and workstations, it does not allow you to easily make exceptions.&lt;span&gt;&amp;nbsp; &lt;/span&gt;For example, you might want to set the membership of the Administrators local group on all member servers, but for only the Exchange servers you need to also need to include the &lt;strong&gt;Nasty3rdPartyApp&lt;/strong&gt; group.&lt;span&gt;&amp;nbsp; &lt;/span&gt;To do this you would either have to:&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;ol style="margin-top:0cm;"&gt;&lt;li class="MsoNormal" style="margin:0cm 0cm 0pt;tab-stops:list 36.0pt;"&gt;&lt;span style="font-size:10pt;"&gt;Put the Exchange servers in a new OU and link a GPO with a Restricted Group setting that includes the &lt;strong&gt;Nasty3rdPartyApp&lt;/strong&gt; group.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin:0cm 0cm 0pt;tab-stops:list 36.0pt;"&gt;&lt;span style="font-size:10pt;"&gt;Keep the Exchange servers in the same OU and use security filtering to force the Exchange servers to receive a different Restricted Group setting from a new GPO.&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="margin:0cm 0cm 0pt;tab-stops:list 36.0pt;"&gt;&lt;span style="font-size:10pt;"&gt;Stop using Restricted Groups and set the group membership for different server types using a startup script.&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;tab-stops:list 36.0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;color:navy;"&gt;What not so many people know about Restricted Groups&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;color:navy;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;color:navy;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;color:navy;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;If you want a group to contain a specific group as a member, but are not concerned about controlling the overall membership of the group then you can use the &lt;strong&gt;&lt;em&gt;Member Of&lt;/em&gt;&lt;/strong&gt; feature of Restricted Groups.&lt;span&gt;&amp;nbsp; &lt;/span&gt;This is useful, for example, if you have a Global security group called &lt;strong&gt;ServerAdmins&lt;/strong&gt; and you want it to be a member of the local Administrators group on all member servers.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;a href="http://blogs.dirteam.com/photos/tonymurray/picture1349.aspx" target="_blank"&gt;&lt;img border="0" height="448" src="http://blogs.dirteam.com/photos/tonymurray/images/1349/original.aspx" width="512" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;background:yellow;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;background:yellow;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;background:yellow;"&gt;&lt;/span&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;color:navy;"&gt;What very few people know about Restricted Groups&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;color:navy;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;color:navy;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;color:navy;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;When using the &lt;strong&gt;&lt;em&gt;Member Of&lt;/em&gt;&lt;/strong&gt; feature, everything about it suggests that you can only use it to add groups as members of other groups (the giveaway here is the &lt;strong&gt;&lt;em&gt;Add Group&lt;/em&gt;&lt;/strong&gt; dialog!).&amp;nbsp; &lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;a href="http://blogs.dirteam.com/photos/tonymurray/picture1360.aspx" target="_blank"&gt;&lt;img border="0" height="152" src="http://blogs.dirteam.com/photos/tonymurray/images/1360/original.aspx" width="373" /&gt;&lt;/a&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;span style="font-size:10pt;"&gt;But what if you want to&amp;nbsp;force the inclusion of a user account as a member of a group using Restricted Groups?&lt;span&gt;&amp;nbsp; &lt;/span&gt;No possible?&lt;span&gt;&amp;nbsp; &lt;/span&gt;Well, actually it is.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Here&amp;#39;s how to do it.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;In the &lt;strong&gt;Add Group&lt;/strong&gt; dialog, type the name of the user account and click OK.&lt;span&gt;&amp;nbsp; &lt;/span&gt;Add name of the group to which you want to add the user as member in the box labelled &lt;strong&gt;&lt;em&gt;This group is a member of&lt;/em&gt;&lt;/strong&gt;.&lt;span&gt;&amp;nbsp; &lt;/span&gt;The screenshots below show two examples, one with a domain user account (&lt;strong&gt;COLOURS\bobj&lt;/strong&gt;) being made a member of the &lt;strong&gt;Domain Admins&lt;/strong&gt; group, and the second with a local user account (&lt;strong&gt;athurm&lt;/strong&gt;) being made a member of the &lt;strong&gt;Administrators&lt;/strong&gt; local group.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;a href="http://blogs.dirteam.com/photos/tonymurray/images/1360/original.aspx" target="_blank"&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;a href="http://blogs.dirteam.com/photos/tonymurray/picture1360.aspx" target="_blank"&gt;&lt;/a&gt;&lt;a href="http://blogs.dirteam.com/photos/tonymurray/picture1351.aspx" target="_blank"&gt;&lt;img border="0" height="448" src="http://blogs.dirteam.com/photos/tonymurray/images/1351/original.aspx" width="512" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&amp;nbsp;&lt;a href="http://blogs.dirteam.com/photos/tonymurray/picture1352.aspx" target="_blank"&gt;&lt;img border="0" height="448" src="http://blogs.dirteam.com/photos/tonymurray/images/1352/original.aspx" width="512" /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;background:yellow;"&gt;&lt;/span&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;color:navy;"&gt;So what&amp;rsquo;s the catch?&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;color:navy;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;strong&gt;&lt;span style="font-size:10pt;color:navy;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;The problem is that you can only use this method to make local user accounts members of local groups or domain accounts members of domain groups.&lt;span&gt;&amp;nbsp; &lt;/span&gt;You can&amp;rsquo;t (well, I couldn&amp;rsquo;t) use this method to add a domain account to a local group. &lt;/span&gt;&lt;span style="font-size:10pt;"&gt;I&amp;rsquo;m not sure whether this undocumented capability with regard to user accounts was envisaged by Microsoft or not, but it might help you if you like using Restricted Groups to manage group memberships.&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;Tony&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;a href="http://www.activedir.org/"&gt;http://www.activedir.org/&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;Sign up for the Active Directory Discussions mailing list (&lt;a href="http://www.activedir.org/List.aspx"&gt;http://www.activedir.org/List.aspx&lt;/a&gt;)!&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="margin:0cm 0cm 0pt;"&gt;&lt;span style="font-size:10pt;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=1353" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tonymurray/archive/tags/Group+Policy/default.aspx">Group Policy</category></item><item><title>How to search for groups of different type and scope</title><link>http://blogs.dirteam.com/blogs/tonymurray/archive/2006/08/08/How-to-search-for-groups-of-different-type-and-scope.aspx</link><pubDate>Tue, 08 Aug 2006 08:51:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:1264</guid><dc:creator>tonymurray</dc:creator><slash:comments>0</slash:comments><comments>http://blogs.dirteam.com/blogs/tonymurray/comments/1264.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tonymurray/commentrss.aspx?PostID=1264</wfw:commentRss><description>&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;Searching AD for groups using LDAP can be tricky as it often involves using the &lt;B style="mso-bidi-font-weight: normal"&gt;groupType&lt;/B&gt; attribute, which requires a bitwise filter.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Another attribute that can be useful is the &lt;B style="mso-bidi-font-weight: normal"&gt;sAMAccountType&lt;/B&gt; attribute, but you need to be careful as Universal and Global groups share the same values.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;You should also ensure that you use the Global Catalog when searching for Universal Groups.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;This blog post provides advice on searching for groups and provides specific examples using AdFind (&lt;/FONT&gt;&lt;A href="http://www.joeware.net/win/free/tools/adfind.htm"&gt;&lt;FONT face=Arial&gt;http://www.joeware.net/win/free/tools/adfind.htm&lt;/FONT&gt;&lt;/A&gt;&lt;FONT face=Arial&gt;).&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;The table below shows the information of interest when searching for different types of group.&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;Note that the sAMAccountType attribute may not be unique to the Group Type (see items in red and green bold).&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;TABLE class=MsoTableGrid style="BORDER-RIGHT: medium none; BORDER-TOP: medium none; MARGIN: auto auto auto 36pt; BORDER-LEFT: medium none; BORDER-BOTTOM: medium none; BORDER-COLLAPSE: collapse; mso-padding-alt: 0cm 5.4pt 0cm 5.4pt; mso-border-alt: solid windowtext .5pt; mso-yfti-tbllook: 480; mso-border-insideh: .5pt solid windowtext; mso-border-insidev: .5pt solid windowtext" cellSpacing=0 cellPadding=0 border=1&gt;

&lt;TR style="mso-yfti-irow: 0; mso-yfti-firstrow: yes"&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: navy; mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Group Scope&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: navy; mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Group Type&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: navy; mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;groupType&amp;nbsp;value &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: navy; mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;sAMAccountType attribute&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR style="mso-yfti-irow: 1"&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Universal&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Distribution&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;8&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: red; mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;268435457&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR style="mso-yfti-irow: 2"&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Universal&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Security&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;-2147483640&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: green; mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;268435456&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR style="mso-yfti-irow: 3"&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Global&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Distribution&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;2&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: red; mso-ansi-language: EN-NZ"&gt;268435457&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR style="mso-yfti-irow: 4"&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Global &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Security&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;-2147483646&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: green; mso-ansi-language: EN-NZ"&gt;268435456&lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR style="mso-yfti-irow: 5"&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Domain Local&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Distribution&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;4&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;536870913&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;
&lt;TR style="mso-yfti-irow: 6; mso-yfti-lastrow: yes"&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: windowtext 1pt solid; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Domain Local&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;Security&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;-2147483644&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;
&lt;TD style="BORDER-RIGHT: windowtext 1pt solid; PADDING-RIGHT: 5.4pt; BORDER-TOP: #ece9d8; PADDING-LEFT: 5.4pt; PADDING-BOTTOM: 0cm; BORDER-LEFT: #ece9d8; PADDING-TOP: 0cm; BORDER-BOTTOM: windowtext 1pt solid; BACKGROUND-COLOR: transparent; mso-border-alt: solid windowtext .5pt; mso-border-left-alt: solid windowtext .5pt; mso-border-top-alt: solid windowtext .5pt" vAlign=top&gt;
&lt;P class=MsoNormal style="MARGIN: 6pt 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT size=2&gt;&lt;FONT face=Arial&gt;536870912&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TABLE&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;The following sections provide advice on how to search for groups together with examples.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 12pt; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;Find all groups&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;LDAP Filter:&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: green; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;(objectcategory=group)&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;e.g.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: navy; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;adfind -b "OU=Groups,DC=colours,DC=com" -s subtree&amp;nbsp;-f "(objectcategory=group)"&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; MARGIN-LEFT: 92.15pt; BORDER-LEFT: medium none; MARGIN-RIGHT: 42.55pt; PADDING-TOP: 1pt; BORDER-BOTTOM: medium none; mso-border-top-alt: solid windowtext .75pt; mso-element: para-border-div"&gt;
&lt;P class=BlockLine style="MARGIN: 12pt 0cm 0pt; mso-border-between: .75pt solid windowtext; mso-padding-between: 1.0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 12pt; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;Find all Universal Distribution groups&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;LDAP Filter: &lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: green; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;(&amp;amp;(objectcategory=group)(sAMAccountType=268435457)(grouptype:1.2.840.113556.1.4.804:=8))&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;e.g.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: navy; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;adfind –gc -b "OU=Groups,DC=colours,DC=com" -s subtree -bit -f "(&amp;amp;(objectcategory=group)(sAMAccountType=268435457)(grouptype:OR:=8))" 1.1&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 12pt; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;Find all Universal Security groups&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;LDAP Filter: &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: green; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;(&amp;amp;(objectcategory=group)(grouptype:1.2.840.113556.1.4.803:=-2147483640))&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;e.g.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: navy; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;adfind –gc -b "OU=Groups,DC=colours,DC=com" -s subtree -bit -f "(&amp;amp;(objectcategory=group)(grouptype:AND:=-2147483640))" 1.1&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 12pt; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;Find all Universal groups: Distribution and Security&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;LDAP Filter:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: green; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;(&amp;amp;(objectcategory=group)(grouptype:1.2.840.113556.1.4.804:=8))&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;e.g.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: navy; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;adfind -gc -b "OU=Groups,DC=colours,DC=com" -s subtree -bit -f "(&amp;amp;(objectcategory=group)(grouptype:OR:=8))" 1.1&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; MARGIN-LEFT: 92.15pt; BORDER-LEFT: medium none; MARGIN-RIGHT: 42.55pt; PADDING-TOP: 1pt; BORDER-BOTTOM: medium none; mso-border-top-alt: solid windowtext .75pt; mso-element: para-border-div"&gt;
&lt;P class=BlockLine style="MARGIN: 12pt 0cm 0pt; mso-border-between: .75pt solid windowtext; mso-padding-between: 1.0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 12pt; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;Find all Global Distribution groups&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;LDAP Filter:&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: green; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;(&amp;amp;(objectcategory=group)(sAMAccountType=268435457)(grouptype:1.2.840.113556.1.4.804:=2))&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;e.g.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: navy; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;adfind -b "OU=Groups,DC=colours,DC=com" -s subtree -bit -f "(&amp;amp;(objectcategory=group)(sAMAccountType=268435457)(grouptype:OR:=2))" 1.1&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 12pt; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;Find all Global Security groups&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;LDAP Filter: &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: green; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;(&amp;amp;(objectcategory=group)(grouptype:1.2.840.113556.1.4.803:=-2147483646))&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;e.g.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: navy; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;adfind -b "OU=Groups,DC=colours,DC=com" -s subtree -bit -f "(&amp;amp;(objectcategory=group)(grouptype:AND:=-2147483646))" 1.1&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 12pt; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;Find all Global groups: Distribution and Security&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;LDAP Filter:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: green; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;(&amp;amp;(objectcategory=group)(grouptype:1.2.840.113556.1.4.804:=2))&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;e.g.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: navy; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;adfind -b "OU=Groups,DC=colours,DC=com" -s subtree -bit -f "(&amp;amp;(objectcategory=group)(grouptype:OR:=2))" 1.1&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; MARGIN-LEFT: 92.15pt; BORDER-LEFT: medium none; MARGIN-RIGHT: 42.55pt; PADDING-TOP: 1pt; BORDER-BOTTOM: medium none; mso-border-top-alt: solid windowtext .75pt; mso-element: para-border-div"&gt;
&lt;P class=BlockLine style="MARGIN: 12pt 0cm 0pt; mso-border-between: .75pt solid windowtext; mso-padding-between: 1.0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="FONT-SIZE: 12pt; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;Find all Domain Local Distribution groups&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;LDAP Filter:&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: green; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;(&amp;amp;(objectcategory=group)(samaccounttype=536870913))&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;e.g.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: navy; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;adfind -b "OU=Groups,DC=colours,DC=com" -s subtree&amp;nbsp;-f "(&amp;amp;(objectcategory=group)(sAMAccountType=536870913))" 1.1&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;&lt;FONT size=3&gt;Find all Domain Local Security groups&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;LDAP Filter: &lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: green; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;(&amp;amp;(objectcategory=group)(samaccounttype=536870912))&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;e.g.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: navy; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;adfind -b "OU=Groups,DC=colours,DC=com" -s subtree&amp;nbsp;-f "(&amp;amp;(objectcategory=group)(sAMAccountType=536870912))" 1.1&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;&lt;FONT size=3&gt;Find all Domain Local groups: Distribution and Security&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;LDAP Filter:&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: green; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;(&amp;amp;(objectcategory=group)(grouptype:1.2.840.113556.1.4.804:=4))&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;e.g.&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"&gt;&lt;B style="mso-bidi-font-weight: normal"&gt;&lt;SPAN style="COLOR: navy; mso-ansi-language: EN-NZ"&gt;&lt;FONT face=Arial&gt;adfind -b "OU=Groups,DC=colours,DC=com" -s subtree -bit -f "(&amp;amp;(objectcategory=group)(grouptype:OR:=4))" 1.1&lt;o:p&gt;&lt;/o:p&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;DIV style="BORDER-RIGHT: medium none; PADDING-RIGHT: 0cm; BORDER-TOP: windowtext 1pt solid; PADDING-LEFT: 0cm; PADDING-BOTTOM: 0cm; MARGIN-LEFT: 92.15pt; BORDER-LEFT: medium none; MARGIN-RIGHT: 42.55pt; PADDING-TOP: 1pt; BORDER-BOTTOM: medium none; mso-border-top-alt: solid windowtext .75pt; mso-element: para-border-div"&gt;
&lt;P class=BlockLine style="MARGIN: 12pt 0cm 0pt; mso-border-between: .75pt solid windowtext; mso-padding-between: 1.0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&amp;nbsp;Tony&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;&lt;A href="http://www.activedir.org"&gt;www.activedir.org&lt;/A&gt;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"&gt;&lt;SPAN style="mso-ansi-language: EN-NZ"&gt;&lt;o:p&gt;&lt;FONT face=Arial&gt;Sign up the for AD Discussions mailing list (&lt;A href="http://www.activedir.org/List.aspx"&gt;http://www.activedir.org/List.aspx&lt;/A&gt;)&lt;/FONT&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=1264" width="1" height="1"&gt;</description><category domain="http://blogs.dirteam.com/blogs/tonymurray/archive/tags/Active+Directory/default.aspx">Active Directory</category></item><item><title>Enabling a new DC as a DNS Server - a cautionary tale.</title><link>http://blogs.dirteam.com/blogs/tonymurray/archive/2006/08/07/1258.aspx</link><pubDate>Mon, 07 Aug 2006 09:28:00 GMT</pubDate><guid isPermaLink="false">4afa41f1-c118-406e-beda-ba054a9f6c33:1258</guid><dc:creator>tonymurray</dc:creator><slash:comments>3</slash:comments><comments>http://blogs.dirteam.com/blogs/tonymurray/comments/1258.aspx</comments><wfw:commentRss>http://blogs.dirteam.com/blogs/tonymurray/commentrss.aspx?PostID=1258</wfw:commentRss><description>&lt;P&gt;I recently came across a fairly serious DNS issue.&amp;nbsp; Here's what had happened.&lt;/P&gt;
&lt;P&gt;A customer had decided to add a new DC.&amp;nbsp; They had run DCPROMO and everything ran without a hitch.&amp;nbsp; After the reboot they thought that it would be good to enable the DC as a DNS server (fair enough).&amp;nbsp; The existing zone was AD-integrated.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Here's where things went awry.&amp;nbsp; There are a couple of ways in which a DC can be made a DNS Server.&amp;nbsp; The one that is probably most familiar&amp;nbsp;to us is to go to &lt;STRONG&gt;Control Panel -&amp;gt; Add/Remove Programs -&amp;gt; Add/Remove Windows Components -&amp;gt; Networking Services -&amp;gt; Details -&amp;gt; Domain Name System (DNS)&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;A href="/photos/tonymurray/picture1259.aspx" target=_blank&gt;&lt;IMG src="/photos/tonymurray/images/1259/original.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This method would have been fine.&lt;/P&gt;
&lt;P&gt;The alternative method is to use the Configure Your Server Wizard to add a role, as shown below.&lt;/P&gt;
&lt;P&gt;&lt;A href="/photos/tonymurray/picture1260.aspx" target=_blank&gt;&lt;IMG src="/photos/tonymurray/images/1260/original.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="/photos/tonymurray/picture1261.aspx" target=_blank&gt;&lt;IMG src="/photos/tonymurray/images/1261/original.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;At the next screen (after simply selecting Next above)&amp;nbsp;things get a little tricky.&amp;nbsp; All you want to do is to install DNS Server on this machine.&amp;nbsp; That's it.&amp;nbsp; Finshed.&amp;nbsp; Nothing else to do, because we know AD Integrated DNS will simply replicate the zone infromation to our new DC without any other effort required.&amp;nbsp; But the wizard doesn't know this and so tries to be helpful by suggesting you do something else (see below)&amp;nbsp;when you select Next.&lt;/P&gt;
&lt;P&gt;&lt;A href="/photos/tonymurray/picture1262.aspx" target=_blank&gt;&lt;IMG src="/photos/tonymurray/images/1262/original.aspx" border=0&gt;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Clicking Cancel at this point will achieve the desired result.&amp;nbsp; Unfortunately, my customer became confused and went ahead and created the forward lookup zone THAT ALREADY EXISTED.&amp;nbsp; The effect of this was to overwrite the existing zone information.&amp;nbsp; Oops - not good.&lt;/P&gt;
&lt;P&gt;Personally, I think it would be helpful if the wizard offered an extra option in the screen above.&amp;nbsp; For example, something that says, "This is a DC in an existing forest with these AD integrated zones (X, Y and Z) already configured."&lt;/P&gt;
&lt;P&gt;Tony&lt;/P&gt;
&lt;P&gt;&lt;A href="http://www.activedir.org/"&gt;www.activedir.org&lt;/A&gt;&lt;/P&gt;&lt;A href="/photos/tonymurray/picture1259.aspx" target=_blank&gt;&lt;/A&gt;&lt;A href="/photos/tonymurray/picture1260.aspx" target=_blank&gt;&lt;/A&gt;&lt;A href="/photos/tonymurray/picture1260.aspx" target=_blank&gt;&lt;/A&gt;&lt;A href="/photos/tonymurray/picture1261.aspx" target=_blank&gt;&lt;/A&gt;&lt;A href="/photos/tonymurray/picture1261.aspx" target=_blank&gt;&lt;/A&gt;&lt;A href="/photos/tonymurray/picture1262.aspx" target=_blank&gt;&lt;/A&gt;&lt;img src="http://blogs.dirteam.com/aggbug.aspx?PostID=1258" width="1" height="1"&gt;</description></item></channel></rss>