If you want to see what your PC is actually sending and receiving on the network, you don't have to install anything first. Windows 10 and 11 include Packet Monitor (pktmon), a command-line tool that can capture packets, count them and report packets that Windows itself drops, and it can save captures in a format Wireshark opens. This guide walks through a practical capture from start to finish, based on Microsoft's Packet Monitor documentation as of 29 November 2026.
What pktmon is and when it's useful
Microsoft describes Packet Monitor as an in-box, cross-component network diagnostics tool for Windows that can be used for packet capture, packet drop detection, packet filtering and counting. Microsoft says it's available in-box through the pktmon.exe command on Windows 10 and Windows Server 2019 (version 1809 and later), and its pktmon command pages list Windows 11 among the supported versions.
What makes it different from a typical capture tool is that it intercepts packets at multiple points in Windows' networking stack, not just at the network adapter. If a supported component drops a packet, pktmon reports the drop and, according to Microsoft, a drop reason such as MTU Mismatch or Filtered VLAN. It also keeps packet counters for each intercept point, which gives a quick overview without trawling through a log.
For home users, that makes it handy for questions like:
Is this app actually trying to connect to the server, or is nothing leaving the PC?
Are DNS lookups going out and coming back?
Is something on the PC dropping the traffic?
Can I grab a capture to open in Wireshark without installing a separate capture tool?
Before you start
Open Terminal or Command Prompt as administrator (right-click the Start button and choose Terminal (Admin)). To see every command, Microsoft recommends starting with:
pktmon /?
Each sub-command has its own help too, for example pktmon filter add help.
A privacy note: a capture can contain the contents of your traffic, not just addresses. By default pktmon logs the first 128 bytes of each packet, which Microsoft says should include the headers of most packets. Treat capture files as private and be careful who you share them with.
Step 1: Add filters first
Microsoft strongly recommends applying filters before you start, because capturing all traffic can make the output too noisy to analyse. Filters can match MAC addresses, IP addresses, ports, EtherType, transport protocol and VLAN ID. A few rules to know:
A packet is reported if it matches all the conditions in at least one filter.
Up to 32 filters can be active at once.
pktmon doesn't distinguish between source and destination for MAC, IP or port filters, so -p 53 matches traffic to or from port 53.
Microsoft's own example captures ICMP traffic to or from one address, plus anything on port 53 (DNS):
pktmon filter add -i 10.0.0.10 -t icmp
pktmon filter add -p 53
You can also match TCP flags. This filter, from Microsoft's documentation, captures SYN packets (connection attempts) sent or received by one IP address:
pktmon filter add -i 10.0.0.10 -t tcp syn
Replace the address with the server you're troubleshooting. Check what's active with pktmon filter list, and clear everything with pktmon filter remove, which Microsoft notes removes all packet filters.
Step 2: Start the capture
The basic command enables packet capture and packet counters:
pktmon start --capture
The short form is pktmon start -c. Useful options from Microsoft's syntax page:
Option | What it does | Default |
|---|
--comp nics
| Capture only at network adapters rather than every component | All components |
--type drop
| Capture only dropped packets (flow for flowing packets only) | All |
--pkt-size 0
| Log the whole of every packet | 128 bytes |
-f <name>
| Log file name | PktMon.etl |
-s <MB>
| Maximum log file size | 512 MB |
-m <mode>
| Logging mode: circular, multi-file, real-time or memory | Circular |
--counters-only
| Count packets without logging them | Off |
The logging mode matters for longer captures. In the default circular mode, new events overwrite the oldest when the log is full. Multi-file starts a new numbered file each time instead, so nothing is lost, but Microsoft warns you to watch storage use. Real-time prints packets on screen and creates no log file; press Ctrl+C to stop. Memory keeps everything in a memory buffer and writes it to a file when you stop, which Microsoft suggests for very noisy scenarios where other modes might lose traffic.
A sensible home capture of one problem looks like this:
pktmon filter remove
pktmon filter add -p 53
pktmon start -c --comp nics -f dns-test.etl
Step 3: Reproduce the problem and check counters
Now do the thing that fails: launch the game, open the website, connect the app. While the capture is running, Microsoft suggests querying the counters to confirm the expected traffic is present and get a high-level view of how it flowed through the machine:
pktmon counters
If the counters stay at zero, either your filter doesn't match the traffic you expected or the app isn't sending anything at all, which is a useful clue in itself. If you suspect your firewall, compare with our guide on how to block or allow an app in Windows Firewall.
Step 4: Stop and convert the log
Stop all data collection with:
pktmon stop
pktmon writes logs in ETL format. You have two main ways to read them.
As text: convert the log with
pktmon etl2txt dns-test.etl
Microsoft says packet data in the text output is shown in TCPDump format. Each packet appears several times, once for each point in the stack where it was seen. Packets with the same PktGroupId and PktNumber are the same packet, and the Appearance value counts up for each snapshot. For dropped packets, the word "drop" appears before the relevant lines, along with a dropReason. The component list and active filters are printed at the bottom of the log.
For Wireshark: convert to pcapng with
pktmon etl2pcap dns-test.etl --out dns-test.pcapng
Microsoft notes some important limits of pcapng output. Dropped packets aren't included by default, and the pcapng format can't distinguish a flowing packet from a dropped one, or show which component captured a packet. Its suggestion is to make two files, one with all packets and one with only drops:
pktmon etl2pcap dns-test.etl --out all.pcapng
pktmon etl2pcap dns-test.etl --drop-only --out drops.pcapng
You can also limit the conversion to one component with --component-id <id>. Open the result in Wireshark or any other pcapng analyser.
Tidy up afterwards
When you've finished, run pktmon filter remove so old filters don't confuse the next capture, and delete capture files you no longer need.
Where pktmon fits
pktmon is excellent for "is the traffic leaving, arriving or being dropped?" questions. It won't tell you about latency along the internet path; for that, Windows' tracert and pathping commands are the better tools, and our high ping and packet loss fixes cover the wider checklist. To see what else is on your home network, read how to see devices on your network in Windows 11, and for more free utilities see our best free network troubleshooting tools.