Filter wireless networks in Windows 10 to create a black list or white list

There is a secret feature of Windows 10 which allows you to whitelist wireless networks you have in your vicinity. It is useful if you have lots of wireless networks in your area with lots of access points. Every time you connect to your wireless network, you will see a cluttered list of SSIDs (network names). If you will create a white list for these networks, you will be able to filter them and see only your own WiFi.

Advertisement


Here is how my WiFi network list looks before filtering it:

Windows 10 default wireless list

My own WiFi is SSID01, and I do not want to see other network names in this list.

To filter this list to show only my own wireless network, we need to do the following:

  1. Open an elevated command prompt.
  2. Type the following:
    netsh wlan add filter permission=allow ssid="YOUR SSID HERE" networktype=infrastructure

    This will add your Wifi to the white list.
    e.g. in my case, the command must be as follows:

    netsh wlan add filter permission=allow ssid="SSID01" networktype=infrastructure

    Windows 10 filter wireless list

  3. Repeat the step above for all WiFi networks you have. If you connect to a different network at your work place and at home, be sure to white list them all.
  4. Now we need to block the rest of the "foreign" wireless networks which don't belong to you. The command for that is as follows:
    netsh wlan add filter permission=denyall networktype=infrastructure

    Windows 10 blacklist other wireless networks

You are done! Check out your wireless networks list now:
Windows 10 filtered wireless list
If you decide to revert the changes you made, use the following command:

netsh wlan delete filter permission=denyall networktype=infrastructure

Windows 10 remove wireless network filters
This will reset the filtering option and you will see all networks again.
Windows 10 wireless network list restored
Note that if you roam a lot with your PC and need to scan for wireless networks in different areas, then you must not set up a deny filter otherwise even the connections you want to connect to will be hidden! The same can be done in Windows 8.1, Windows 7 and Windows Vista.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

Advertisment

7 thoughts on “Filter wireless networks in Windows 10 to create a black list or white list

  1. Rumy

    Nice article sir.

    Reply
  2. mark w

    Hi,

    I’m guessing the deny command could be used on an individual SSID? That is, block one or more instead of blocking all..?

    Reply
    1. Sergey Tkachenko Post author

      try

      netsh wlan add filter permission=deny ssid="YOUR SSID HERE" networktype=infrastructure
      Reply
  3. Sam

    I been looking for something like this for years. Thanks brother!

    Reply
    1. Sergey Tkachenko Post author

      You’re most welcome Sam

      Reply
  4. Miroslav

    Is it possible in Windows 10 to whitelist access points by MAC address for specific SSID? (as a means of protection against MITM attacks)

    Reply
  5. Pingback: Hide or show Wireless Networks in Windows - gHacks Tech News

Leave a Reply

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