Wireshark shows no interfaces, "PacketGetAdapterNames: The system cannot find the file specified. (2)": caused by a leftover airpcap.dll wrapper
asked Nov 07 '26
Symptom
- Wireshark lists no network interfaces (only extcap entries like etwdump).
dumpcap -Dfails with:PacketGetAdapterNames: The system cannot find the file specified. (2)- Reinstalling Npcap (1.79 and 1.90), Safe Mode
NPFInstall.exe -i, network reset, removing VPNs, and disabling AV did not help. The Npcap driver loaded and was bound to every adapter.
Cause
Npcap loads airpcap.dll automatically if it exists. An old "Tarlogic airpcap wrapper" (from Acrylic Wi-Fi, dated 2016) had replaced C:\Windows\System32\airpcap.dll and C:\Windows\SysWOW64\airpcap.dll. The wrapper tries to load the original, airpcap.orig.dll, which no longer existed, so adapter enumeration failed with error 2. Uninstalling Acrylic did not remove the wrapper.
How it was found
A Process Monitor trace of dumpcap -D showed repeated NAME NOT FOUND lookups for airpcap.orig.dll. Checking the file's details showed Company "Tarlogic", Description "Tarlogic airpcap wrapper".
Check yourself (PowerShell)
Get-Item C:\Windows\System32\airpcap.dll, C:\Windows\SysWOW64\airpcap.dll -EA 0 | % { "$($_.FullName) | $($_.VersionInfo.CompanyName) | $($_.VersionInfo.FileDescription)" }
Fix (admin PowerShell; renaming lets you undo it)
Rename-Item "C:\Windows\System32\airpcap.dll" "airpcap.dll.old"
Rename-Item "C:\Windows\SysWOW64\airpcap.dll" "airpcap.dll.old"
Then reopen Wireshark. No reboot needed. Interfaces appeared immediately.
Note: only do this if you don't use a real AirPcap adapter.
Suggestion for Npcap: when airpcap.dll fails to load or its dependencies are missing, skip it (or log a clear warning) instead of failing PacketGetAdapterNames for all adapters.
Found and fixed by Jack Lounsbury and Grok Bot.

Thanks, Jaap, I appreciate you taking the time to reply. I agree that Acrylic is unlikely to fix their uninstaller, which is part of why I posted this here. I spent a significant amount of time trying to resolve this before finding the cause, and I hope it saves others that time. I've taken your advice and reported it to the Npcap project: https://github.com/nmap/npcap/issues/862