RECOMMENDED: Click here to fix Windows errors and optimize system performance
Clicking the network icon in the Windows 10 taskbar allows you to view multiple WiFi networks in neighboring regions as well as your own. If you find this display overloaded and want to hide wireless networks that are not yours, you can easily do so with the netsh command. In this post, let’s see how you can prevent your neighbor’s Wi-Fi network from appearing on your Windows 10/8/7 computer.
If you are using a wireless network and want to allow or block a specific Wi-Fi network in Windows 10, follow these steps. You can use the command prompt to block or authorize a specific SSID or wireless network.
Blocking WiFi networks on Windows
If you are in an area where many WiFi routers are still on, your PC displays all names when you click the Network button on the taskbar. Although it connects to the specific network on which Auto Connect is enabled, the presence of too many Wi-Fi networks can make things confusing. Thus, you can hide or block a specific WiFi network from the list.
Open a command prompt with administrator privileges and execute the following command –
netsh wlan add filter permission=block ssid='Wireless Network Name networktype=infrastructure
Remember to replace the name wireless network name with the real name you want to lock.
If you The filter is successfully added to the system message, you will not be able to see this network on the list.
If you accidentally blocked an incorrect wireless network and you want to delete this filter, proceed as follows. You must enter the following command at an increased command prompt –
netsh wlan delete filter permission=block ssid='Wireless Network Name' networktype=infrastructure
This wireless network name must match the locked WiFi network name otherwise no changes will be made.
The following commands are useful if you want to hide all WiFi networks and allow only one.
You must first allow a WiFi network, so run the following command –
netsh wlan add filter permission=allow ssid 'Wireless Network Name' networktype=infrastructure
To hide all networks except the allowed network, Run this command –
netsh wlan add filter permission=denyall networktype=infrastructure
If you want to remove the Deny all filter or remove all network names from the block list, the following command executes the job-
netsh wlan delete filter permission=denyall networktype=infrastructure
Check all filters
If you have forgotten the wireless network name or simply want to see the black or white list, Here is the command you should use –
netsh wlan filter display
Disadvantage of using these commands
The only disadvantage of these commands is that they do not block the real Wi-Fi router. It blocks or allows the wireless network name. This means that if you change the WiFi name, you can overwrite the filter.
Hope this helps!