+5 votes
829 views
in Windows10 by (3k points)
reopened
How to block and disable a WiFi network connection Windows 10

1 Answer

+3 votes
by (183k points)
 
Best answer

1. How to blacklist Wi-Fi network Windows 10, 8, 7
2. How to whitelist a Wi-Fi network Windows 10, 8, 7
3. How to see the current WiFi filters Windows 10, 8, 7

One of the most widely used network connections today by millions of users is the wireless or Wi-Fi network , which we find for free in many public or private places..

 

Around us we have several Wi-Fi networks, whether from a company, a neighbor or a user who shares their data, and this is easy to discover by clicking on the network icon in the Windows taskbar and there you can see the full list of available networks.

 

 

This is something common for everyone, but at specific moments we can find that some of these networks have an inappropriate SID , many users decide to put vulgar, obscene, two-way or inappropriate names to their networks in order to create a negative impact on the time to search for the networks in the coverage area..

 

The good thing about all this is that the Windows 10 operating system offers us the possibility to block or hide this type of network, especially if the search is from our home and people like children have access to see the available networks.

 

HowConnection today will teach how to create this type of block and even create filters to connect to a particular network..

 

We can see that by clicking on the Wi-Fi icon, all nearby W-Fi networks will be displayed:

 

image

 

Access to the command prompt
To start the process we will access the command prompt as administrators by right-clicking on the utility and selecting the option Run as administrator.

 

 


1. How to blacklist Wi-Fi network Windows 10, 8, 7


We can hide an individual network by adding it to the block list or black list, in this way this network will not appear in the list of nearby available Wi-Fi networks and will not be able to connect from Windows 10. To block a Wi-Fi network.

 

We will execute the following command, replacing "WIFI" with the name (SSID) of the wireless network. This is just the name of the Wi-Fi network that appears in the standard Wi-Fi pop-up menu:

 netsh wlan add filter permission = block ssid = "WIFI" networktype = infrastructure 
In this case we will add the Wi-Fi network called JOKER:

 

 

image

 

We can verify that it has been removed from the options if we click again on the Wi-Fi icon in the taskbar:

 

image

 

We can repeat this process to add more networks to the Wi-Fi blacklist, if we so choose. This command filters based on the name of the network. Therefore, if the name of the nearby Wi-Fi network is changed, we will see that the new name appears in the Wi-Fi list.

 

To undo this change and remove a network from the block list, we will run the following command and replace "WIFI with the name of the Wi-Fi network:

 netsh wlan delete filter permission = block ssid = "WIFI” networktype = infrastructure 
image

 

 


2. How to whitelist a Wi-Fi network Windows 10, 8, 7


Instead of hiding Wi-Fi networks individually, you can alternatively add one or more Wi-Fi networks to the allowed list, or whitelist, and then block all other Wi-Fi networks. This ensures that a device can only connect to the networks it approves.

 

To add a Wi-Fi allowed network, we will execute the following command, replacing "WIFI" with the name (SSID) of the wireless network.

 netsh wlan add filter permission = allow ssid = "WIFI" networktype = infrastructure 
image

 

In this way we can only connect to said Wi-Fi network. We can repeat this process to add more networks to the Wi-Fi whitelist, if necessary.

 

Once we have configured a list of whitelisted networks, we will execute the following command to block all Wi-Fi networks that have not been specifically allowed:

 netsh wlan add filter permission = denyall networktype = infrastructure 
image

 

To undo this change, we will execute the following command so that our team can see and connect to all the networks that are not in the block list:

 netsh wlan delete filter permission = denyall networktype = infrastructure 
image

 

It will also be possible to optionally remove the added Wi-Fi network rules that have been added. Just run the following command, replacing "WIFI" with the name of the Wi-Fi network:

 netsh wlan delete filter permission = allow ssid = "WIFI" networktype = infrastructure 
Pressing "Enter" will have this WiFi connection removed.

 


3. How to see the current WiFi filters Windows 10, 8, 7


We can see all the filters we have created by executing the following command:
 netsh wlan show filtres 
image

 

Network administrators can use Group Policy to deploy Wi-Fi network filters, allowing you to manage which Wi-Fi networks are allowed or blocked on centrally managed PCs.

 

So we have seen how we can manage Wi-Fi networks in Windows 10 environments.

 


statcounter statistics counter
...