Pcornel
Windows · Windows Networking

Network Troubleshooting

Cheat sheet · https://pcornel.dk/topic.php?topic=3073

Back to the Topic

Answer

Windows Networking Troubleshooting is the evidence-first method for isolating a Windows endpoint connectivity failure across adapter/link, IP configuration, route selection, neighbor resolution, DNS/address-family choice, filtering, transport and remote service boundaries.

Remember

  • Define one failing flow: source, destination, address family, protocol and port.
  • Name resolution, IP forwarding and application service are separate chains.
  • A successful ping proves only the tested ICMP path, not TCP/UDP/application success.
  • The first failed boundary is more valuable than a long list of random resets.
  • Preserve before-state and compare a working flow/host only with matching context.

First checks

  • Get-NetIPConfiguration — addresses, gateway and DNS per interface
  • Get-NetAdapter — adapters, status and link speed
  • Get-NetRoute -AddressFamily IPv4 — routes and metrics
  • Test-NetConnection <host> -Port <p> — ping, route and TCP port test
  • ipconfig /all — full IP configuration

Commands

netsh winhttp show proxy
Shows the machine-wide WinHTTP proxy used by system services such as Windows Update.
netstat -ano
Lists all TCP and UDP connections and listening ports, with the process ID that owns each one.

Verify in this order

link → IP → gateway → route → DNS → port → application

Where it usually breaks

First mismatch in host/interface identity → local config/routing/name state → Windows service/provider → firewall/security/session → remote service → application-visible exchange; preserve identity/native error/pre-state before mutation.

Windows Networking → Network Troubleshooting reference map

BoundaryMeaningEvidence limit
LinkAdapter/media stateonly local attachment
IP/routeSource and forwarding intentnot path completion
NeighborFirst-hop L2 resolutionnot gateway forwarding
TransportTCP/UDP behaviornarrows host/service boundary
ApplicationUser-visible transactionrequires full dependency chain

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3073

Confirmation

Confirm action

Continue?