Fix Computer Crashes When Connecting to the Internet
In this article
To fix computer crashes that happen when you connect to the internet, start by power-cycling your modem and router, then update your network adapter driver and run the built-in network troubleshooter. In most cases the crash is caused by a driver conflict, a failing Wi-Fi adapter, or a corrupted network stack, and those three steps clear the majority of them. If the crash continues, work through the steps below in order — each one is safe and reversible, and you can stop as soon as the crashes stop.
What You'll Need
- Your computer and its administrator password (some steps need admin rights).
- Access to your router or modem, including the password if you need to log in to it.
- A way to get online without the crashing connection — a phone hotspot or an Ethernet cable — so you can download drivers and updates.
- About 30–45 minutes, plus time for a restart or two.
Step-by-Step
- Restart everything in the right order. Shut down the computer. Unplug the modem and router from power, wait 30 seconds, plug the modem back in first, wait for its lights to settle, then plug in the router. Turn the computer back on and reconnect. This clears stale network states on both ends and is the single most common fix.
- Disconnect other devices and test one connection type. If you normally use Wi-Fi, plug in an Ethernet cable instead (or the reverse). If the crash only happens on Wi-Fi, the Wi-Fi adapter or its driver is the likely culprit; if it happens on both, the problem is higher up in Windows or the router.
- Run the built-in network troubleshooter. On Windows 11, go to Settings > System > Troubleshoot > Other troubleshooters and run Network and Internet. On Windows 10, go to Settings > Update & Security > Troubleshoot > Additional troubleshooters > Internet Connections. Let it apply any fixes it finds, then reconnect. Menu labels can differ slightly by Windows version and region.
- Update the network adapter driver from the manufacturer. Open Device Manager (right-click the Start button and choose Device Manager), expand Network adapters, right-click your Wi-Fi or Ethernet adapter, and choose Update driver > Search automatically for drivers. If Windows finds nothing, go to your PC or adapter maker's official support site, download the driver for your exact model, and install it. A bad or outdated driver is the most frequent cause of crashes that happen the moment a connection is made.
- Roll back the driver if the crashes started after an update. In Device Manager, right-click the adapter, choose Properties > Driver tab, and click Roll Back Driver if it is available. This returns you to the previous version that was working. If the button is greyed out, skip this step.
- Check for Windows updates. Go to Settings > Windows Update and install everything offered, including optional updates. Restart when prompted. Microsoft ships network stack fixes through these updates, and a pending update can leave the system in a state where connecting triggers a crash.
- Reset the network stack. Open Settings > Network & internet > Advanced network settings > Network reset (Windows 11) or Settings > Network & Internet > Status > Network reset (Windows 10). Read the warning: this removes and reinstalls all network adapters and resets networking components to defaults, so you will need to re-enter Wi-Fi passwords and any VPN or proxy settings afterward. Restart the PC and reconnect.
- Turn off Wi-Fi power saving. In Device Manager, right-click the Wi-Fi adapter, choose Properties > Power Management, and clear the box that lets the computer turn off the device to save power. Then open Settings > System > Power & battery (or Power & sleep) and set the power mode to Balanced or Best performance while you test. Aggressive power saving can drop the adapter mid-connection and, on some hardware, crash the machine.
- Disable and re-enable the adapter. In Settings > Network & internet, open the adapter's page and toggle it off, wait ten seconds, and toggle it back on. This forces a clean reconnect without a full restart and is useful for confirming whether the crash is tied to the adapter itself.
- Test with a clean boot. Open System Configuration (search for msconfig), go to the Services tab, tick Hide all Microsoft services, click Disable all, then restart. If the crashes stop, a third-party service — often a VPN client, firewall, or antivirus add-on — is the cause. Re-enable services in small groups to find the culprit, then reinstall or update that program.
- Check the router's firmware and settings. Log in to your router's admin page using the address printed on its label, and install any firmware update the manufacturer offers. While you are there, switch the Wi-Fi security to WPA2 or WPA3 if it is set to an older mode, and try a different channel. An incompatible security mode can make some adapters crash on association.
- Look at the crash details. Open Event Viewer (search for it in Start), expand Windows Logs > System, and look for errors around the time of the crash. Note the source name — a network driver, a specific service, or a bug-check code. That name tells you which of the steps above to repeat or which driver to replace. If you are not comfortable reading the logs, note the source and search the manufacturer's support site for it.
Common Mistakes
- Downloading drivers from random driver-updater sites. Use only your PC maker's or adapter maker's official support page. Third-party driver packs often install mismatched versions that cause more crashes than they fix.
- Skipping the restart after a driver or network reset. Many changes only take effect after a full shutdown and start, not a sleep or hibernate.
- Resetting the network before noting your settings. Write down Wi-Fi passwords, static IP settings, VPN details, and proxy settings first, because the reset wipes them.
- Assuming the PC is at fault. A failing router or a bad cable can trigger the same symptom. Testing with a different router or cable is quick and rules it out.
- Ignoring heat and power. A laptop that crashes only when the Wi-Fi radio is active may have a failing battery or adapter. If the crash happens under load, check for dust-blocked vents and try it plugged in with the battery removed if your model allows it.
Tips
- Change one thing at a time and test the connection after each change, so you know which fix worked.
- Keep a note of the driver version that works, so you can return to it if a future update misbehaves.
- Use Ethernet while you troubleshoot Wi-Fi crashes — it keeps you online to download drivers.
- If the crashes began right after a Windows update, check Update history and use the uninstall option for that update before trying anything more drastic.
- For laptops, test with the charger connected and again on battery; a crash that only happens on battery points to a power-management setting.
Troubleshooting
If the steps above did not stop the crashes, work through these in order:
- The crash happens before you can open Settings. Boot into Safe Mode (hold Shift while choosing Restart from the Start menu, then choose Troubleshoot > Advanced options > Startup Settings > Restart, and select Safe Mode). In Safe Mode, networking drivers are limited, so you can uninstall the network adapter in Device Manager and restart normally to let Windows reinstall a basic driver.
- Only one specific network crashes it. That points to the router or the network's security settings rather than the PC. Try the same PC on a phone hotspot. If it is stable there, update the router's firmware and change its Wi-Fi security mode as in step 11.
- The crash is a blue screen with a stop code. Note the code and the file name shown. Search your PC maker's support site for that code together with your model. Do not install random "fix" tools for stop codes.
- Nothing works and the adapter is old or built into a failing machine. A USB Wi-Fi adapter from a reputable brand is a cheap way to test whether the internal adapter is the problem. If a USB adapter is stable, the internal one is faulty.
- Still crashing after all of this. Back up your files first, then use Settings > System > Recovery > Reset this PC, choosing Keep my files. This reinstalls Windows and keeps your documents, but removes installed programs, so you will need to reinstall them. If the crash persists on a clean install, the hardware — adapter, motherboard, or power supply — needs professional diagnosis.
Frequently Asked Questions
Why does my computer crash only when I connect to the internet?
Because connecting activates the network adapter and its driver. A faulty driver, a power-management setting that cuts power to the adapter, or a failing adapter itself will then trigger the crash. That is why driver updates and power-saving changes fix most cases.
Can a router cause my PC to crash?
Yes, indirectly. An incompatible Wi-Fi security mode or a router sending malformed data can expose a driver bug. Testing on a phone hotspot tells you whether the router is involved.
Will a network reset delete my files?
No. It removes and reinstalls network adapters and resets networking settings to defaults, so you lose saved Wi-Fi passwords, VPN profiles, and custom IP or proxy settings — not documents or programs.
Is it safe to roll back a network driver?
Yes. Roll Back Driver returns to the previous installed version and can be reversed by updating the driver again. It is the standard fix when crashes start right after a driver update.
How do I know if the adapter is failing physically?
If a USB Wi-Fi adapter works reliably while the internal one crashes, the internal adapter is the likely fault. Overheating, a loose card, or damage from a knock can all cause this.
Should I reinstall Windows to fix this?
Only as a last resort, after drivers, resets, and a clean boot have failed. Back up your files first, and choose Keep my files so your documents survive; installed programs will need reinstalling.