Use this article to help you troubleshoot Network Discovery scans.
Prerequisites for Network Discovery domain scan
Make sure that the scanning agent is a Domain Controller. The role of the Domain Controller can be verified by running the following command in CMD:
Important Notes
- Network Discovery does not work for cloud environments.
- The Network Discovery feature is designed to support network scanning for subnets of /20 and above. It does not currently support scanning /16 subnets. Kindly ensure that the network you wish to scan falls within the supported range of /20 and above for optimal functionality.
wmic.exe ComputerSystem get DomainRole
Value | Hexadecimal value | DomainRole |
0 | 0x0 | Standalone Workstation |
1 | 0x1 | Member Workstation |
2 | 0x2 | Standalone Server |
3 | 0x3 | Member Server |
4 | 0x4 | Backup Domain Controller |
5 | 0x5 | Primary Domain Controller |
In case the server was promoted to a Domain Controller, you should get the value ‘5’ as a response.
The domain account used for the Network Discovery must be a member of the Domain Admins group.
Optimal network settings also have to be done on the network for a Network Discovery scan to work properly. Please see the optimal network settings article.
Prerequisites for Network Discovery workgroup scan
Nmap OEM and Npcap OEM have to be installed on the scanning agent. The installation of Nmap OEM and Npcap OEM is done automatically when you first initiate a workgroup scan. The installation can fail if there is already another version of Nmap and Npcap installed on the scanning agent.
You can run the below commands in CMD which will trigger the silent uninstall for Nmap.
"C:\Program Files\Npcap\Uninstall.exe" /S "C:\Program Files (x86)\Nmap\Uninstall.exe" /S
Possible issues preventing a successful scan
- Invalid domain controller credentials
- The scanning agent is offline
- The scanning agent's IP has changed (applicable when the scanning agent is a workstation). Most likely, the device is not on site. Continuing with the scan may lead to the scanning of irrelevant networks.
SNMP incorrect results
If an SNMP device that you want to monitor does not use SNMP v1 and "Public" as the Community String, the device will appear as a Workstation instead of an SNMP device in the Network Discovery scan.