TroubleshootingWindows problems, diagnosed

Connected, no internet on Windows: what to check

An ordered diagnosis for Windows showing connected but no internet: find whether the router, the address, DNS or the PC is at fault before resetting anything.

  • Troubleshooting
  • 5 min read
Checkup’s Network reading, Needs attention: one network adapter connected with an address, packet errors negligible, but 0 of 3 well-known internet servers answered and the Windows connectivity test page did not load, with an Investigate in Repair button.
ScreenshotConnected, but no internet: the adapter is fine and nothing beyond it answers. Readings from the app’s demonstration computer. Ratherform for Windows, development build. Cropped to the Network reading.

Quick answer

Work from the outside in: other devices, then the router, then your PC’s address, then DNS. Each check rules out half of the possible causes.

  • An address starting 169.254 means the PC never got an address from the router; that is a different fix from a DNS problem.
  • If an IP address such as 1.1.1.1 answers but names do not, the problem is DNS, not your connection.
  • Network reset is the last step, not the first: it removes every adapter and saved setting, and VPN software may need reinstalling.

Step by step

  1. Test another device on the same network

    If a phone on the same Wi-Fi also has no internet, the problem is the router or the provider, not this PC. Skip to restarting the router.

  2. Restart the router and modem

    Turn both off, wait about 30 seconds, turn them on and wait until their lights settle. Then reconnect the PC.

  3. Read your PC’s address

    Open Terminal and run ipconfig. Find your Wi-Fi or Ethernet adapter and note the IPv4 address and Default Gateway.

    ipconfig
  4. Test each hop in turn

    Ping the default gateway (your router), then a public address, then a name. The first one that fails tells you where the problem is. Replace 192.168.1.1 with your own gateway.

    ping 192.168.1.1
    ping 1.1.1.1
    ping www.microsoft.com
  5. Apply the matching fix

    Use the table in this guide to match what failed to the fix. Only if nothing else helps, use Network reset.

“Connected, no internet” means your PC has a link to the network (Wi-Fi or a cable) but Windows could not reach the internet through it. The fault can be in four places: your internet provider, your router, your PC’s network settings, or name lookup (DNS). Testing them in order finds the right one quickly and avoids resetting things that were never broken.

You do not need to install anything. Every command below is built into Windows; only the fixes in the last table need an administrator terminal.

First: is it really offline?

Windows decides whether to show “No internet” by making a small test request in the background. Microsoft notes that a failed test does not always mean the PC cannot reach the internet: some networks block or intercept it.

So before diagnosing, open a browser and visit a site you use often.

  • It loads normally. Your connection works; the label is wrong. This is common behind some company networks, VPNs and filtering services. You can ignore it, or ask the network’s administrator.
  • A sign-in page appears (hotel, café, train, airport). That network requires you to accept terms or log in first. Complete it, then everything else works.
  • Nothing loads. Carry on below.

Step 1: rule the router in or out

Try another device on the same network. A phone is fine; turn its mobile data off so it uses Wi-Fi.

  • The other device is also offline: the router or the provider is at fault. Restart the router and modem (off, wait about 30 seconds, on). If it is still down, check your provider’s service status page from mobile data.
  • The other device works: the problem is on this PC. Continue.

Step 2: read the PC’s address

Open Terminal from the Start menu and run ipconfig. Under your Wi-Fi or Ethernet adapter, look at two lines.

A terminal showing ipconfig for a Wi-Fi adapter with the IPv4 address 192.168.1.23 and the Default Gateway 192.168.1.1 highlighted, beside three cards: a private address with a gateway means go to step 3; an address starting 169.254 means Fix A; no address means reconnect, then Fix C.
IllustrationWhat to read in ipconfig. Other lines left out; addresses are examples.
What ipconfig shows What it means Go to
IPv4 address like 192.168.x.x, 10.x.x.x or 172.16–31.x.x, with a Default Gateway The router gave the PC an address. The link is fine Step 3
IPv4 address starting 169.254 The PC asked the router for an address and got no answer Fix A
No IPv4 address, or “Media disconnected” The adapter is not connected Reconnect to the network; then Fix C

Step 3: test each hop

Run these three commands one at a time, using your own Default Gateway in the first:

ping 192.168.1.1
ping 1.1.1.1
ping www.microsoft.com

ping sends four small requests and reports replies. Request timed out or Destination host unreachable means no reply. Some sites and routers ignore ping on purpose, so treat a single failure as a clue, and confirm with the next test.

Four stops in a row: this PC, your router, the internet and name lookup. ping to the router and to 1.1.1.1 both reply; ping to www.microsoft.com cannot find the host, which points to name lookup and the command ipconfig /flushdns.
IllustrationThe three pings as a path. Here the router and the internet answer and the name does not, so Fix B comes first.
Gateway Public address 1.1.1.1 Name Most likely cause Fix
Fails Fails Fails Link between PC and router Fix C, then Fix A
Replies Fails Fails Router cannot reach the internet, or a VPN/firewall is blocking Restart the router; then Fix D
Replies Replies Fails (“could not find host”) Name lookup (DNS) Fix B
Replies Replies Replies The network works; an app, proxy or browser setting is at fault Fix D

The fixes, smallest first

Open the Start menu, type Terminal, right-click it and choose Run as administrator for these commands.

Fix A: get a fresh address. Ask the router for a new address:

ipconfig /release
ipconfig /renew

If you still get a 169.254 address, restart the router, then forget the network (Settings > Network & internet > Wi-Fi > Manage known networks), reconnect and re-enter the password.

Fix B: clear name lookup. Clear the PC’s cache of looked-up names:

ipconfig /flushdns

If names still fail while 1.1.1.1 replies, the DNS server your router hands out may be down. Restarting the router often fixes it; your provider’s status page will say if it is their fault.

Fix C: reset the network stack. These two commands restore Windows’ network components to their defaults. Restart the PC afterwards.

netsh winsock reset
netsh int ip reset

Fix D: remove what sits in between. Disconnect any VPN. Check Settings > Network & internet > Proxy and turn off a proxy you did not set up on purpose. If you recently installed security or VPN software, it may be filtering traffic; check its settings before uninstalling anything.

Last resort: Network reset

Settings > Network & internet > Advanced network settings > Network reset removes every network adapter and resets networking components, then restarts the PC. Saved Wi-Fi networks will need their passwords again, and Microsoft notes that VPN or virtualisation software may need to be reinstalled. Use it only when the steps above have not found the cause.

If it keeps coming back

A connection that drops and returns points at something intermittent: weak Wi-Fi signal, a power-saving setting turning the adapter off, or a driver problem. Note when it happens and what ipconfig shows at that moment. That record is what a support person, or the router’s manufacturer, will ask for first.

If you use Ratherform, its free Checkup reads the network adapter and whether well-known internet servers answer in about a minute, and changes nothing. It is part of the Ratherform app, which is in development with its public download pending.

Written by

Ratherform Editorial

Written and checked by the team that builds the app

The Ratherform guides are written by the people who build Ratherform and checked against the app itself and against each source we link. When a guide shows the app, the picture is a real screenshot of a development build, and when it describes another product, it links that product’s own page and says when it was checked.

Checked . Order of checks, commands and Settings paths checked against Microsoft Support and Microsoft Learn (Fix Wi-Fi connection issues, ipconfig, NCSI troubleshooting). No router or provider was tested.

Sources and further reading

  • support.microsoft.comMicrosoft recommends restarting the modem and router, testing another device, pinging the default gateway, running netsh winsock reset, netsh int ip reset, ipconfig /release, /renew and /flushdns from an administrator prompt, and Network reset (Settings > Network & internet > Advanced network settings > Network reset) as a last resort, after which VPN software may need reinstalling.
  • learn.microsoft.comThe Network Connectivity Status Indicator decides the internet status with a probe; a failed probe does not necessarily mean the computer cannot reach the internet.
  • learn.microsoft.comipconfig displays the IPv4 address and default gateway, and /release, /renew and /flushdns manage the DHCP lease and the DNS client cache.

Published . Last updated . Next review by .