Query is not getting information from a computer OU
hi, i am trying to make a collection based on a query that gets computer names from a specific OU. I know the query is correct but i am not getting any results. It seems the query is not getting into AD to get the information Active Directory System Discovery is Enabled. Anyone has any idea what goes wrong ?
October 28th, 2010 4:31am

Hi, Did you enable Active Directory System Group discovery as well? It is required to discover OU information: http://technet.microsoft.com/en-us/library/cc181248.aspxFollow me through my blog and Twitter!
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2010 5:02am

hi, thnx for your reply and the answer is yes, it's enabled too
October 28th, 2010 5:19am

can you paste your query in your reply. If the OU information are found and stored in ConfigMgr. they should work in a query.Kent Agerlund | http://scug.dk/ | The Danish community for System Center products
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2010 5:34am

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System where SMS_R_System.SystemOUName = "domain.com\Computers" domain.com\Computers is an example, not the real names
October 28th, 2010 5:54am

Try this: SMS_R_System.SystemOUName = "Domain_name/OUname" Follow me through my blog and Twitter!
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2010 6:46am

you can try this : select * from SMS_R_System where SMS_R_System.SystemOUName = "eskon.COM/computers" Btw,if you are creating collection with Query based and using Criteria,you can select the OU directly from the existing OU's(you will all Ous like Domainname/OUname) //Eswar Koneti @ http://eskonr.wordpress.com/
October 28th, 2010 6:54am

hi, tried it but did not work. Is there a way to check if there really is a connection with AD ?
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2010 7:17am

can you verify that the OU information is added to your computer objects? Just double click any of the computers in the configmgr. console.Kent Agerlund | http://scug.dk/ | The Danish community for System Center products
October 28th, 2010 7:18am

When i double click a computer object in another collection i see under discovery data a lot of property's. Is there a property i can check to see if the information i put in the query is right ? for instance the Domain name or so /
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2010 7:24am

the property AD Domain Name displays <null>, is that correct /
October 28th, 2010 7:25am

you should have information shown in the System OU Name. If not then the data is not stored in the DB. Your query is correct, I think the problem is in the AD System Group Discovery. Any errors in the adsysgrp.log file?Kent Agerlund | http://scug.dk/ | The Danish community for System Center products
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2010 7:27am

I don't see anything in the log file that indicate as ERROR should the IP range of the systems i am looking for be in the boundaries ?
October 28th, 2010 7:49am

they objects should be assigned to the site, so yes they should be in the boundaries. Check this flowchart http://technet.microsoft.com/en-us/library/bb932145.aspxKent Agerlund | http://scug.dk/ | The Danish community for System Center products
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2010 8:06am

is it necessary to put the OU you want to discover in the Active Directory System Discovery as LDAP query in the properties ?
October 28th, 2010 8:25am

or is this only necessary for the OU's you want to exclude ?
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2010 8:26am

the LDAP defines the OU's that you are using in the search. Make sure that you have the correct OU defined.Kent Agerlund | http://scug.dk/ | The Danish community for System Center products
October 28th, 2010 8:27am

Still not working. The strange thing is that if i make the collection and i get the end window where it says Confirmation i see : Details General Membership Rules Advertisements Security but there is no info there. Shouldn't there be any text there ? Does thet implicate that it allready goes wrong creating the collection ?
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2010 9:51am

when i create the query, there is an option to get values instead of typing the OU path. If i open this value box i only see a few OU's there. Is that normal ?
October 28th, 2010 9:54am

It's because you haven't collected the other OU information. You should configure the LDAP path to include the OU's you want to import.Kent Agerlund | http://scug.dk/ | The Danish community for System Center products
Free Windows Admin Tool Kit Click here and download it now
October 28th, 2010 9:56am

Hi Kent, you are totally right. I added an LDAP query to the Active Directory System group Discovery properties with the top OU where i want to find the systems and now i find them under "values" and when i pick an OU i get the results i want. Thank you very much for your time and effort you put into helping me. Greetings Gerrit
October 28th, 2010 10:25am

Hi Gerrit, Very glad to hear the issue resolved. Also, if you have any further concerns, please do not hesitate to let us know and we are happy to be of further assistance. Thanks,Yog Li -- Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
Free Windows Admin Tool Kit Click here and download it now
November 5th, 2010 5:14am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics