If someone near your computer has an open WiFi network, it is possible that your computer makes an unwanted connection to this network. It is also possible that someone nearby has set up a WiFi network that you want to block.
Whatever the reason, if you want to know how to block a wireless WiFi network in Windows 10, read on. In this tip I explain how you can block a specific wireless WiFi network or all WiFi networks except the network you want to connect to.
Block WiFi network in Windows 10
To block a WiFi network you need the SSID of the wireless network. The SSID is a wireless network name for authentication. SSID stands for Service Set Identifier.
In the Windows search bar type: Command Prompt. Right-click on the Command Prompt result and choose Run as administrator.
To view all available wireless wifi network to display in Command Prompt, type
netsh wlan show networks
You will now get a list of available ones wifi networks to see. The network you wish to block is listed here. Make sure you write down the SSID you want to block.
Then, to block the wireless WiFi network, type the following command in the Command Prompt window.
netsh wlan add filter permission=block ssid="SSID-NAAM" networktype=Infrastructure
Replace SSID NAME with the wireless network name we looked up earlier.
If you prefer to block all wireless networks except the SSID (aka wireless network) of your choice, you can run the following commands.
netsh wlan add filter permission=allow ssid="SSID-NAAM" networktype=infrastructure
Press ENTER and then enter the second command.
netsh wlan add filter permission=denyall networktype=infrastructure
To display all wireless network filters, enter the following command.
netsh wlan show filters
To remove a wireless network filter, replace the command: add with delete. The commands will then look like this.
netsh wlan delete filter permission=allow ssid="SSID-NAAM" networktype=Infrastructure
netsh wlan delete filter permission=denyall networktype=infrastructure
I hope this helped you. Thank you for reading!