When a Windows laptop or PC stops connecting to Wi-Fi, the fix is usually one of three things: a driver problem, a corrupted network stack, or a setting such as airplane mode or power saving. The steps below go through the troubleshooter, the driver, a network reset and a TCP/IP reset. This guide adds the checks to run first, fixes the broken ipconfig commands, gives the Windows 11 menu paths, and explains how to install the right driver from the manufacturer.
Step 1
-Press Windows key + X
-Go to Settings
-Click Update and Security
-Click Troubleshooter then Additional troubleshooter.
-Look for Internet Connection and run the troubleshooter.
Step 2
Once done proceed with these steps.
-Press Windows key + X
-Go to Device Manager
-Expand the Network Adapters
-Look for the Wireless driver that was installed
-Right click and Update
-Look for “Browse my computer for driver
-Let me pick drivers available drivers
-Choose an old driver and use it.
Step 3
Reset Network Settings
Open Settings.
Click on Network & Internet.
Click on Status.
Under the “Change your network settings” section, click the Network reset option.
Click the Reset now button.
Click the Yes button.
Step 4
-Click Start, type CMD and run as administrator
-Copy and paste each of the commands below and hit enter.
netsh int ip reset
netsh advfirewall reset
netsh winsock reset
ipconfig / flushdns
ipconfig / release
ipconfig / renew
Step 5
Once you entered all those commands restart your computer and try to connect.
If issue persist, let’s download the updated driver from the manufacturers website.
What is the exact model of your computer?
To check the system model proceed with these steps.
-Press Windows key + R
-Type msinfo32 and hit enter.
-Look for the System Model and post it here.
Find the cause before you reset anything
The steps above work through fixes from lightest to heaviest. Before you start, spend two minutes finding out which layer is broken. Is the adapter missing? Is it present but not connected? Is it connected with no IP address? Or does it have an IP address but websites still won't load? Each answer points to a different fix, and you may not need the reset at all.
- Check the physical basics. Make sure airplane mode is off (Action Center or Quick Settings) and that any hardware Wi-Fi switch or function key is on. Then check whether other devices can use the same Wi-Fi network.
- Open Command Prompt or PowerShell and run the diagnostic commands below.
- Compare what you see with the symptom table in the next section, then go straight to the matching fix.
netsh wlan show interfaces
netsh wlan show drivers
ipconfig /all
ping 127.0.0.1
ping <your-default-gateway>
ping 8.8.8.8
nslookup www.microsoft.comCode language: HTML, XML (xml)
netsh wlan show interfaces shows the connection state, SSID, signal strength and radio type. netsh wlan show drivers shows the adapter name, driver version and driver date, which you will need if you download a driver. ipconfig /all shows whether DHCP gave the adapter a valid address, gateway and DNS servers. The ping tests check each hop in turn: the local stack, then the router, then the internet. nslookup checks name resolution.
Note: Run netsh wlan show wlanreport from an elevated prompt to create an HTML report of recent Wi-Fi sessions, disconnects and errors. Windows saves it to C:\ProgramData\Microsoft\Windows\WlanReport\wlan-report-latest.html.
Match the symptom to the fix
| Symptom | Likely cause | Fix |
|---|---|---|
| No Wi-Fi icon, adapter missing from Device Manager | Adapter disabled in BIOS/UEFI, hardware switch off, or driver not installed | Check the BIOS/UEFI wireless setting, run Action > Scan for hardware changes in Device Manager, and install the manufacturer driver |
| Adapter shows a yellow warning icon (Code 10, 43 and similar) | Driver failed to start or the device reported a fault | Roll back or reinstall the driver; if that fails, the hardware may be faulty |
| No networks listed, but other devices see them | Radio off, wrong band or region setting, or driver bug | Turn Wi-Fi off and on, check the adapter's Advanced properties, update the driver |
| Connected, but IP address starts with 169.254 | DHCP failed (APIPA address) | Run ipconfig /release and ipconfig /renew, restart the router, forget the network and reconnect |
| Ping to 8.8.8.8 works but websites fail | DNS problem | Run ipconfig /flushdns or set a different DNS server on the adapter |
| Wi-Fi drops after sleep or every few minutes | Power management turning the adapter off, or roaming or driver issues | Turn off power saving on the adapter (see below) and update the driver |
| Problem started right after a Windows or driver update | Regression in the new driver | Use Roll Back Driver, as covered below |
Corrected TCP/IP and Winsock reset commands
In the Step 4 example above, the ipconfig commands have a space between the slash and the switch (ipconfig / flushdns). With that space, ipconfig does not recognise the option and just prints its usage text. The switch must come directly after the slash. Run these commands from an elevated Command Prompt (right-click Command Prompt, then Run as administrator):
ipconfig /release
ipconfig /flushdns
netsh winsock reset
netsh int ip reset
ipconfig /renew
shutdown /r /t 0
ipconfig /releasegives up the current DHCP lease, andipconfig /renewasks for a new one.ipconfig /flushdnsclears cached DNS lookups, including stale or poisoned entries.netsh winsock resetresets the Winsock catalog. This fixes damage caused by old VPN clients, proxies or security software that hooked into the network stack.netsh int ip resetresets TCP/IP settings back to their defaults.- Winsock and TCP/IP resets only take effect after a restart, so the last line reboots the machine straight away.
Note: netsh advfirewall reset from the original list puts Windows Defender Firewall back to its default policy and deletes every custom rule. Only run it if you suspect the firewall is blocking traffic. On a managed corporate machine, group policy will usually reapply the rules anyway. Export the current policy first with netsh advfirewall export C:\fw-backup.wfw.
Menu paths on Windows 10 and Windows 11
The menu paths in the steps above are for Windows 10. Windows 11 moved several of these settings:
| Task | Windows 10 | Windows 11 |
|---|---|---|
| Network troubleshooter | Settings > Update & Security > Troubleshoot > Additional troubleshooters > Internet Connections | Settings > System > Troubleshoot > Other troubleshooters > Network and Internet |
| Network reset | Settings > Network & Internet > Status > Network reset | Settings > Network & internet > Advanced network settings > Network reset |
| Device Manager | Win + X > Device Manager | Win + X > Device Manager |
In recent Windows 11 releases, Microsoft retired the older built-in troubleshooters and replaced them with the Get Help app. If the troubleshooter link opens Get Help, that is the expected behaviour, and the network diagnostics run from there.
Note: Network reset removes and reinstalls every network adapter, including virtual adapters from VPN clients, Hyper-V, VirtualBox and Docker. Afterwards you may need to reconnect to Wi-Fi with the password and reinstall or reconfigure VPN software. Windows restarts automatically a few minutes after you confirm, so save your work first.
Roll back, reinstall or update the driver properly
Step 2 above has you pick an older driver by hand through Browse my computer for drivers > Let me pick from a list of available drivers on my computer. That works, but if the problem started after an update, the cleaner route is a rollback:
- Press Win + X and open Device Manager.
- Expand Network adapters, right-click the wireless adapter (it usually has Wireless, Wi-Fi or 802.11 in the name) and choose Properties.
- On the Driver tab, click Roll Back Driver if it is available. The button is greyed out when no previous driver is stored.
- If you can't roll back, choose Uninstall device and tick the option to delete the driver software if Windows offers it. Then restart, and Windows will reinstall a driver automatically.
- If the problem is still there, install the latest driver from the laptop or adapter manufacturer, as described below.
While the Properties window is open, go to the Power Management tab and untick Allow the computer to turn off this device to save power. This setting is a common cause of Wi-Fi that drops after sleep.
You can also check or restart the adapter from an elevated PowerShell prompt:
# List adapters and their status
Get-NetAdapter
# Show network-class devices and any in an error state
Get-PnpDevice -Class Net | Format-Table Status, FriendlyName
# Disable and re-enable the Wi-Fi adapter (use the Name shown by Get-NetAdapter)
Restart-NetAdapter -Name "Wi-Fi"
# Forget a saved network so you can reconnect cleanly
netsh wlan delete profile name="YourNetworkName"
Finding and installing the manufacturer driver
Step 5 above was written as a forum reply ("post it here"). For your own troubleshooting, you need two things: the system model, so you can find the right support page, and the wireless adapter model, so you pick the right driver from that page.
- Get the system model: press Win + R, type
msinfo32and read System Manufacturer and System Model. Or runGet-CimInstance Win32_ComputerSystem | Select-Object Manufacturer, Modelin PowerShell. - Get the adapter model and current driver version with
netsh wlan show drivers. - Download the Wi-Fi driver for your exact model and Windows version from the manufacturer's support site. A laptop vendor's driver may include customisations that a generic chipset driver lacks.
- If the Wi-Fi isn't working, download the driver on another device and copy it over on a USB drive, or connect with an Ethernet cable or phone USB tethering.
- Run the installer. If you only have an extracted driver folder with
.inffiles, install it from an elevated prompt with the command below, then restart.
pnputil /add-driver C:\Drivers\WiFi\*.inf /subdirs /install
Note: Only download drivers from the PC or chipset manufacturer, or through Windows Update. Third-party driver-updater tools and driver download sites are a common source of the wrong driver and of bundled malware.
When software fixes do not help
- Check the router. Restart it, check that it isn't filtering by MAC address, and check whether a 2.4 GHz-only adapter is trying to join a 5 GHz-only network.
- Check BIOS/UEFI. Make sure the wireless device is enabled, and look for a firmware update from the vendor.
- Boot a live Linux USB. If Wi-Fi works there, the problem is in Windows or the driver. If it fails there too, suspect the hardware.
- Use a USB Wi-Fi dongle or Ethernet. This keeps you working while you confirm whether the internal card or its antenna cables have failed.
Frequently asked questions
Why does ipconfig / flushdns not work?
The space between the slash and the switch stops ipconfig from recognising the option, so it prints its help text instead. Type it as ipconfig /flushdns with no space, and do the same for /release and /renew.
Will network reset delete my saved Wi-Fi passwords?
Network reset reinstalls all network adapters and puts networking components back to their defaults, so expect to reconnect to Wi-Fi networks and possibly re-enter their passwords. VPN clients and virtual switches may also need reinstalling or reconfiguring.
What does a 169.254.x.x IP address mean?
It is an automatic private (APIPA) address. Windows assigns it when it can't get an address from a DHCP server. Release and renew the lease, restart the router, or forget the network and reconnect.
Do I need to restart after netsh winsock reset?
Yes. The Winsock and TCP/IP resets only take effect after a restart, so reboot once you have run the commands.
Is netsh advfirewall reset safe to run?
It puts Windows Defender Firewall back to its defaults and removes all custom rules, so only run it when you suspect the firewall. Back up the policy first with netsh advfirewall export.
Related tutorials
- More Networking tutorials
- Network Engineer: Role Blueprint, Responsibilities, Skills, KPIs, and Career Path
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services โ all in one place.
Explore Hospitals