This is a static archive of our old Q&A Site. Please post any new questions and answers at ask.wireshark.org.

WinPcap driver (aka NPF)

0

Hi,

I've gone thru the wiki info. I have and use Wireshark no problem. I currently manually start the WinPcap driver (aka NPF), use Wireshark, and then manually stop the driver.

Is there a way to have this driver start automatically when I launch Wireshark? I read that this driver can be set to start when I turn on pc, but I don't need things running in the background.

Thanks

asked 23 Jun '15, 14:29

sharksurf's gravatar image

sharksurf
6112
accept rate: 0%


One Answer:

0

From command prompt, type the following....

sc config npf start= auto

answered 23 Jun '15, 15:02

Rooster_50's gravatar image

Rooster_50
23891218
accept rate: 15%

Or see the answer from Kurt Knochner who previously answered this very same question.

The NPF driver isn't running

(23 Jun '15, 15:19) Rooster_50

If I enter in command prompt: sc config npf start= auto won't that automatically start the driver at pc startup?

I am looking for a way to automatically start the driver upon launching Wireshark.

(24 Jun '15, 18:42) sharksurf

I guess the only way you can get it to load the driver and start Wireshark at the same time would be to script it.

(24 Jun '15, 21:53) Rooster_50