You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As discussed in nmap/nmap#572, Windows 7 has a limit on the number of NDIS filter drivers that can be installed, defaulting to 8 but configurable up to 14. Right now, we detect the specific error and print a message to STDOUT in NPFInstall.exe, but the installer doesn't take any special action on this condition.
I propose 2 changes:
When NETCFG_E_MAX_FILTER_LIMIT is returned, increment HKLM:\SYSTEM\CurrentControlSet\Control\Network\MaxNumFilters and try again.
If the install continues to fail with the same error, fail in such a way that the executable installer can detect and display a useful error message to the user. Existing message is simply "Failed to create the npcap service for Win7, Win8 and Win10. Please try installing Npcap again, or use the latest official Npcap installer from https://nmap.org/npcap/"
The text was updated successfully, but these errors were encountered:
The first part of this (attempting to increment MaxNumFilters) is implemented in the installer for Npcap 0.99-r5. I would appreciate any feedback on whether this works, as I have been unable to confirm it yet.
As discussed in nmap/nmap#572, Windows 7 has a limit on the number of NDIS filter drivers that can be installed, defaulting to 8 but configurable up to 14. Right now, we detect the specific error and print a message to STDOUT in NPFInstall.exe, but the installer doesn't take any special action on this condition.
I propose 2 changes:
HKLM:\SYSTEM\CurrentControlSet\Control\Network\MaxNumFilters
and try again.The text was updated successfully, but these errors were encountered: