Discovery and domain controllers or lack there of
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2018 03:23 AM
Going by this page
https://docs.servicenow.com/bundle/kingston-it-operations-management/page/product/discovery/reference/r-ActiveDirectory.html
It states:
Discovery creates or updates a CMDB record when it detects a running instance of Active Directory Domain Controller on Windows machines.
- Labels:
-
Discovery
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-23-2018 04:42 AM
Steve,
I don't know how you have your account setup but typically Discovery struggles to discover Domain Controllers because you can't grant it local admin access without giving it domain admin which most organizations won't grant (as you could literally destroy the entire domain if something goes wrong). My guess is that your account probably isn't discovering the running process/tcp/ip correctly due to not having local admin and this is causing the process classifier to not be triggered. Can you confirm if processes are discovered for the record?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2018 05:33 AM
Hi Robert thanks for the response.
I have given SN a domain admin account and run a discovery against a domain controller. At no point do I see it even tries "Active Directory Domain Controller On Windows pattern" in any of the discovery logging and still no domain controller
A little confused also on what I have done on our dev. I have tested moving from probes to patterns. How is the "Active Directory Domain Controller On Windows pattern" supposed to run when it isnt a shared pattern and dont think it is referenced in the windows pattern that discovers the windows server. Only one pattern can be referenced

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-25-2018 11:43 PM
1. Can you provide a screenshot of the discovery run when running quick discovery of the target?
2. Enter debug mode for the pattern using that domain controller, and see what happens
3. Which credentials are being used (wondering if your Domain Admin account isnt being used for the discovery)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2020 04:01 PM
I know this post is 2 years old now, but I've found the same issue. I have also found the root cause.
I followed the step by step guide as per paris version:
https://docs.servicenow.com/bundle/paris-it-operations-management/page/product/discovery/reference/r-ActiveDirectory.html
I struggled to find the cause and after some time wastage, the issue is with the documentation. In particular, this line has an error, the pattern doesn't find the additional "e" in "exe". Drop the last "e" in "exe" and it will finally work.
- Condition: Name | contains | microsoft.activedirectory.webservices.exe
Should be - Condition: Name | contains | microsoft.activedirectory.webservices.ex
But I have another problem, it discovers two domains of the same domain name and both domain controllers tree view are spread across the domains. Hard to explain, but here is a screenshot of what I am finding...