“Wi-Fi Doesn’t Have a Valid IP Configuration” on Windows 11: 9 Fixes

You click the Wi-Fi icon, it says you are connected, yet nothing loads. You run the Windows network troubleshooter and it comes back with a line that sounds technical but tells you very little: “Wi-Fi doesn’t have a valid IP configuration.” Annoying, especially when your phone is happily browsing on the same network.

The good news is that this error is almost never a hardware fault. It simply means your laptop and your router failed to agree on an IP address, which is the number your PC needs before it can talk to anything on the internet. Below are nine fixes for the valid IP configuration error, in the order I would try them, starting with the quick ones.

What the “valid IP configuration” error actually means

When your laptop joins a Wi-Fi network, it asks the router for an IP address using a system called DHCP. The router hands one out, and your PC uses it for the session. If that handshake fails, Windows falls back to a placeholder address that starts with 169.254. That address works for nothing, so the troubleshooter flags it as invalid.

The usual culprits are a router that has been running for weeks and got confused, an old address that Windows refuses to let go of, a buggy Wi-Fi driver after an update, or a manual network setting that someone changed and forgot about.

1. Restart the router and the PC (properly)

It sounds too simple, but it clears the problem more often than anything else on this list. Unplug the router from the wall, wait a full 30 seconds, then plug it back in and give it two or three minutes to come back up. While it boots, restart your PC with Start > Power > Restart, not Shut down. Windows 11 uses Fast Startup, so a shutdown does not fully reset the network stack, while a restart does.

2. Forget the network and reconnect

If Windows saved bad settings for this particular network, forgetting it gives you a clean start.

  1. Open Settings > Network & internet > Wi-Fi.
  2. Click Manage known networks.
  3. Find your network and click Forget.
  4. Connect again from the Wi-Fi icon on the taskbar and type the password.

Not sure of the password? Our guide on how to find your Wi-Fi password shows how to pull it from your phone before you forget the network.

3. Release and renew your IP address

This forces Windows to drop the address it has and ask the router for a fresh one. Right-click the Start button, choose Terminal (Admin), and run these commands one at a time:

ipconfig /release
ipconfig /renew

Your connection will drop for a moment after the first command. That is normal. Once the second one finishes, look for an IPv4 address in the output. If it starts with 192.168 or 10., you are back in business. If it still starts with 169.254, keep going.

4. Reset Winsock and the TCP/IP stack

Winsock is the part of Windows that handles network requests for your apps. It can get corrupted by VPN software, old antivirus tools or a bad update. In the same admin Terminal window, run:

netsh winsock reset
netsh int ip reset
ipconfig /flushdns

Restart the PC after running these. Skipping the restart is the most common reason people think this fix did not work.

5. Make sure Windows is getting an address automatically

Sometimes the IP address was set by hand at some point, maybe by a previous owner or for a work network, and it no longer matches your router.

  1. Go to Settings > Network & internet > Wi-Fi and click your network’s Hardware properties.
  2. Next to IP assignment, click Edit.
  3. Set it to Automatic (DHCP) and save.

Do the same for DNS server assignment if it is set to manual and you did not set it yourself on purpose.

6. Update or roll back the Wi-Fi driver

Driver problems are a big cause of this error, especially right after a Windows update. Open Device Manager, expand Network adapters, and right-click your Wi-Fi adapter (it usually has Wireless, Wi-Fi or 802.11 in the name).

  • If the problem started after an update, choose Properties > Driver > Roll Back Driver if that button is available.
  • Otherwise, download the latest driver from your laptop maker’s support page using a phone hotspot or Ethernet cable, and install it.

We have a full walkthrough on how to update drivers in Windows 11 the safe way if you have not done it before.

7. Uninstall the adapter and let Windows reinstall it

If updating did nothing, a clean reinstall often does. In Device Manager, right-click the Wi-Fi adapter, choose Uninstall device, confirm, then restart the PC. Windows detects the hardware on boot and installs a fresh copy of the driver. Do not tick the box to delete the driver software unless you already have a replacement driver downloaded.

8. Check for too many devices on the router

Routers have a limited pool of addresses to hand out. In busy homes with phones, TVs, smart plugs, cameras and consoles, that pool can run dry, and the newest device to ask simply gets nothing. Log in to your router’s admin page (the address is usually printed on its label) and look at the DHCP settings. Increasing the address range, or disconnecting a few devices you no longer use, often clears it up instantly.

9. Run a full network reset

This is the last resort before you blame the hardware. It removes and reinstalls every network adapter and puts all network settings back to default. You will need to re-enter Wi-Fi passwords and reinstall any VPN software afterwards.

  1. Open Settings > Network & internet > Advanced network settings.
  2. Click Network reset.
  3. Click Reset now and confirm. Your PC restarts after five minutes.

Microsoft explains what the reset does in more detail on its Windows support site.

Still not working?

If you have done everything above and the error is still there, test the laptop on a different network, like a phone hotspot. If it connects fine elsewhere, the problem is your router, and a firmware update or factory reset of the router is the next step. If it fails everywhere, the Wi-Fi card itself may be on its way out, and a cheap USB Wi-Fi adapter is a quick way to confirm that before paying for a repair.

For other connection headaches, see our guide to Wi-Fi connected but no internet on Windows 11, which covers a lot of related ground.

Quick recap

Most people fix the valid IP configuration error with a proper router restart, a forget-and-reconnect, or the release and renew commands. If those fail, reset Winsock, check that IP assignment is automatic, and sort out the Wi-Fi driver. Network reset is there as the final hammer. Work through them in order and you will very likely be back online in under 15 minutes.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top