How to disable automatic connection to a WiFi network

Modern smartphones and laptops are designed to provide the user with maximum comfort by automatically finding and connecting to known access pointsThis feature is certainly convenient when you're at home or at the office, as it eliminates the need to re-enter your password each time. However, in situations where the device is in range of multiple networks, this behavior can become annoying.

Gadgets often try to connect to open or weak networks that don't have internet access, which leads to interruptions in the current connection or background data consumption. Furthermore, constant airtime scanning and authentication attempts can significantly reduce autonomy your device. This is why many users wonder how to prevent their gadget from choosing a network automatically.

In this article, we will examine in detail the algorithms of actions for various operating systems, including Android, iOS And WindowsYou'll learn how to not only disconnect, but also completely delete a network profile or change priority settings so your device stays connected only to the signal sources you select.

Managing networks on Android devices

operating system Android offers flexible settings for managing wireless connections, but the menu interface may differ depending on the OS version and the manufacturer's shell. To disable automatic connection to a specific network, go to the section Settings → Connections → Wi-FiHere you will see a list of available networks and those to which the device has previously connected.

Find the desired network in the list, click the gear icon next to its name, or simply tap the name to open an additional menu. In the window that opens, find the switch Connect automatically and switch it to the inactive position. After this, the smartphone will stop initiating a connection to this access point, even if it is in a strong reception area.

If your goal is to completely clear your device's memory of saved passwords and profiles, it's best to use the "Forget Network" feature. This will delete all saved security keys and settings. protocol for the selected SSID. In some versions Android, for example in pure Android 12 and above, you can also disable the "Connect to open networks" feature, which will increase the security of your data.

It is important to note that on devices with custom skins such as MIUI or OneUI, the settings paths may differ slightly. In such cases, it's worth searching for "Wi-Fi" in the settings search.

  • 📱 Access your smartphone's settings menu via the gear icon in the notification shade.
  • 📡 Select the Wireless Networks section and find the list of saved connections.
  • 🔒 Tap on the desired network and disable the auto-connect option or select "Forget."
  • 🔄 Restart your device to make sure the connection doesn't re-establish itself.
📊 How often do you encounter unwanted Wi-Fi connections?
Daily
Once a week
Only in public places
Never encountered it

⚠️ Attention: After selecting "Forget Network," you'll need to re-enter the password the next time you try to connect. Make sure you remember the passkey or have it saved elsewhere.

Setting up automatic connections on iPhone and iPad

In the ecosystem Apple Wireless connection management is implemented with an emphasis on simplicity and security. In the operating system iOS And iPadOS There is no direct "do not connect automatically" button for each individual network in the standard menu, as is done in AndroidHowever, the smart connection system automatically decides when it's best to establish a connection based on browsing history and signal quality.

To prevent your iPhone or iPad from connecting to a specific network, you need to go to Settings → Wi-FiClick on the blue information icon (i) to the right of the name of the network you don't want to connect to. In the menu that opens, select the option Forget this network and confirm the action. This is the only reliable way to prevent automatic connection.

There is also an "Auto Login" feature that allows you to connect to hotspots through the service. Wi-Fi Assist without entering a password, using the database AppleIf you want to increase your privacy, you can disable this feature in the same Wi-Fi settings menu. Once you delete the profile, the network will disappear from the list of known networks, and your device will ignore its signals until you manually enter the password again.

It is worth considering that if your device is synchronized via iCloudDeleting a network on one device may delete it from all other devices linked to the same Apple ID. This is convenient for clearing all devices at once, but requires caution if you plan to use this network on another device in the future.

Disabling Auto-Connect in Windows 10 and 11

Operating systems of the family Windows Provides the user with complete control over network adapters and connection profiles. To manage automatic connections, right-click the network icon in the system tray (near the clock) and select Network and Internet settings. Next, go to the section Wi-Fi and select "Manage known networks".

The list will show all the networks your computer has previously connected to. Select the desired one and click the "Properties" button. Here you'll find the switch "Connect automatically when this network is in range"By switching it to the "Off" position, you prevent the system from initiating a connection to this access point without your knowledge.

For more advanced users and system administrators, it's possible to manage network priorities via the command line. This is especially useful in corporate environments where a strict order of preferences is required. For example, you can ensure that the office network always takes priority over the home or public network.

Using the command line requires administrator privileges. Open Terminal. cmd or PowerShell and enter the command to view profiles: netsh wlan show profilesTo delete a specific profile, use the command: netsh wlan delete profile name="Network_Name"This action will completely clear the settings for the specified SSID.

netsh wlan show profiles

netsh wlan delete profile name="Guest_WiFi"

☑️ Check Windows settings

Completed: 0 / 5

Resetting and deleting profiles on macOS

In the operating system macOS Network preferences are managed through System Preferences. In newer versions of macOS (Ventura and later), the interface has been redesigned and now resembles mobile OSes more closely. To manage networks, go to System Preferences → Wi-FiClick the "More details" button or the three-dot icon next to a known network.

In the menu that opens, you will see the option Automatic connectionUnchecking this box will prevent your Mac from connecting to this network on its own. If you want to completely remove the network's entry, select "Forget this network" from the context menu in the list of known networks.

In older versions of macOS (before Monterey), the settings are located in the System Preferences → NetworkHere, select Wi-Fi from the list on the left, click the "Advanced" button, and go to the Wi-Fi tab. In the "Preferred Networks" list, you can reorder networks by dragging them, or remove unwanted ones by selecting them and clicking the minus sign.

The order of networks in the Preferred list determines the connection priority. macOS will always try to connect to the network higher in the list if it's available. So, even without deleting the network, you can simply move it to the very bottom of the list so that it's used only in emergencies.

operating system Setting location Action Result
Windows 10/11 Network Settings → Manage Known Networks Turn off the toggle switch The network is known, but does not connect itself
Android Settings → Wi-Fi → Gear Connect automatically Manual connection start is required
iOS / iPadOS Settings → Wi-Fi → (i) Forget this network Completely delete your profile and password
macOS System Preferences → Network → Advanced Reordering or deleting Priority or removal from the list
Why does a network return to the list after being removed?

Some routers use WPS technology or special re-authorization protocols that can re-enable the network. The profile can also be restored from cloud sync (iCloud Keychain or a Google account).

Using the Command Line to Manage Wi-Fi

For users who prefer console commands, or in situations where the graphical interface isn't working correctly, the command line is a great tool. In Windows, this is the utility netsh, which allows you to manage wireless network configuration at a low level. This is a powerful tool, but it requires careful command entry.

Using commands, you can not only delete profiles, but also export them (including cleartext passwords if you have administrator rights) or import them to other computers. This is useful for system administrators setting up a fleet of computers. The export command looks like this: netsh wlan export profile key=clear folder="path_to_folder".

In Linux systems such as Ubuntu or Debian, control is carried out through the utility nmcli (NetworkManager command line interface). To disable auto-connection, you need to change the parameter connection.autoconnect on no. For example: nmcli con mod "Network_Name" connection.autoconnect noThis change is applied immediately and does not require a restart of the network service.

Using scripts allows you to automate the process of clearing your network of unnecessary connections. You can create a batch file in Windows or a shell script in Linux that will run at system startup and ensure that certain guest networks are not activated.

⚠️ Attention: When working with the command line, pay close attention to syntax. An error in the network name or parameter may result in deleting the wrong profile or resetting the adapter settings.

Priority issues and sticky networks

Sometimes users encounter a situation where the device ignores settings and continues to connect to a weak or unused network. This phenomenon is often referred to as the "sticky network" effect. The cause lies in the operating algorithms. drivers wireless module that can prioritize signal strength (RSSI) over user preferences.

To resolve this issue, you first need to completely delete the network profile, not just disable auto-connection. Then, we recommend resetting the network settings on your device. Android This is done through the “Reset network settings” menu, in Windows — via "Network Reset" in Settings. This will delete all saved Wi-Fi and Bluetooth pairings.

It's also worth checking the router's settings. If the access point broadcasts multiple SSIDs (for example, primary and guest) or uses standards 802.11 b/g/n/ac With different names, the device may become confused and switch between them. Combining all bands into a single SSID or, conversely, separating them can help the device correctly prioritize.

Corporate networks often use security certificates. If a certificate is installed on a device, it can force a connection to the corporate network when a signal is detected. In this case, the corresponding certificate should be removed from the trusted root store.

Frequently Asked Questions (FAQ)

Is it possible to turn off auto-connection only for mobile data, but leave it on for Wi-Fi?

Yes, these settings are independent. You can disable data transfer or limit background activity in the Mobile Networks menu, and this won't affect the Wi-Fi module's behavior. However, if the Wi-Fi connection is unstable, the "Wi-Fi Assist" feature on iPhone or its Android counterpart can automatically switch traffic to the mobile network.

Why does my phone automatically connect to open networks in shopping malls?

This happens because the feature that searches for and connects to open networks is enabled. For security reasons, it's recommended to disable this option in your Wi-Fi settings, as open networks are often unsecured and can be used by attackers to intercept data.

Will my Wi-Fi password be removed if I select "Forget Network"?

Yes, selecting "Forget Network" completely deletes the connection profile, including the saved password. To reconnect, you'll need to re-enter the password. On Apple devices, this password can be removed from all synced devices via iCloud.

How to prevent children from connecting to paid Wi-Fi at a hotel?

The best way is to not save the password on their devices and use guest mode on your router if you share the internet connection yourself. You can set restrictions on your children's devices using Screen Time (iOS) or Family Link (Android), preventing them from changing network settings.