1 | initial version |
To disable interface discovery in Wireshark and avoid the UAC elevation dialog on startup, you can launch Wireshark with the -S option, which skips the initial interface list:
Create a Shortcut: Right-click on the Wireshark shortcut, select Properties, and add -S to the Target field (e.g., "C:\Program Files\Wireshark\Wireshark.exe" -S).
Limit Interfaces: Alternatively, you can configure Wireshark to limit the interfaces it scans by editing the init.lua file. Add the following line to skip specific interfaces:
lua Copy code disable_lua = false dofile(DATA_DIR.."console.lua") These steps help bypass or limit the interface discovery process, reducing the UAC prompts.