Ask Your Question
0

Is there a way for wireshark to start upon computer startup?

asked 2022-05-11 15:57:31 +0000

sharkwiremane gravatar image

Just want to have wireshark start as soon as I turn my computer on? I am wanting to start capturing packets from the ethernet port as soon as the computer is started up.

edit retag flag offensive close merge delete

Comments

What Operating System?

Jaap gravatar imageJaap ( 2022-05-11 17:53:33 +0000 )edit

Windows Operating System

sharkwiremane gravatar imagesharkwiremane ( 2022-05-11 20:30:01 +0000 )edit

What packets are you interested in? As I indicated in my comment on Bob Jones's answer, Windows may send and receive packets before it's even ready to run Wireshark, so even if it could start up Wireshark at some point during startup, you wouldn't get all the packets.

Guy Harris gravatar imageGuy Harris ( 2022-05-15 19:38:48 +0000 )edit

Well the ethernet port mirrors a port on the switch and need it to capture, problem is I need computer to reboot from time to time for Windows updates, because it is a dedicated system.

sharkwiremane gravatar imagesharkwiremane ( 2022-05-16 14:40:04 +0000 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-05-12 18:33:02 +0000

Bob Jones gravatar image

Your best bet is to capture external to the machine so you catch all the traffic when it comes up, with no dependence on the order at which capture is started and the interface comes up.

I think netsh will do a startup capture, too, but still prefer external for cases like this.

edit flag offensive delete link more

Comments

There may be packets sent and received by code in Windows that runs before Windows is even ready to start programs such as Wireshark, so Bob Jones's advice to do your capture with another machine is probably the best solution.

Guy Harris gravatar imageGuy Harris ( 2022-05-15 19:37:43 +0000 )edit

Amen to that.If you are looking for odd things in your system at boot time it is time to get your ethernet ninja star

hugo.vanderkooij gravatar imagehugo.vanderkooij ( 2022-05-16 07:42:03 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2022-05-11 15:57:31 +0000

Seen: 38 times

Last updated: May 11