Wireshark sees a few interfaces that I cannot find in the Windows registry, where does Wireshark get its list of interfaces?
I have gone into the registry, Windows 10, and removed all of the unused, old network adapters so there should only be 8 adapters showing in the system. That is the number which now shows in the Network GUI on this Win10 box. However, when I run Wireshark, and it discovers interfaces it finds 12 Adapters. When I do "show hidden devices" in Device Manager I see 10 Adapters - I know those extra 2 are for the VPN I use. I would like to know what file, or registry entry, or whatever Wireshark queries to get the list of interfaces it displays after it runs "finding local interfaces". I need to know what I am missing removing to resolve this discrepancy.
Still digging. Similar issue here on the nmap/npcap email list.
On Windows, Wireshark is calling
npcap
to get the interface list. The wireshark code that does this is similar to this example code in the Npcap Development Tutorial.If you don't mind poking around in the Registry, there is some info in this article.
It shows the
Wireshark: Interface Details
window but alas that got dropped.What is the output of
ipconfig/all
anddumpcap -D
in a Command Prompt window?how do I get the results of ipconfig /all and dumpcap to you. I tried adding as a comment and get that this content is forbidden. Anyway, dumpcap -D returns "'dumpcap' is not recognized as an internal or external command, operable program or batch file. ipconfig /all :
The Wireshark install directory may not be in your path. Typical (not always) is C:\Program Files\Wireshark.
You just did. (I assume you removed all the IP address etc. details from the output of
ipconfig/all
; those details aren't necessary, so you don't need to supply them.)Try
"C:\Program Files\Wireshark\dumpcap" -D
, as per @Chuckc's suggestion.