Sub topic 16
Windows Network Symptoms and First-Line Checks
This chapter covers the network faults you will see on Windows clients and the order in which to check them. It assumes you know what an IP address, a default gateway, DNS and DHCP are. It also assumes you can open an elevated Command Prompt or PowerShell window. The chapter applies the troubleshooting method from the first chapter to network symptoms, and it follows the plan's link from methodology to Windows network symptoms.
Why a layered approach works
A network fault can sit in the cable or radio, in the adapter and its driver, in the IP configuration, in name resolution, or in the remote service. Testing in layers lets you split the problem in half with each check. Start near the machine and move outward. Stop at the first layer that fails.
Before you test anything, ask what changed. A new VPN client, a Windows update, a moved desk, or a changed password can each explain a fault. Then confirm the scope. Can other devices on the same network reach the internet? If they can't, the fault is probably not on this PC.
Common symptoms and what they mean
The exam describes symptoms rather than naming causes. Learn to map each one to the layer it points to.
| Symptom | Likely layer | Typical cause |
|---|---|---|
| Limited or no connectivity, address starts with 169.254 | IP configuration | The client could not reach a DHCP server and assigned itself an APIPA address |
| Connected to Wi-Fi, no internet | Gateway, ISP, or DNS | Router has no upstream link, or DNS is wrong |
| Internet sites load by IP but not by name | Name resolution | Bad DNS server entry or DNS failure |
| Can reach the internet but not local shares | Local network or profile | Network profile set to Public, discovery off, or firewall rule |
| Intermittent drops | Link or driver | Weak signal, bad cable, power management turning off the adapter |
| "IP address conflict" warning | IP configuration | Two devices share a static address |
| Wrong site or certificate warning | Time, proxy, or hosts file | Clock drift, a proxy setting, or a modified hosts file |
An APIPA address (Automatic Private IP Addressing) is a self-assigned address in the 169.254.0.0/16 range. It lets the PC talk to other APIPA hosts on the same link, but it will not reach the internet. Seeing one means DHCP failed.
First-line checks, in order
1. Check the physical and wireless link
Look at the link light on a wired port. For Wi-Fi, confirm that airplane mode is off and that the PC joined the right network. Open Network Connections (ncpa.cpl) and check that the adapter is enabled. A disabled adapter appears greyed out. Many laptops also have a function key that toggles the radio.
If the adapter shows a yellow warning icon in Device Manager, the cause is a driver issue. The driver chapter covers that in more detail.
2. Read the IP configuration
Run ipconfig /all and read four values: the IPv4 address, subnet mask, default gateway, and DNS servers.
- A 169.254.x.x address means DHCP failed.
- A valid address with no default gateway means the PC can only reach its own subnet.
- An address in the wrong subnet suggests a static setting left over from another network.
- A missing or wrong DNS server explains name failures.
3. Renew the lease
If the address is wrong or APIPA, ask DHCP again:
ipconfig /release
ipconfig /renewIf the renew fails with a message that no DHCP server could be reached, move to the cable, the switch port, or the wireless access point. Releasing the lease on a remote session drops the connection, so do not do it over a remote connection you depend on.
4. Test in layers with ping
Use ping against three targets in turn.
- The loopback address
127.0.0.1tests the local TCP/IP stack. - The default gateway tests the local network.
- A public IP address such as
8.8.8.8tests routing to the internet. - A hostname such as
www.example.comtests DNS.
The results point to a layer. If the gateway replies but the public address does not, the fault is at the router or beyond. If the public address replies but the hostname does not, the fault is DNS. Some hosts block ping, so a failed ping to one remote host alone proves little. Always compare with a second target.
5. Check and flush DNS
Stale name data causes sites to fail after a server moves. Clear the local resolver cache and test again:
ipconfig /flushdns
nslookup www.example.comnslookup queries a DNS server directly. If it fails against the configured server but works against a known public one, the configured DNS server is the problem. Also check the hosts file at C:\Windows\System32\drivers\etc\hosts. Malware and old software sometimes add entries that redirect names.
6. Trace the path
Use tracert to see where packets stop. Each line is a router hop. A run of timeouts after a certain hop shows where the path breaks, although some routers do not answer trace probes, so a few timeouts followed by normal hops are not a fault.
tracert 8.8.8.87. Reset the stack
If the configuration looks right but nothing works, reset the network components from an elevated prompt:
netsh winsock reset
netsh int ip resetRestart afterward. These commands reset the Winsock catalog and the TCP/IP settings to defaults. They can remove custom static settings and some VPN or security software hooks, so note the current settings before you run them. Windows also offers Network reset in Settings, which reinstalls adapters and resets all networking. Use it last.
Other causes of "no internet"
- Proxy settings. A leftover proxy can make browsers fail while
pingworks. Check Settings, Network & Internet, Proxy. - Network profile. A Public profile blocks discovery and file sharing. Set a trusted network to Private.
- Firewall. A rule can block one application while others work.
- VPN. A VPN client may reroute all traffic or override DNS. Disconnect it to test.
- Time drift. Certificates and some authentication fail when the clock is wrong. The time-drift chapter covers this.
- Power management. Windows can turn off the adapter to save power. In Device Manager, clear "Allow the computer to turn off this device to save power" on the adapter's Power Management tab.
Run the checks as a script
This PowerShell script runs the main layered checks and prints a short result. It uses built-in cmdlets only.
$gateway = (Get-NetIPConfiguration | Where-Object { $_.IPv4DefaultGateway } | Select-Object -First 1).IPv4DefaultGateway.NextHop
Write-Output "Adapters that are up:"
Get-NetAdapter | Where-Object Status -eq 'Up' | Select-Object Name, InterfaceDescription, LinkSpeed
Write-Output "IPv4 addresses:"
Get-NetIPAddress -AddressFamily IPv4 | Select-Object InterfaceAlias, IPAddress
if ($gateway) {
Write-Output "Gateway ($gateway) reachable: $(Test-Connection -ComputerName $gateway -Count 2 -Quiet)"
} else {
Write-Output "No default gateway found."
}
Write-Output "Public IP reachable: $(Test-Connection -ComputerName 8.8.8.8 -Count 2 -Quiet)"
try {
Resolve-DnsName -Name www.example.com -ErrorAction Stop | Select-Object -First 1 Name, IPAddress
} catch {
Write-Output "DNS resolution failed."
}Applying the methodology
Map the steps to the CompTIA method. Identify the problem by asking what changed and confirming the scope. Form a theory, such as "DHCP is not answering." Test it with ipconfig and a renew. Plan and implement the fix, for example repairing the cable or correcting the DNS setting. Verify that the full function works by loading a site and a shared resource. Finally, document what you found and did.
Choose the least destructive fix first. Renewing a lease and flushing DNS change little. A Winsock reset and a Network reset change much more, so they come later.
Exercise
A user's laptop shows "Limited connectivity." ipconfig /all lists the address 169.254.37.12 and no default gateway. Other laptops on the same Wi-Fi work. Name the most likely cause and the first two actions you would take.
Show answer
The laptop could not get an address from the DHCP server, so Windows assigned an APIPA address. First confirm the adapter is connected to the correct network and is enabled. Then run ipconfig /release and ipconfig /renew. If the renew still fails, reconnect to the network, check the driver, and try another access point or port.
Exercise
A PC pings 8.8.8.8 successfully, but a browser cannot open any website by name. Which layer is at fault, and which two commands help you confirm and fix it?
Show answer
Name resolution (DNS) is at fault, because routing to the internet works. Run nslookup www.example.com to confirm that the configured DNS server fails to answer, and ipconfig /flushdns to clear the cached resolver data. Also check the DNS server addresses in ipconfig /all.