Trace the network route to a host on Windows (tracert)
Show every router hop between your machine and a destination with round-trip times, Windows' built-in traceroute equivalent.
01Command
$ tracert -d example.com02What it does
Windows calls it tracert, not traceroute, and it uses ICMP echo requests rather than the UDP packets classic traceroute sends, so some firewalls treat it differently. -d is the flag people forget: without it, every hop triggers a reverse-DNS lookup, which often dominates the runtime. -h 30 caps the hop count and -w 500 shortens the per-reply timeout when many hops silently drop ICMP.
03Risk
04Undo
✓No undo needed — this command does not change persistent state.
05Sources
- TRACERT - Windows CMDEvidence: SS64 lists tracert options including -d (no hostname resolution), -h maximum_hops, and -w timeout per reply.
- tracert | Microsoft LearnEvidence: Microsoft documents tracert as determining the path taken to a destination by sending ICMP echo requests with incrementing TTL values, and lists the -d flag to skip reverse DNS lookups.
Last verified: 2026-09-17 · Category: Network
06Related solutions
Purge cached DNS lookups so Windows re-resolves hostnames from scratch — the fix for 'the new server is live but my browser still hits the old one'.
A built-in PowerShell one-liner that answers 'is port 5432/3389/443 actually open through this network?' — no telnet client needed.
Display the IP-to-MAC address cache Windows built by talking to neighbors — a quick way to spot which devices are on your subnet.