I have several WiFi networks setup on my android device. I want most of them to automatically connect, but one specifically I don't want to automatically connect to. I want to manually connect to it only.

I don't want to forget it because I don't want to lose the settings for it.

migrated from superuser.com Dec 13 '12 at 23:38

This question came from our site for computer enthusiasts and power users.


Android automatically connects to all WiFi networks it has configured. So basically, if you do not want that to happen, you could either turn WiFi off (which would also disable to connect to the other WiFi networks, which is not what you want) -- or delete the configuration for the network you don't want to connect to automatically (which would make you lose its settings, on the first glance).

The first option is not in your interest -- but the second can be helpful, even if you don't see this immediately. You could use an app like WiFi QR Share first to convert that networks settings into a QR code, then print out this generated QR code. Store it in a safe place (e.g. laminate it, cut it down to credit-card size, and put it in your briefcase). Now delete this WiFi networks configuration -- it will no longer auto-connect.

If you want to connect it manually, that does not mean to enter all the configuration again: Simply open your QR Code reader (Barcode Scanner should do fine), scan the QR, and connect. Don't forget to delete the configuration again afterwards.

Unfortunately, there's no way to mark a network "manual only", so this seems the easiest way to me.


You can use the Locale app to disable your wifi whenever that SSID is in range. You will need the wifi plugin for this to work. Reenabling the wifi can be triggered by different events. I chose to use the Movement condition to determine when I am leaving. You could also use location or time events to turn on the wifi.


If you are a programmer, check out this site: WifiManager Documentation - disableNetwork.

The disabled network is saved in your phone, but you have to manually choose it from your WiFi list to connect to it.

If you have already rooted your phone, find wpa_supplicant.conf in the folder /data/misc/wifi, find the network with the WiFi name, and add this code disabled=1 in this particular network. I think this will solve your problem.

  • This won't work on Android. – QkiZ Feb 27 '17 at 17:36

If you have root access you can try to create a widget with Tasker that will manipulate the text file where the wifi passwords are stored. Then all you have to do is tap that widget (or run the task in tasker manually) and toggle to be (dis)connected to that network.

The approach: find out where your wifi password are saved on your device using a Root browser. Most of the times it's in /data/misc/wifi/wpa_supplicant.conf. Make two copies of this file and name it with_network.txt and without_network.txt. In the without_network.txt remove the SSID corresponding to your preferred network.

Now you can make a task in Tasker or any other automatisation app to rename the with_network.txt to wpa_supplicant.conf and when clicked/run again to reverse it back to with_network.txt and rename without_network.txt to wpa_supplicant.conf on command.


This is not solution but workaround. Every network has a priority parameter. If I don't want to connect to this network I setup lowest possible priority for that network. Greater value is greater priority. This will be work when network that you wan't to connect automatically coexist in same place with other network that has greater priority.


Inside every saved Network there is option to connect automatically. Disable the option. Tested in commute networks I do not want to use wifi as it is slow

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.