How to Run Tracert: tracert vs pathping for Diagnosing Windows Network Routes

Use tracert first when you need a quick route map, then use pathping when you need proof of packet loss on each hop. On Windows, tracert traces a route by sending packets with increasing TTL values, so each router on the path can report back when the TTL expires [source: Microsoft].

TLDR: Run tracert example.com to see where traffic goes, then run pathping example.com if latency or packet loss needs closer inspection. For example, if 35 users in one office report slow access to a cloud app, tracert may show the route reaches the provider, while pathping may show 18% packet loss between hop 6 and hop 7. That points the blame away from the laptop and closer to an ISP or transit link. Start with speed, then move to evidence.

What tracert Does

tracert is the Windows command for tracing the route from your computer to a destination. The destination can be a domain name, an IP address, a server, or a public endpoint such as 8.8.8.8.

Open Command Prompt and run:

tracert example.com

Windows will list each hop between your machine and the target. A hop is usually a router or gateway. Each line normally shows:

  • Hop number, starting at 1.
  • Three round trip times, shown in milliseconds.
  • Router name or IP address, if it responds.

A basic result may look like this:

1     2 ms     1 ms     1 ms  192.168.1.1
2    12 ms    11 ms    13 ms  10.22.0.1
3    28 ms    29 ms    27 ms  isp-router.example.net
4    41 ms    39 ms    42 ms  target.example.com

This tells you that the target is reachable and that the route takes four hops. If hop 1 fails, your local network is suspect. If the route dies after your ISP gateway, the problem may be upstream.

Useful tracert Options

tracert is simple, but a few switches make it much more useful.

  • tracert -d example.com
    Skips DNS lookups. This is faster and avoids delays caused by reverse DNS.
  • tracert -h 20 example.com
    Limits the maximum hops to 20. The default is usually enough, but this helps with long or broken paths.
  • tracert -w 1000 example.com
    Sets the timeout to 1000 milliseconds per reply.
  • tracert -4 example.com
    Forces IPv4. Useful when IPv6 results confuse the test.
  • tracert -6 example.com
    Forces IPv6. Use this when testing IPv6 routing.

For a clean first test, try this:

tracert -d -w 1000 example.com

This gives a faster route view without waiting on slow DNS names.

How to Read tracert Without Fooling Yourself

Do not panic when you see asterisks. A line like this is common:

5     *        *        *     Request timed out.

It does not always mean traffic is blocked. Many routers rate-limit or ignore diagnostic replies. If later hops respond, traffic is still passing through or around that hop.

Also, high latency on one middle hop is not always a fault. Routers often give low priority to diagnostic packets sent to the router itself. What matters more is latency that continues from that hop onward.

It drives me crazy that a single scary timeout line can send people chasing the wrong device for an hour. Read the full path. Check the final destination. Compare with another target.

What pathping Does Differently

pathping combines route tracing with packet loss testing. It first discovers the route, then sends probes to each hop and calculates loss. That makes it slower, but more useful when the issue is intermittent.

Run it like this:

pathping example.com

Expect to wait. On longer routes, pathping can take several minutes because it gathers statistics for multiple hops. Honestly, it feels slow when you are on a call with an annoyed user, but the data is often worth it.

Microsoft lists pathping as a tool that reports packet loss at each router and link in the path [source: Microsoft].

Image not found in postmeta

tracert vs pathping: Which Should You Use?

Task Best Tool Reason
Check if a destination is reachable tracert Fast route view
Find where a route stops tracert Quick failure point
Prove packet loss pathping Per-hop loss statistics
Investigate random slowdowns pathping Shows loss over time
Run a fast help desk check tracert Returns results quickly

The practical rule is simple. Use tracert for direction. Use pathping for evidence.

Common Windows Network Route Scenarios

Scenario 1: The first hop fails.
If tracert cannot reach your default gateway, check Wi-Fi, Ethernet, VPN software, local firewall rules, and IP settings. Run:

ipconfig
ping 192.168.1.1

Replace 192.168.1.1 with your real gateway.

Scenario 2: The trace reaches the ISP, then stops.
This may be an ISP routing issue, a peering issue, or filtering by an upstream network. Test another destination, such as:

tracert 8.8.8.8
tracert 1.1.1.1

If both fail after the same ISP hop, collect screenshots or text output before opening a support ticket.

Scenario 3: The route completes, but the app is still slow.
Run pathping. Look for packet loss that continues to later hops. If hop 4 shows 30% loss, but hops 5 through 10 show 0%, hop 4 is probably just limiting replies. If hop 4 and every hop after it show similar loss, the link after hop 4 is more suspicious.

How to Save Results for Support

Do not send a photo of the screen unless there is no better option. Save the output to a text file instead:

tracert -d example.com > "%USERPROFILE%\Desktop\tracert.txt"

For pathping, use:

pathping example.com > "%USERPROFILE%\Desktop\pathping.txt"

This gives your network team clean data. It also gives your ISP less room to ask you to run the same test again.

Image not found in postmeta

Best Practices for Reliable Results

  • Test from the affected machine. A server room test may not match a user’s laptop.
  • Run tests during the problem. Clean results after the outage prove little.
  • Compare two destinations. One failed site may not mean a general network fault.
  • Disable VPN for a second test. VPN routes can change everything.
  • Use -d when speed matters. DNS lookups can slow the output.
  • Do not overreact to one timeout. Confirm with later hops and repeated tests.

Final Recommendation

Run tracert first because it is fast and clear. It shows whether traffic leaves the local network, crosses the ISP, and reaches the destination. Then run pathping when users report lag, drops, or random slowdowns that a plain route trace cannot explain.

A serious diagnosis needs both speed and proof. tracert gives you the route. pathping shows whether that route is healthy enough to trust.

Thanks for Reading

Enjoyed this post? Share it with your networks.