How to filter wireless networks in Windows 8 to create a black list or white list

Today, I would like to share with you a secret feature of Windows 8 (and Windows 7 and Vista too) 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.

Let's start. Here is how my WiFi network list looks before filtering it:

Wireless Networks

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

    add filter allow

  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

    add filter deny

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

netsh wlan delete filter permission=denyall networktype=infrastructure

filter reset
This will reset the filtering option and you will see all networks again.

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.

2 thoughts on “How to filter wireless networks in Windows 8 to create a black list or white list

  1. Phil

    ok cool! thanx!

    Reply
  2. Brent

    This is a fantastic trick – many thanks for sharing.

    Reply

Leave a Reply

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