Is there any way to make the Wireshark capture packets automatically and save it in a file on startup of Windows? Kindly help me to fix this.
asked 13 Nov '13, 03:17
edited 13 Nov '13, 05:42
Yes. First, run Wireshark from a command line prompt by entering "wireshark -D" to get a list of interfaces (you can also use "dumpcap -D" if you want). Note the index of the interface you want to capture on.
Next, create a batch file that contains the line
and put a shortcut to that link into your startup folder. That should do the trick.
If you want to furter customize the process (like setting an capture file name or other options) you can always run "wireshark -h" to get a list of all command line parameters.
answered 13 Nov '13, 03:29
edited 13 Nov '13, 03:30