Block WiFi network in Windows 10? This is how!

Stefan
Block WiFi network in Windows 10? This is how!

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.

Open command prompt windows

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.

block wifi network in windows 10

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

block all WiFi networks except

To display all wireless network filters, enter the following command.

netsh wlan show filters

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!


Problem solved?


Help other people too.
Share this article on a website, forum or via social media.

Join our new computer forum for questions and computer help.
Do you have a computer question?

The email address will not be published. Required fields are marked with *