Network · Windows 11
Fix a PC that forgets saved Wi-Fi networks or keeps asking for the Wi-Fi password
You retype the same Wi-Fi password every morning, Windows accepts it, and by the next restart it has forgotten it again. That loop is fixable, and it is rarely the password itself: the saved network profile, the service that keeps it, or the wireless driver is failing to hold on to what you typed. Work them in that order — profile first, service second, driver last — and most PCs stop asking within the first two steps.
What you need
- The current Wi-Fi password, written down. Several steps below remove the saved network from this PC, and you cannot rejoin without the password. If the password is on a sticker on the router, check it before you start, not after you have deleted the profile.
- The router's exact network name. If your router offers both a 2.4 GHz and a 5 GHz network, note which one this PC normally joins. Rejoining the other band by mistake can look like the same fault.
- A way to get online if Wi-Fi drops out. An Ethernet cable, or a phone you can read the maker's driver page on, covers the step where the wireless adapter is reinstalled.
Read the fault before you touch it
- Note exactly what happens, and when. Does the PC ask for the password again after every restart, after sleep, or only after you return home from somewhere else? A prompt after every restart points at a profile Windows is not keeping. A prompt only on one network, while other networks stay saved, points at that network — its settings or its router — rather than at Wi-Fi in general.
- Check whether other devices stay connected to the same network. A phone that stays joined to the same router for weeks while the PC keeps asking tells you the router is broadcasting a stable network and the fault lives in this PC's saved profile, its wireless service, or its driver. If every device is being asked again, look at the router first: a recent router reset or firmware change can rename the network or change how it asks for the password, and every device then has to join again once.
- Look at the saved profile itself. Open Settings > Network & internet > Wi-Fi > Manage known networks and find your network in the list. If it appears twice, or appears under a slightly different name than the one the router broadcasts now — a suffix added after a router change is common — Windows may be trying an old profile against a network that no longer matches it. Microsoft's Wi-Fi guidance covers this known-networks list in Fix Wi-Fi connection issues in Windows.
The simple fixes, in order
- Forget the network and join it again cleanly. In Settings > Network & internet > Wi-Fi > Manage known networks, choose your network and select Forget. Then open the Wi-Fi list from the taskbar, select the network, tick Connect automatically, choose Connect, and enter the password carefully — show the characters as you type if the option is offered, because one wrong character saved into a fresh profile recreates the whole fault. Restart the PC and confirm it rejoins on its own before you do anything else.
- Turn off random hardware addresses for this network. In the same Wi-Fi settings, open your network's properties and set Random hardware addresses to Off for this network. Some home routers keep a list of approved devices, and an address that changes can make the router treat a familiar PC as a stranger. This is a per-network setting, so changing it here does not affect coffee-shop or work networks.
- Restart the router once, properly. Unplug it from power, wait a full 30 seconds, plug it back in, and wait for its lights to settle before you test. A router that has been running for months can hold a stale state for one device while serving every other device normally, and a clean restart is the cheapest way to rule that out before you change anything deeper on the PC.
- Check the router's security mode, modestly. If you manage the router, sign in to its settings and look at the wireless security mode for your network. If it offers a mixed or transitional mode that mixes older and newer security types, try the plain, single-mode option the router recommends for compatibility, save it, and rejoin the PC once. Routers differ widely here and the wording varies by maker, so change one setting, note what it was, and be ready to put it back. Do not lower the network to an open or unprotected mode to test — a password prompt problem is never worth an unprotected network.
- Run the network troubleshooter. Go to Settings > System > Troubleshoot > Other troubleshooters and run the Network and Internet troubleshooter, then try joining again. Microsoft lists the troubleshooter among the first steps in Fix Wi-Fi connection issues in Windows, and it can restart the wireless service and adapter on its own when it finds them stopped.
The advanced route: the wireless service, the profile list, and the driver
- Check the WLAN AutoConfig service. Press the Windows key, type services, and open the Services app. Find WLAN AutoConfig in the list. Its status should be Running and its startup type should be Automatic. This is the service that manages wireless connections and keeps saved networks, so a PC that loses profiles is a PC whose first suspect is this service. If it is stopped, right-click it and choose Start. If the startup type is not Automatic, open its properties, set it to Automatic, and choose Start. Restart the PC and check that the saved network survives the restart.
- List the saved profiles from Command Prompt. Open Command Prompt and run
netsh wlan show profiles. Windows lists every Wi-Fi profile saved on the PC. Look for duplicates, old names for the same router, and profiles for networks you no longer use. Microsoft documents this command in Netsh commands for wireless local area network (WLAN). If an old duplicate of your home network is in the list, forget that exact profile in Manage known networks in Settings, then rejoin the current network once more — two profiles competing for one router is a tidy explanation for a password prompt that keeps coming back. - Update, then reinstall, the wireless driver. Open Device Manager > Network adapters, right-click your wireless adapter, and choose Update driver first. Microsoft covers this route in Update drivers manually in Windows. If the prompt still returns, get the current driver from the PC maker's support page for your exact model — wireless drivers from the maker are usually newer than the one Windows carries — install it, and restart. As a last driver step, uninstall the adapter in Device Manager and restart so Windows installs it again, using your Ethernet cable or phone for internet access in between if you need it.
- Use Network reset only as the last step. Go to Settings > Network & internet > Advanced network settings > Network reset and choose Reset now. This removes every saved Wi-Fi network and reinstalls the network adapters, so you will rejoin every network from scratch afterward. That is exactly why it belongs last: it clears a damaged profile store in one move, but it also clears every network that was working.
End state
- The PC rejoins your home network on its own after a full restart and after sleep, with no password prompt.
netsh wlan show profileslists one current profile for your home network, with no duplicate under an old name.- WLAN AutoConfig shows Running, with startup type Automatic, after a restart.
When it goes wrong
- Every device keeps being asked, not just this PC. The fault is at the router: its security setting, a recent reset, or a firmware change. Work the router's wireless security setting and its maker's support page, and stop changing the PC — the PC is reporting the router's behavior faithfully.
- It forgets every network, including new ones you save today. That points away from one bad profile and toward the WLAN AutoConfig service or the driver. Recheck the service after a restart — if it has stopped again or reverted from Automatic, the driver reinstall above is the next step, not another round of forgetting and rejoining.
- The password is rejected even though you are sure it is right. Check Caps Lock, check that you are joining the network name the router broadcasts now, and try the other band (2.4 GHz versus 5 GHz) if the router offers both under different names. If a phone joins with the same password, the PC's saved profile was the problem — forget it and rejoin.
- The network is missing from the list entirely. That is a different fault from a forgotten password: work range, the router's lights, and whether the adapter is enabled in Settings > Network & internet > Advanced network settings before returning to this guide.
Related fixes
-
Fix a PC that cannot see 5 GHz Wi-Fi networks while other devices can
Your phone sees the 5 GHz network and your PC never lists it. Ask the adapter what bands it supports first, then work through driver, band settings, and router channel in order.
-
Fix Wi-Fi that keeps disconnecting or shows 'No internet' on one PC
Prove it is this PC and not the network, restart cleanly, run the troubleshooter, then reset the adapter and its driver.
-
Fix Bluetooth audio that stutters or cuts out when Wi-Fi is busy
Bluetooth headphones that stutter mainly when downloads or streaming are busy are usually fighting your Wi-Fi for the same 2.4 GHz airspace, not failing on their own. Move the Wi-Fi traffic to 5 GHz as the test, cut the distance and interference next, and only then blame the adapter or its driver.
-
Fix a Wi-Fi adapter that disappears after sleep and returns after a restart
A Wi-Fi adapter that vanishes from Settings and Device Manager after sleep, then returns after a restart, is usually being powered down to save energy and not waking back up. Stop Windows from turning the adapter off first, update or roll back its driver next, and treat a full restart as the workaround, not the fix.
Sources
- Microsoft Support, Fix Wi-Fi connection issues in Windows — forgetting and rejoining a network, the troubleshooter, the driver, and Network reset.
- Microsoft Learn, Netsh commands for wireless local area network (WLAN) — the full form of the profile-listing command.
- Microsoft Support, Update drivers manually in Windows — updating a device driver through Device Manager.