When troubleshooting Network Discovery, enabling trace logging is useful to get finite details on what functions are being called and their results. Adding PPA logging is important as Network Discovery uses PPA for all it's protocol handling. Getting both logs paints the full picture of what is occurring during a Network Discovery. Due to the size of the trace data, it is recommended to narrow the scope of your tests so it is easier to parse through the data.
Note: These keys also work on version 8.x.
Attached to this article are two registry files that will create the necessary registry entries to enable both Network Discovery and PPA (Pluggable Protocol Architecture) trace logging.
Now run the Network Discovery again so you can capture trace logs as needed.