The 5 Windows commands that reveal where your internet broke

Windows says you are online, yet nothing loads. This guide shows how ipconfig, ping, tracert, nslookup, netsh, and PowerShell reveal the exact break, from adapter and gateway faults to DNS, routing, VPN, and port failures without guessing.

The 5 Windows commands that reveal where your internet broke
Listen to this article
Your browser doesn’t support HTML5 audio

A Windows PC can look totally fine, full Wi-Fi bars, “connected” status, everything, but then nothing actually loads. Like… your internet just decides to ghost you. Super annoying, especially when nothing looks broken.

Advertisment

Most of the time, your Wi-Fi isn’t the problem. The connection is “on,” but something deeper in the chain is failing quietly in the background, so Windows thinks you’re online when you’re basically not.

The fastest way to fix it is to stop guessing and start checking things step by step, like your adapter, IP address, gateway, internet route, DNS, and even app ports. Once you break it down like that, it goes from random rebooting and frustration to actually understanding what’s wrong and fixing it properly.

Start with the network adapter

Open PowerShell and run:

Get-NetAdapter

Get net adapter

The active Ethernet or Wi-Fi adapter should show a status of Up. A Disabled result means Windows has turned it off. Disconnected usually points to an unplugged cable, an inactive switch port, or Wi-Fi that is not connected to an access point.

Advertisment

For Wi-Fi details, use:

netsh wlan show interfaces

netsh

Check the connection state, Service Set Identifier (SSID), signal strength, and channel.

Check the IP address and gateway

Run:

ipconfig /all

infofig all

Focus on the active adapter. It should have a valid IPv4 address, a default gateway, and at least one Domain Name System (DNS) server.

An address beginning with 169.254 is an Automatic Private IP Addressing address. Windows assigns it when the Dynamic Host Configuration Protocol server does not provide an address.

Advertisment

Try requesting a new lease:

ipconfig /renew

infofig renew

A missing default gateway is another major warning. The PC may reach devices on the local network but cannot send traffic to the internet.

Test the connection in the right order

Begin with the local Transmission Control Protocol and Internet Protocol stack:

ping 127.0.0.1

ping 127

Then ping the default gateway shown by ipconfig:

ping 192.168.1.1

ping 192

Replace the example with the actual gateway address.

If the gateway replies, test an external IP address:

ping 8.8.8.8

Ping 8888

The result helps narrow the fault:

  • Request timed out means no reply returned, although a firewall may be blocking ping traffic.

  • Destination host unreachable means the PC or a router lacks a usable route.

  • General failure often points to a local adapter, firewall, virtual private network, or protocol-stack problem.

Advertisment

Separate DNS failure from internet failure

If the external IP responds but websites fail by name, test DNS:

nslookup example.com

nslookup

PowerShell users can run:

Resolve-DnsName example.com

resolve dnsname

A DNS timeout means the configured server did not answer. Clear stale cached records with:

ipconfig /flushdns

infofig flushdns

Check routing and web access

Trace the network path with:

tracert -d 8.8.8.8

Screenshot 2026-08-07 111607

A single row of asterisks is not always a fault. Some routers ignore trace requests while continuing to forward traffic.

Finally, test the port used by secure websites:

Test-NetConnection example.com -Port 443

Screenshot 2026-08-07 111633

If TcpTestSucceeded is True, the web service is reachable even when ping fails. The key is to find where communication stops. A failed gateway test points to the local network. A working gateway but failed external test suggests the router, modem, virtual private network, or internet provider. Working IP traffic with failed domain lookups points directly to DNS.

More For You

Forgot your Windows password? This command can change it in seconds

Google rebuilds Chrome security around AI agents and faster patches

Windows 11 Insider builds need a certificate update by August 11

This ChatGPT Image 2.0 anime test started simple, then the manga page took over 

Related Articles
Here are a few more articles:
Read the Next Article
Subscribe