Open CoCoNutsOo opened 1 year ago
setupapi.dev.log I can't find any errors during installation in the logs.
I had the idea to launch Windows in "safe" mode; I uninstalled Wireshark and NPCAP; I then (still in "safe" mode reinstall); I restarted Windows normally and no problem the npcap service works normally and Wireshark (well after 40 requests for admin perms, works correctly (I'm not kidding)).
Same boat here but can't fix it with >50 uninstalls, reinstalls, sfc /scannow, Dism ... /RestoreHealth, clearing %TEMP%, removing service from registry before uninstall, checking service after uninstall (in ton of combinations of this options or without them) - but always "sc query npcap" "service is not installed". After installation of npcap Registry HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\npcap tree have no "ImagePath" or anything else except "Start" key and "Parameters" subtree:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\npcap]
"Start"=dword:00000001
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\npcap\Parameters]
"LoopbackSupport"=dword:00000001
"DltNull"=dword:00000001
"Edition"="Npcap"
"AdminOnly"=dword:00000000
"Dot11Support"=dword:00000000
"VlanSupport"=dword:00000000
"WinPcapCompatible"=dword:00000000
Install.log part with service installing:
File: skipped: "C:\TEMP\nsoD0A6.tmp\nsExec.dll" (overwriteflag=1)
DetailPrint: The npcap service was successfully created
Jump: 1562
DetailPrint: Writing service options to registry
Call: 1571
WriteRegDWORD: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\npcap" "Start"="0x00000001"
WriteRegDWORD: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\npcap\Parameters" "LoopbackSupport"="0x00000001"
WriteRegDWORD: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\npcap\Parameters" "DltNull"="0x00000001"
WriteRegStr: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\npcap\Parameters" "Edition"="Npcap"
WriteRegDWORD: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\npcap\Parameters" "AdminOnly"="0x00000000"
WriteRegDWORD: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\npcap\Parameters" "Dot11Support"="0x00000000"
WriteRegDWORD: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\npcap\Parameters" "VlanSupport"="0x00000000"
WriteRegDWORD: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\npcap\Parameters" "WinPcapCompatible"="0x00000000"
Call: 1630
WriteRegDWORD: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\npcap" "Start"="0x00000001"
WriteRegDWORD: "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\npcap_wifi" "Start"="0x00000004"
Call: 1622
DetailPrint: Starting the npcap driver
Call: 1942
SetFlag: 13=6
File: overwriteflag=1, allowskipfilesflag=0, name="C:\TEMP\nsoD0A6.tmp\nsExec.dll"
File: skipped: "C:\TEMP\nsoD0A6.tmp\nsExec.dll" (overwriteflag=1)
Jump: 1810
I've tested wiresharkportable with npcap 1.76 installed separately and tested wireshark installation with included npcap 1.71. Nothing changed.
Once wireshark was working is was yesterday when I've started Portable wireshark, it ask me to download and install npcap, I've installed it, found that it is installed to default path without asking me where I want be it installed then today I've read how to install to a different directory, uninstalled npcap, installed with /D=Path option, started wireshark and... "try to run net start npcap" and then my challenge started. I've uninstalled npcap, installed it again without /D option - no luck, uninstalled, checked registry for npcap's, installed again and my install-uninstall game stuck at no solution path.
PS: finally I've installed it. https://github.com/nmap/npcap/issues/673#issuecomment-1704650714
Describe the bug Hello everyone, I have a problem, I can't use Wireshark, because npcap doesn't install its services : I have no errors when installing npcap, either through the installer on the site, or through the auto install when I installed wireshark...
To Reproduce Steps to reproduce the behavior:
Expected behavior I can't use Wireshark because I can't install the npcap service.
Screenshots
Diagnostic information
Windows version from
winver
: Windows 11 Version 22H2, OS Build 22621.2134)Output of DiagReport ➡️I have nothing visible on it when installing npcap / trying to use with wireshark and cmd "net start npcap".
Installation logs
If installation failed, include SetupApi.dev.log ➡️As far as I'm concerned, there are no errors during installation.
Any special hardware or software that may be relevant: VPN, firewall, antivirus, virtualization (SR-IOV passthrough, etc). ➡️I have a few VPNs installed on my machine (riseupVPN / stormshield SSL VPN Client and Kaspersky VPN). My antivirus : kaspersky (I deactivated it completely during installation, at the same time as Windows Defender.), Virtualization is enabled on my machine, because I'm using VMware Workstation Pro. HyperV is also active.
Thank you in advance for your help ! Kind regards.