Wi-Fi Doesn't Have a Valid IP Configuration: How to Fix It

Key takeaway

"Wi-Fi doesn't have a valid IP configuration" (or "Ethernet…") means Windows couldn't get a working IP address from your network, usually because the router's DHCP didn't answer. Run ipconfig: an address starting with 169.254 is one Windows gave itself (APIPA). Restart the router, forget and rejoin the network, then run Microsoft's reset commands; a network reset is the last step.

Check it now

Open Router Login
Wi-Fi doesn't have a valid IP configuration: a 169.254 address from Windows next to Microsoft's fixes in order
Wi-Fi doesn't have a valid IP configuration: a 169.254 address from Windows next to Microsoft's fixes in order
Start reading
  1. What Does "Doesn't Have a Valid IP Configuration" Mean?
  2. Check Your Address in 10 Seconds
  3. Is It the Router or This PC?
  4. How to Fix It, in Microsoft's Order
  5. "Ethernet Doesn't Have a Valid IP Configuration"
  6. Why It Keeps Coming Back
  7. Frequently Asked Questions

What Does "Doesn't Have a Valid IP Configuration" Mean?

Windows shows this when its network troubleshooter finds that your Wi-Fi or Ethernet adapter has no usable IP address. Without one, nothing on the internet can reach your PC, so you are connected to the network but can't get online.

On a home network your router hands out addresses using DHCP. When the router doesn't answer, Windows doesn't wait forever. Microsoft explains that "a Windows computer can assign itself an Internet Protocol (IP) address in the event that a DHCP server is not available or does not exist on the network". That feature is Automatic Private IP Addressing (APIPA), and the address it picks is always in 169.254.0.0 to 169.254.255.255. (Microsoft)

A 169.254 address is a sign, not the fault: it tells you the router never gave your PC an address.

Check Your Address in 10 Seconds

Open Command Prompt (search for cmd) and run:

Windows
ipconfig
How to read ipconfig for this error.
Your adapter's IPv4 AddressWhat it means
169.254.x.xWindows gave itself an address: the router's DHCP didn't answer
None, or the adapter shows "Media disconnected"The adapter isn't connected: check Wi-Fi, the cable or the adapter
A normal private address (192.168.x.x, 10.x.x.x) with a Default GatewayWindows has an address, so the problem is elsewhere: see our Wi-Fi connected but no internet guide

Our Subnet Calculator explains any address you see, including which special range it belongs to.

Is It the Router or This PC?

Microsoft's own troubleshooting includes this test: "try to connect to the same network on a different device".

If other devices also can't get online, the router (or the internet connection behind it) is the problem: restart it first. To look at its DHCP settings, log in to it: our Router Login finds its address and the default login for your model.

If only this PC fails, the problem is on the PC: its adapter, driver or network settings. Work through the fixes below.

How to Fix It, in Microsoft's Order

These follow Microsoft's own steps for Wi-Fi problems in Windows 11 and 10. Check after each one.

  1. Restart your modem and routerUnplug them, wait, and plug them back in. Microsoft: "This helps create a new connection to your Internet service provider (ISP)." Everyone on the network is disconnected for a moment.
  2. Forget and reconnect to the Wi-Fi networkSelect Settings > Network & internet > Wi-Fi > Manage known networks, select your network and Forget, then reconnect with the password.
  3. Run the network reset commandsOpen Command Prompt as administrator and run Microsoft's commands in this order (below). They reset the network stack and ask the router for a fresh address.
  4. Turn off power saving for the Wi-Fi adapterIn Device Manager, expand Network adapters, right-click your Wi-Fi adapter, choose Properties, open the Power Management tab and uncheck Allow the computer to turn off this device to save power.
  5. Reinstall the network adapter driverKeep a copy of the driver from the PC maker's site first. Then uninstall the adapter in Device Manager and restart: Microsoft says "Windows will automatically install the latest driver."
  6. Use Network reset, lastSettings > Network & internet > Advanced network settings > Network reset (Windows 11). Microsoft: "Using network reset should be the last step you try".
Run as administrator, in this order (Microsoft)
netsh winsock reset
netsh int ip reset
ipconfig /release
ipconfig /renew
ipconfig /flushdns

"Ethernet Doesn't Have a Valid IP Configuration"

The Ethernet version means exactly the same thing: the wired adapter got no address from the router. The same ipconfig check and fixes apply, with Wi-Fi's "forget the network" step replaced by the cable:

Try another cable and another port on the router. If the adapter shows "Media disconnected" in ipconfig, Windows doesn't see a working link at all, which points at the cable, the port or the adapter rather than DHCP.

Older versions of Windows call the wired adapter Local Area Connection, so "Local Area Connection doesn't have a valid IP configuration" is the same error.

Why It Keeps Coming Back

If the fixes work but the error returns, look at what changes over time:

  • The router's DHCP stalls again: update its firmware, and if it keeps happening, the router may need replacing.
  • Power saving turns the Wi-Fi adapter off and it doesn't come back cleanly: keep it switched off for that adapter (step 4).
  • A fixed (static) IP address set on the PC that doesn't match the network: set the adapter's IP assignment back to automatic (DHCP).
  • VPN or security software that adds its own network adapter: update or reinstall it after a network reset.

Can't find your router's login page?

DNS Robot's free Router Login finds your router's address, opens its admin page and lists the default login for your model, so you can check its DHCP settings.

Sources

  1. How to use automatic TCP/IP addressing without a DHCP server (APIPA), Microsoft
  2. Fix Wi-Fi connection issues in Windows, Microsoft
  3. ipconfig, Microsoft
  4. RFC 3927: Dynamic Configuration of IPv4 Link-Local Addresses, IETF

Frequently Asked Questions

What does "Wi-Fi doesn't have a valid IP configuration" mean?

Windows couldn't get a working IP address for your Wi-Fi adapter from the network, usually because the router's DHCP didn't answer. Without a valid address the PC is connected to the Wi-Fi but can't reach the internet. Run ipconfig: a 169.254 address confirms it.

What does a 169.254 IP address mean?

It's an address Windows gave itself because no DHCP server answered. Microsoft calls the feature Automatic Private IP Addressing (APIPA), and the 169.254.0.0 to 169.254.255.255 range is reserved for it. It works only between devices on the same network, never on the internet.

How do I fix it on Windows 11?

Restart your modem and router, forget and reconnect to the Wi-Fi network, then run netsh winsock reset, netsh int ip reset, ipconfig /release, ipconfig /renew and ipconfig /flushdns as administrator. If it still fails, reinstall the adapter driver, and use Network reset last.

How do I fix "Ethernet doesn't have a valid IP configuration"?

It's the same problem on the wired adapter. Restart the router, try another cable and router port, then run the same reset commands. If ipconfig shows "Media disconnected", Windows doesn't see a link at all, so check the cable, the port and the adapter first.

Is the problem my router or my PC?

Try the same network on another device, which is one of Microsoft's own steps. If other devices also can't get online, restart or check the router. If only this PC fails, the fault is its adapter, driver or network settings.

Will Network reset delete my settings?

It removes your network adapters and their settings, then reinstalls the adapters with default settings after a restart. Microsoft notes you might need to reinstall and set up other networking software, such as VPN client software, afterwards. That's why it's the last step.

Can a static IP address cause this error?

Yes. If an IP address was set by hand on the adapter and doesn't match your network, Windows has no valid configuration for it. Set the adapter's IP assignment back to automatic (DHCP) so the router can hand it a working address.

Why does it keep coming back?

Usually something that changes over time: the router's DHCP stalling again, Wi-Fi power saving turning the adapter off, or VPN or security software adding its own adapter. Update the router's firmware, turn off power saving for the adapter, and update that software.

About the author

Shaik Vahid

Founder of DNS Robot. Vahid spent years in web hosting support fixing domains, DNS records, SSL certificates and email delivery for customers. He builds DNS Robot's tools and writes these guides from the errors people actually hit.

Router Login

Open your router's admin page, fix address typos and find default logins by brand