Giter Club home page Giter Club logo

Comments (4)

hsluoyz avatar hsluoyz commented on August 24, 2024

Hi @serious-cnam , please provide the NPFInstall.log file as well, thanks!

from npcap.

nicolas-poirier avatar nicolas-poirier commented on August 24, 2024

NPFInstall.log.txt
Here it is!

from npcap.

hsluoyz avatar hsluoyz commented on August 24, 2024

Hi @serious-cnam

The INetCfgClassSetup::Install method fails with 0x8004a029 (NETCFG_E_MAX_FILTER_LIMIT), which in MSDN means:

Indicates that the application is trying to install a filter device, but the maximum number of filter devices that the system supports has already been reached.

And based on this post, it said:

Windows 7 is hard coded to allow 14 filter drivers, but the following registry sets the limit to 8 by default. You can adjust the amount up to 14 or delete this key and it will be set to max of 14.
HKEY_LOCAL_MACHINESYSTEMCurrentControlSetControlNetworkMaxNumFilters

I counted your filter devices in NDIS Light-Weight Filter (LWF) Info section of DiagReport-20161019-154912.txt, it has exactly reached the maximum of 14, which is the hard-coded upper limit for Win7.

So you have two options now:

  1. Uninstall 2 filters. I noticed you are using NPFInstall.exe with -i2 option, so I assume you want to install a Wi-Fi enabled Npcap, which requires 2 filters. So you need to uninstall 2 existing filters. If you only install the driver with -i option, you only need one empty filter slot then. The possible candidates for you to uninstall are: Riverbed Steelhead, Microsoft Network Monitor, Symantec Firewall, Zone Alarm Firewall, VMware.
  2. Upgrade to Win8 or Win10. So you won't be restricted by the 14 filters limitation.

from npcap.

nicolas-poirier avatar nicolas-poirier commented on August 24, 2024

Thank you so much!

Npcap is now up and running :)
In fact the MaxNumFilters was set to 8 so i had just set it to the max number 14.

All the entries listed in the lwf section weren't really LWF but only 8 of them.

`PS C:\Users\nipo\Desktop> .\display-lwf.ps1

MaxNumFilters : 8

Filter Count: 8
Filter List:

Description : Virtual WiFi Filter Driver
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\system\currentcontrolset\control\network{4d36e974-e325-11ce-bfc1-08002be10318}{5CBF81BF-5055-47CD-9055-A76B2B4E3698}

Description : Microsoft Network Monitor 3 Driver
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\system\currentcontrolset\control\network{4d36e974-e325-11ce-bfc1-08002be10318}{6E022F38-AB31-44C5-8206-2EB023EFF145}

Description : Symantec Endpoint Protection Firewall
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\system\currentcontrolset\control\network{4d36e974-e325-11ce-bfc1-08002be10318}{72891E7B-0A3D-4541-BDCB-3DA62E25B6A8}

Description : Zone Alarm Firewall Driver
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\system\currentcontrolset\control\network{4d36e974-e325-11ce-bfc1-08002be10318}{AC30BFB5-834B-46D2-B912-6CE71684EB2D}

Description : QoS Packet Scheduler
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\system\currentcontrolset\control\network{4d36e974-e325-11ce-bfc1-08002be10318}{B5F4D659-7DAA-4565-8E41-BE220ED60542}

Description : WFP Lightweight Filter
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\system\currentcontrolset\control\network{4d36e974-e325-11ce-bfc1-08002be10318}{B70D6460-3635-4D42-B866-B8AB1A24454C}

Description : NativeWiFi Filter
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\system\currentcontrolset\control\network{4d36e974-e325-11ce-bfc1-08002be10318}{E475CF9A-60CD-4439-A75F-0079CE0E18A1}

Description : NDIS Capture LightWeight Filter
PSPath : Microsoft.PowerShell.Core\Registry::HKEY_LOCAL_MACHINE\system\currentcontrolset\control\network{4d36e974-e325-11ce-bfc1-08002be10318}{EA24CD6C-D17A-4348-9190-09F0D5BE83DD}`

Once again, thank you for your help pointing me in the good direction.

from npcap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.