This is a static, read-only archive of Wireshark Q&A. Older questions and answers from October 2017 and earlier can be found at osqa-ask.wireshark.org.
0

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 -D fails 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.

1 Answer

0

answered Nov 08 '26

Although an intriguing story, the fix should come from Acrylic Wi-Fi, to fix their de-installer, which I doubt will happen. But more importantly, the suggestion should be addressed to the Npcap project of Nmap. These are the ones who graciously provide you the capture library to use with Wireshark.

Comments

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

User 42258 ( Nov 08 '26 )
cc-by-sa Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.