Pcornel
Browse topics
Options
Recent
Favorites
Windows · Technical reference

Network Troubleshooting · Windows Networking

Direct 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.

When to use this

Use this topic as the starting method when Windows reports 'no Internet', an application cannot connect, one destination/protocol fails, behavior differs by interface/address family, or resets have not solved the problem.

First 30 seconds

1. Get-NetAdapter — link?

2. Get-NetIPConfiguration — address/gateway/DNS?

3. Test-NetConnection <gw>, then <dest> -Port <p>.

4. Resolve-DnsName <name>.

5. Firewall/proxy/VPN on the host.

Operational verification

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

Evidence · next step

Collect the layer-specific evidence for the first failed boundary and test one hypothesis at a time.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

Avoid netsh resets, adapter reinstalls, DNS/ARP flushes and firewall disablement as first actions. They can hide transient state, widen the change surface and make root-cause evidence disappear.

Platform / version applicability
Windows networking and network services
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformWindows networking and network services · Windows / Windows Server / PowerShell
Key commandnetsh winhttp show proxy
Scope / prerequisiteUse this topic as the starting method when Windows reports 'no Internet', an application cannot connect, one destinatio…
Verify · 1Reference · 1
What next?3 suggested next steps
Catalog command links2
Evidence1
On this pageJump to a specific section
Windows command reference

Primary Commands

Configuration and operational commands for this Topic.

Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

3 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

At every step ask what the observation shows and does not show. When route and neighbor are healthy but packets never leave, inspect local filtering/stack. When packets leave and no replies return, move to upstream/return path. When TCP connects but the application fails, move above transport.

Step 2 Known-good, broken and when it is fixed Verify boundary

Known-good means the intended adapter is up, effective IP/route/DNS state matches design and the original protocol/port transaction reaches the expected remote service with stable path behavior. Broken evidence is wrong address/gateway, unexpected route/interface, unresolved neighbor, DNS divergence or policy/listener rejection. The limit of what it shows requires the original application flow; interface Up or ping success alone is insufficient.

Step 3 Native failure isolation and next-check logic Narrow the fault

Start with interface state and effective address/gateway/DNS, then inspect route selection for the exact destination. If the route is correct but local-subnet reachability fails, inspect neighbor/ARP and link/VLAN; if IP works but names fail, branch to DNS; if TCP service fails while path is reachable, inspect Windows Firewall and remote listener. For VPN/virtualization hosts, compare routing/interface metrics before flushing caches. Test from the same application/source context as the incident.

Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • 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.
Key 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
ReferenceWhat it is1 section · depth on demand

Core model

Start by converting 'network is down' into one testable flow. Record timestamp, source interface/address, target FQDN/IP, address family, transport and port. Then walk the local Windows path in order rather than changing multiple settings.

and state what the evidence does not show.

ReferenceHow it works1 section · depth on demand

How it works

Windows network reachability crosses interface/link state, IP configuration, route selection, neighbor resolution, DNS, firewall/profile policy and the remote service. Multiple adapters, VPNs and virtual switches can change route metrics and DNS registration unexpectedly. A successful ping only shows ICMP for that source/path and a failed ping may be policy rather than connectivity, so preserve destination, protocol/port and selected source/interface.

ReferenceImportant terms & boundaries3 sections · depth on demand

Windows boundary

Use differential evidence carefully: numeric IP vs name, IPv4 vs IPv6, local vs remote, one port vs another, working host vs failing host. Each comparison should change one variable and preserve the rest.

In depth

Capture on the host without installing anything

Packet Monitor (pktmon) is built into current Windows and Windows Server. Microsoft's Pktmon page describes adding filters, watching counters and formatting the ETL log.

C:\> pktmon filter add WebFlow -i 10.20.0.15 -t TCP -p 443
C:\> pktmon start --capture --pkt-size 0 --file-name C:\Temp\web.etl
   ... reproduce the problem ...
C:\> pktmon counters
C:\> pktmon stop
C:\> pktmon etl2pcap C:\Temp\web.etl --out C:\Temp\web.pcapng
C:\> pktmon filter remove

Open the .pcapng in Wireshark. Without a filter, a busy server writes large files quickly — always filter on the flow you investigate.

Why counters matter

pktmon counters shows packets per network stack component (NIC, vSwitch, filter drivers). A packet that appears at the NIC but disappears before TCP/IP points to a filter driver (VPN, security agent, Hyper-V switch extension) dropping it — something a capture on another device cannot show. pktmon start --capture --comp nics limits capture to physical NICs.

Alternative: netsh trace

netsh trace start capture=yes scenario=NetConnection tracefile=C:\Temp\net.etl maxsize=512
netsh trace stop

netsh trace also collects component traces (WinHTTP, DNS client, NDIS) useful for Microsoft support cases.

Reading a TCP failure in the capture

PatternMeaning
SYN, no answer, retransmissionsDropped on the path or by the server firewall
SYN → RSTPort closed on the server
Handshake OK, then RST from a middle boxProxy/IPS/firewall policy
TLS ClientHello, no ServerHelloTLS inspection or SNI-based blocking
Large packets retransmitted, small ones workMTU / fragmentation problem on the path

Capture at both ends when possible; comparing what left with what arrived locates the drop.

*The pktmon and netsh trace commands demonstrate a capture workflow; no actual packet trace is supplied.*

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

Method

Windows network troubleshooting proceeds from the local configuration outward: adapter, IP configuration, gateway, DNS, then the remote service.

Get-NetAdapter | Select-Object Name, Status, LinkSpeed
Get-NetIPConfiguration -Detailed
Test-NetConnection -ComputerName 10.20.4.1
Test-NetConnection -ComputerName app01.corp.example.com -Port 443 -InformationLevel Detailed
Resolve-DnsName app01.corp.example.com
Get-NetConnectionProfile
pktmon start --capture --comp nics -f C:\Temp\net.etl; pktmon stop; pktmon etl2pcap C:\Temp\net.etl
SymptomCheck
169.254.x.x addressDHCP failure
Can ping IP, not nameDNS servers, suffix, hosts file
Local works, remote failsGateway, routes, firewall
Port blockedWindows Firewall profile (Public vs Domain), network firewalls
IntermittentDuplicate IP, Wi-Fi roaming, NIC driver

pktmon (built in) captures packets without installing Wireshark on servers.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docWindows networking and network services current

Authoritative/upstream documentation reviewed for bounded claims in Windows Networking → Network Troubleshooting. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://learn.microsoft.com/en-us/windows-server/networking/ · confidence 94%
Terminology layer

Terms & aliases

Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.

Aliases that resolve here
windows networking troubleshootingwindows network first failed boundarywindows connectivity troubleshooting methodwindows network evidence
Embedded reference data

Quick lookup tables

Windows Networking → Network Troubleshooting reference map

Fast lookup boundaries for Windows Networking → Network Troubleshooting.

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
Confirmation

Confirm action

Continue?