"Ethernet Doesn't Have a Valid IP Configuration" Fix

Windows says your wired connection has no valid IP configuration. Here is what that means and how to fix it, starting with the quickest steps.

Short answer

Restart your router and modem (unplug them for 30 seconds), then restart the PC: this fixes it most often. If not, check the cable is in a LAN port, then run netsh winsock reset, netsh int ip reset, ipconfig /release and ipconfig /renew in an administrator Command Prompt and restart. Also make sure IP assignment is set to Automatic (DHCP) in Settings > Network & internet > Ethernet.

In this article 10 sections
  1. What the message means
  2. Fix 1: Restart the router, modem and PC
  3. Fix 2: Check the cable and the port
  4. Fix 3: Run the network troubleshooter
  5. Fix 4: Reset the network settings with commands
  6. Fix 5: Make sure the IP address is set to automatic
  7. Fix 6: Reinstall the network adapter driver
  8. Fix 7: Network reset (last resort)
  9. When to get help
  10. Common questions
Ethernet (RJ-45) socket on the side of a laptop
The Ethernet socket on a laptop. A loose cable here is one of the first things to check. Photo: Pittigrilli / Wikimedia Commons, CC BY-SA 4.0

You plug in a network cable, Windows shows a "No internet" icon, and the network troubleshooter reports "Ethernet doesn't have a valid IP configuration". It sounds technical, but the cause is usually simple, and most people fix it in a few minutes without changing any advanced settings.

What the message means

Every device on your home network needs an IP address, which works like a house number. Normally your router hands one out automatically, using a system called DHCP. This error means Windows asked for an address over the cable and did not get a usable one.2,8

When no answer comes back, Windows gives itself a temporary address beginning 169.254. That address only works between computers on the same cable, not for reaching the internet, and Windows keeps asking the router for a proper one every few minutes.5 If you run ipconfig and see an address starting 169.254, the router never answered.3,5

Common causes are a router that needs a restart, a loose or damaged cable, a network adapter driver that has gone wrong, or an IP address that someone set by hand.8,9

Fix 1: Restart the router, modem and PC

This clears up the problem more often than anything else. Microsoft suggests restarting your equipment in this order:1

  1. Unplug the router, then the modem (they may be one box). If the modem has a backup battery that keeps its lights on, take the battery out.

  2. Wait at least 30 seconds.

  3. Plug the modem back in and wait until its lights stop flashing.

  4. Plug the router back in and give it a few minutes to start up.

  5. Restart your PC.

Fix 2: Check the cable and the port

Make sure the cable clicks firmly into the PC and the router. On the router, use one of the numbered LAN ports, not the port marked Internet or WAN, which connects to your modem. If you have a spare cable, try it.1

Then go to Settings > Network & internet and look at the status at the top. It should say Connected. If it shows an error such as "Action needed", select Ethernet to see more detail.1

If Wi-Fi works on the same PC, the internet connection itself is fine and the problem lies with the cable, the port or the PC's wired adapter.1

Fix 3: Run the network troubleshooter

On Windows 11, Microsoft now points people to the Network and Internet troubleshooter in the Get Help app, which replaced the older built-in troubleshooters.1,6 Windows 10 still has the older troubleshooters: search Settings for "Troubleshoot" and look under Other troubleshooters.6,7

Troubleshooters run a series of automatic checks and suggest or apply fixes for common problems.7

Fix 4: Reset the network settings with commands

These commands clear out old network settings and ask the router for a fresh address. They do not delete your files.1,3,4

  1. Select Start, type Command Prompt, then choose Run as administrator and select Yes.

  2. Type netsh winsock reset and press Enter.

  3. Type netsh int ip reset and press Enter.

  4. Type ipconfig /release and press Enter.

  5. Type ipconfig /renew and press Enter.

  6. Type ipconfig /flushdns and press Enter.

  7. Restart the PC.

What they do: /release gives up the current address, /renew asks the router for a new one, and /flushdns empties the list of website addresses Windows has remembered.3 The winsock reset puts a core part of Windows networking back to a clean state, which can undo damage left by some VPN or security software.4 Restarting afterwards makes sure the changes take effect.8,9

Note that ipconfig /renew only works when the adapter is set to get its address automatically, which is the next check.3

Fix 5: Make sure the IP address is set to automatic

If someone typed in an IP address by hand, perhaps for an old router or a work network, it may no longer match your router. On Windows 11:2

  1. Go to Settings > Network & internet > Ethernet and select your Ethernet network.

  2. Next to IP assignment, select Edit.

  3. Under Edit IP settings, choose Automatic (DHCP), then select Save.

Microsoft recommends the automatic setting for most home networks.2

Fix 6: Reinstall the network adapter driver

A damaged driver can stop the adapter talking to the router. Because your PC may be offline, first download the latest network driver from your PC maker's website on another device and copy it over on a USB stick.1

  1. Right-click Start and open Device Manager.

  2. Expand Network adapters, right-click your Ethernet adapter and select Uninstall device.

  3. Tick Attempt to remove the driver for this device, then select Uninstall.

  4. Restart the PC. Windows should reinstall the driver by itself. If it does not, install the copy you saved.1

Some guides also suggest turning off Fast Startup in Power Options, then restarting, if the error keeps coming back.9

Fix 7: Network reset (last resort)

On Windows 11, go to Settings > Network & internet > Advanced network settings > Network reset, then select Reset now. The PC restarts, and every network adapter is removed and reinstalled with its default settings.1

What a network reset removes

A network reset wipes saved network settings. You may need to reinstall VPN software afterwards, and your home network may switch to "Public", so you may want to set it back to Private.1

When to get help

Try another computer on the same cable and router port. If that one connects, the fault is in your PC; if neither connects, the problem is more likely the router, the cable or your broadband provider.1 If every device on your router has lost the internet, contact your provider. For related problems, see our guides on Wi-Fi that says connected but no internet, the DNS_PROBE_FINISHED_NXDOMAIN error and our slow internet checklist.

Common questions

Will these fixes delete my files?

No. The commands and settings above change network settings only. A network reset does remove saved network settings and some VPN setups, so note them down first.1,4

I get the same message for Wi-Fi. Is it the same problem?

Yes, "Wi-Fi doesn't have a valid IP configuration" has the same causes, and the same steps apply: restart the router, renew the address and check the driver.8 If your laptop cannot see any networks at all, try our guide to Wi-Fi not showing on a laptop.

Sources and further reading

  1. Fix Ethernet connection problems in Windows — Microsoft Support2026-11-26
  2. Essential network settings and tasks in Windows — Microsoft Support2026-05-04
  3. ipconfig — Microsoft Learn
  4. netsh winsock — Microsoft Learn2025-08-12
  5. How to use automatic TCP/IP addressing without a DHCP server — Microsoft Support
  6. Deprecation of Microsoft Support Diagnostic Tool (MSDT) and MSDT troubleshooters — Microsoft Support
  7. Microsoft kills off Windows 11's troubleshooters – so where can you turn for help? — TechRadar2023-09-08
  8. How to fix "Wi-Fi doesn't have a valid IP configuration" — How-To Geek2022-05-17
  9. Ethernet doesn't have a valid IP configuration – how to fix in Windows 10 — freeCodeCamp2021-11-17

Was this article helpful?

Tell us where you got stuck

Didn’t work? Tell us which step went wrong. We read every note and use them to fix and improve this guide.

Private. This goes only to the ByteExplained editors with the guide’s title. It isn’t published on the site.

Please don’t include passwords, QR or activation codes, or identifiers such as your phone number, EID or IMEI.

Comments

No comments yet. Questions and tips from readers are welcome.