How Windows Ends Up on the Wrong Wi‑Fi
If you want to know how to stop Windows connecting to random WiFi, the first step is understanding why it happens.
Windows can auto-connect to any saved network, nearby open hotspot, or previously trusted Wi‑Fi profile when it thinks the signal is strongest.
This behavior is convenient in airports, offices, and homes, but it can also cause unexpected network switches, slower internet, or privacy risks.
The good news is that Windows gives you several ways to control exactly which wireless networks your PC is allowed to join.
Turn Off Automatic Connection for Unwanted Networks
The most direct fix is to stop auto-connecting to networks you do not want Windows to use.
This is especially important for public Wi‑Fi, guest networks, and old networks from places you no longer visit.
On Windows 11 or Windows 10
- Open Settings.
- Go to Network & internet and then Wi‑Fi.
- Select Manage known networks.
- Choose the network you want to control.
- Turn off Connect automatically when in range.
If you are already connected to a network you do not trust, select Forget instead.
That removes the saved profile so Windows cannot reconnect later without permission.
Forget Old Wi‑Fi Networks You No Longer Use
Windows may keep dozens of remembered SSIDs over time.
If a saved network is still nearby, Windows may prefer it over your current connection, especially if the access point uses the same name as one you have used before.
To reduce the chance of unwanted switching, delete older profiles you do not need:
- Open Settings > Network & internet > Wi‑Fi.
- Choose Manage known networks.
- Remove networks from hotels, cafes, schools, and temporary locations.
For power users, the command line also works.
Open Command Prompt and run netsh wlan show profiles to view saved networks, then remove one with netsh wlan delete profile name="NETWORK_NAME".
Disable Connect to Suggested Open Hotspots
Some Windows devices are configured to connect to suggested open hotspots and network sharing offers.
These features can make your laptop join unfamiliar networks without you realizing it.
To disable them, check your Wi‑Fi and location-related settings:
- Open Settings > Network & internet > Wi‑Fi.
- Look for options related to Suggested open hotspots, Hotspot 2.0, or similar connection assistance features.
- Turn off any setting that allows automatic joining of public or recommended networks.
Depending on the Windows edition and device manufacturer, the wording can vary.
The goal is the same: prevent Windows from making connection decisions for networks you have not explicitly chosen.
Use the Wi‑Fi Network Priority You Actually Want
Windows normally prefers the strongest known network, but a saved profile can still pull your laptop toward the wrong access point if multiple SSIDs are available.
If you use both a home router and a mesh system, or a work network and a guest network, make sure the preferred network is the one with the best security and stability.
To keep your current network first in line:
- Disconnect from unwanted networks and forget them if possible.
- Reconnect to your preferred network.
- Make sure its profile is the only one set to connect automatically.
If you manage multiple networks at work, an administrator can also control priority through Group Policy or enterprise Wi‑Fi profiles, which is often the best option in managed environments.
Stop Windows from Joining Open Networks
Open networks are a common reason laptops appear to connect to random Wi‑Fi.
If a network has no password, Windows may treat it as available and low-friction, especially if it was previously joined or if the device is configured to help users stay online.
Best practice is simple: avoid open Wi‑Fi whenever possible.
If you must use it, connect manually and disconnect when finished.
- Choose networks with WPA2 or WPA3 security.
- Do not save open networks unless absolutely necessary.
- Use a VPN on public Wi‑Fi for added privacy.
Check for Mobile Hotspot and Tethering Conflicts
Windows can sometimes appear to “randomly” connect when the real issue is a nearby mobile hotspot or tethered phone.
If you have used a hotspot before, the saved profile can make Windows reconnect whenever the phone is in range.
To prevent this, remove old hotspot profiles just like any other Wi‑Fi network.
Also review any saved networks named after your phone, tablet, or personal hotspot.
If you use an iPhone Personal Hotspot, Android hotspot, or a carrier device, be careful with auto-join behavior on both the computer and the phone.
Turning off auto-join on the Windows side usually solves the issue.
Update Wi‑Fi Drivers and Firmware
Sometimes random reconnects are caused by outdated Wi‑Fi drivers rather than settings.
A buggy wireless adapter driver can ignore profile preferences, roam too aggressively, or reconnect after brief signal drops.
To rule this out, update the following:
- Wi‑Fi adapter driver through Device Manager or your laptop manufacturer’s support page.
- System BIOS/UEFI if the vendor recommends a wireless stability fix.
- Router firmware if your home network behaves inconsistently.
For Intel, Realtek, Broadcom, and Qualcomm adapters, the safest source is usually the laptop maker’s official driver package, because it is tested for that model.
Reset Network Settings If the Problem Persists
If Windows still keeps joining the wrong Wi‑Fi after you clean up profiles, a network reset can help.
This clears saved networking components and forces Windows to rebuild them from scratch.
Use it when you have exhausted simpler fixes:
- Open Settings > Network & internet > Advanced network settings.
- Select Network reset.
- Restart your PC after the reset completes.
Note that this will remove saved Wi‑Fi networks and may require you to reconnect manually to your home or work network.
Use Group Policy or Registry Controls in Managed Environments
For business laptops, IT teams often need stronger controls than the standard Settings app provides.
Group Policy, MDM tools, and registry-based configuration can prevent automatic connection to undesired wireless networks across many devices at once.
Common enterprise controls include:
- Blocking auto-connect to open networks.
- Restricting Wi‑Fi profile creation by users.
- Enforcing preferred network lists.
- Deploying managed WPA2/WPA3 profiles through Intune or similar platforms.
If your device is managed by your employer or school, ask the administrator before making manual changes that could conflict with policy.
When a VPN Helps and When It Does Not
A VPN does not stop Windows from connecting to the wrong Wi‑Fi network, but it can reduce the privacy risk if the device does join an unfamiliar hotspot.
In other words, a VPN protects traffic after the connection happens; it does not control the wireless connection itself.
For best results, combine network control with secure browsing practices:
- Disable auto-connect on risky networks.
- Forget unused profiles.
- Use a reputable VPN on public Wi‑Fi.
- Prefer WPA2 or WPA3 networks with strong passwords.
Quick Checklist to Stop Windows Connecting to Random WiFi
- Forget old Wi‑Fi networks you no longer use.
- Turn off Connect automatically for public or unfamiliar networks.
- Disable suggested open hotspot features.
- Remove saved mobile hotspot profiles.
- Update Wi‑Fi drivers from the manufacturer.
- Reset network settings if the issue continues.
- Use enterprise policy tools for managed devices.
Once you remove the saved profiles and disable automatic joining, Windows usually stays on the network you choose instead of hopping to nearby Wi‑Fi with a familiar name or stronger signal.