Source, partially copied from: https://www.windowscentral.com/how-change-wi-fi-network-connections-priority-order-windows-10
If you want to prevent making a particular Wi-Fi network a priority, you must leave the Connect automatically option clear as you configure a new connection. If you’re already connected to the network, simply disconnect, and as you reconnect, make sure to clear the Connect automatically option.
How to change wireless connections priority using Command Prompt
Alternatively, you can use the netsh on Command Prompt to change the priority of Wi-Fi networks. However, unlike the Network flyout process, using netsh, you can check connection priorities whether you’re connected or disconnected from the network, and you can change the priority for every connection stored on your device.
- Open Start.
- Search for Command Prompt, right-click the top result, and select Run as administrator.
- Type the following command to list all the wireless networks you have connected in the past and press Enter:
netsh wlan show profiles
- Make a note of the wireless network you want to prioritize.
- Type the following command to identify the name of your wireless adapter and press Enter:
netsh wlan show interfaces
- Make a note of the adapter name you use to connect to a Wi-Fi network. (If your device only has one wireless adapter, then its default name will be Wi-Fi.)
- Type the following command to change the connection priority and press Enter:
netsh wlan set profileorder name="NETWORK-PROFILE-NAME" interface="YOUR-INTERFACE-NAME" priority=1
- In the command remember to include the network profile name for the connection you want to prioritize, and the name of the network adapter.
After completing the steps, your computer will always connect to the Wi-Fi network you prioritize. If the network isn’t available, it’ll then try to connect to the next priority on the list.
If you have a long list of networks, you can change the priority of all of them. The only thing you need to do is to change the priority value in the command outlined on step No. 7 to a higher number. For example, if you want to make a particular network your second best option, the command should include a priority value of 2.
We’re focusing this guide on Windows 10 devices, but you can use the same netsh instructions to change the wireless connection priority on Windows 8.1 and Windows 7.