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.
Network Troubleshooting · Windows Networking
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.
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.
link → IP → gateway → route → DNS → port → application
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
Operational reference
Fast context before you go deeper.
netsh winhttp show proxyPrimary Commands
Configuration and operational commands for this Topic.
netsh winhttp show proxyReferenceShows the machine-wide WinHTTP proxy used by system services such as Windows Update.
Use when: Windows Update, licensing or another service fails to reach the internet while the browser works.
Quick note: WinHTTP has its own proxy, separate from the user or browser proxy. Microsoft now recommends netsh winhttp show advproxy on newer Windows versions.
Windows / Windows Server / PowerShell · configuration · verifiesnetstat -anoVerifyLists all TCP and UDP connections and listening ports, with the process ID that owns each one.
Use when: You need to know which process listens on a port, or whether a connection is established.
Quick note: Match the PID with tasklist /fi "PID eq <pid>" or Get-Process -Id <pid>. Get-NetTCPConnection gives the same data in PowerShell.
Windows / Windows Server / PowerShell · state · verifiesVerification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
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 · 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.
- 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.
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
| Pattern | Meaning |
|---|---|
| SYN, no answer, retransmissions | Dropped on the path or by the server firewall |
| SYN → RST | Port closed on the server |
| Handshake OK, then RST from a middle box | Proxy/IPS/firewall policy |
| TLS ClientHello, no ServerHello | TLS inspection or SNI-based blocking |
| Large packets retransmitted, small ones work | MTU / 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.*
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
| Symptom | Check |
|---|---|
| 169.254.x.x address | DHCP failure |
| Can ping IP, not name | DNS servers, suffix, hosts file |
| Local works, remote fails | Gateway, routes, firewall |
| Port blocked | Windows Firewall profile (Public vs Domain), network firewalls |
| Intermittent | Duplicate IP, Wi-Fi roaming, NIC driver |
pktmon (built in) captures packets without installing Wireshark on servers.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
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%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.
Quick lookup tables
Windows Networking → Network Troubleshooting reference map
Fast lookup boundaries for Windows Networking → Network Troubleshooting.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Link | Adapter/media state | only local attachment |
| IP/route | Source and forwarding intent | not path completion |
| Neighbor | First-hop L2 resolution | not gateway forwarding |
| Transport | TCP/UDP behavior | narrows host/service boundary |
| Application | User-visible transaction | requires full dependency chain |