Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can not downgrade to earlier version #1686

cbwang505 opened this issue Aug 12, 2019 · 3 comments

can not downgrade to earlier version #1686

cbwang505 opened this issue Aug 12, 2019 · 3 comments


Copy link

@cbwang505 cbwang505 commented Aug 12, 2019

i installed npcap-0.9982 and run sharpcap i caught Exception: SharpPcap.PcapException: 'Unable to activate the adapter (rpcap://\Device\NPF_{DB15D668-E692-46D9-9A6F-FD6747CD11AD}). Return code: -1',when i then uninstall it and install the npcap-0.991 still call the error,Exception: SharpPcap.PcapException: No interfaces found! Make sure libpcap/WinPcap is properly installed on the local machine.
在 SharpPcap.WinPcap.WinPcapDeviceList.Devices(String rpcapString, RemoteAuthentication remoteAuthentication)
在 SharpPcap.WinPcap.WinPcapDeviceList.GetDevices()
在 SharpPcap.WinPcap.WinPcapDeviceList.Refresh()
在 SharpPcap.WinPcap.WinPcapDeviceList..ctor()
在 SharpPcap.WinPcap.WinPcapDeviceList.get_Instance()
在 SharpPcap.CaptureDeviceList..ctor()
在 SharpPcap.CaptureDeviceList.get_Instance()
在 DeviceList.Program.Main(String[] args) 位置 E:\git\PeachProject\PeachAdmin\DeviceList\Program.cs:line 16
now i can not install any earlier version than npcap-0.9982 how to resovle this problem,in addtional i uninstall npcap and install winpcap instead of it , it works

Copy link

@gsuberland gsuberland commented Aug 16, 2019

I am also running into this same issue. 0.991 does not show any adapters at all (in SharpPcap or Wireshark), whereas 0.9982 shows adapters in Wireshark but no adapters can be opened in SharpPcap (same exception as OP).

Copy link

@melon3r melon3r commented Sep 19, 2019

I'm having the same isue with npcap 0.9983. I upgraded from 0.991 to check if it'd work with SharpPcap, and after finding it doesn't, I can't go back.

Copy link

@dmiller-nmap dmiller-nmap commented Dec 13, 2019

Npcap uninstallers prior to Npcap 0.9985 did not properly check for filesystem redirection on 64-bit Windows, so the npcap.sys file was not correctly deleted. Windows would therefore not overwrite it with a version that was older than the previously installed version, preventing a clean downgrade.

Npcap 0.9985 (soon to be released) can be safely downgraded to any other version. For downgrading from previous versions, you must manually delete the %WINDIR%\System32\Drivers\npcap.sys file after uninstalling and before installing the older version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants