Sunday, December 27, 2009

If Active Directory System Discovery does not work

If you are using Microsoft System Center Configuration Manager and Active Directory System Discovery does not show new computers added to your Active Directory then following will resolve the issue.

There is a bug in SCCM SP2 that does not resolve the LDAP query for newly added computer objects. To make it work:

  • Go to Site Management > Site Name > Site Settings > Discovery Methods
  • Go to the properties of Active Directory System Discovery
  • In the General Tab, Click on the new button to and chose Custom LDAP or GC query query should be based on the following. (remember to check Recursive and Include Groups if needed)

    LDAP://SERVERNAME:PORT/DC=CONTOSO,DC=COM

  • To put the above in context: Lets say your domain name is contoso.com and the name of the LDAP server is dc01.contoso.com then the query will look like the following.  (389 is the default LDAP port)

    LDAP://DC01:389/DC=CONTOSO,DC=COM

  • If the same was to be done for an OU named Workstations in the above domain, following query can be used.

    LDAP://DC01:389/OU=WORKSTATIONS,DC=CONTOSO,DC=COM

No comments:

Post a Comment

Leave a comment if you find this post useful or if you have any questions