Create, Manage and Delete Wireless Filters On Windows

Windows allows users to manage IEEE802.11 networks from Command Prompt. It is done by creating wireless filters to prevent that computer from connecting to the specific WiFi network. Settings wireless filter is very important in case if you suspect your PC may join a suspicious wireless network and risk the security. One of the major threat of a computer with WiFi facility is to get connected to suspicious Ad-hoc networks. A hacker runs an ad-hoc network can steal data from your computer if it is connected it and the risk is higher if file and printer sharing is enabled. A properly set WLAN filter can protect your laptop from all the above risks. This tutorial explains how to create, manage and remove WLAN filter on Windows 8, Windows 7, Vista and XP computers.

How To Manage Wireless Filters

This section explains Command Prompt method to set wireless filer for a WiFi network on Windows PC. It also explains how to delete the WLAN filter in case if you no longer want to block that particular network on your computer. We can block both infrastructure and Ad-hoc networks by creating filters. I have explained this part with practical examples.
  1. Block a Wireless Network By Wlan Filter

    You can set wireless filters for both ad-hoc and infrastructure 802.11 networks. The format of the code to create a wireless filter to block a network is provided below.

    netsh wlan add filter permission={allow|block|denyall} ssid=NETWORKNAME networktype={infrastructure|adhoc}

    Now let us consider a practical example. Here I am going to create a filter for WiFi network "Siju1". It is an ad-hoc network and the command to enable the filter to block it is given below. You must start Command Prompt as administrator to perform it. Right click on cmd on Window search and select run as administrator. Before running this command, make sure WLAN AutoConfig service is started.

    netsh wlan add filter permission=block ssid=siju1 networktype=adhoc

    If you haven't completed the above two tasks, you may get an error like this.
    stop service

    Now we must do the following tasks.

    If you have completed these two steps before running the command on DOS prompt, you will get a message like this.

    You will see the message the filter is added on the system successfully.

  2. Show All Wireless Filters Set

    If any wireless filter is set on your computer ago, it will stop you from accessing the specific network. So, in order to verify there are no unauthorized or unwanted wireless filters are turned on, you must periodically check all WLAN filters set on your Windows computer. You can display all available wireless filters by typing following command on Command Prompt.

    netsh wlan show filters

  3. Delete Wlan Filter

    If any wireless filters set on your computer to prevent from connecting to a specific connection, you can remove them from DOS prompt itself. The syntax for the command to delete filter is given below.

    netsh wlan delete filter permission={allow|block|denyall} ssid=NETWORKNAME networktype={infrastructure|adhoc}

    Now let us check the procedure to check and remove unwanted filters.

    • View available filters by running the command netsh wlan show filters on DOS Prompt.

      Here I need to delete siju1 filter.

    • Type the command below to delete the specific filter. Make sure DOS prompt is running as administrator.

      netsh wlan delete filter permission=block ssid=siju1 networktype=adhoc

    • Press the enter button

Popular Articles
  1. How to Clear Preferred Connections From Windows 8

  2. How to Start WZC

  3. Best Six Antivirus Products To Download For Free

No:Recent Tutorials
1 Wireless Network Connection Doesn't Have Valid IP Configuration
2Reasons to Get Unable to Join Network Error While Connecting WiFi
3 Cannot Access Internet After Installing New Wireless Router
Difference Between Static (WEP) and Dynamic (WPA) Wireless Encryption
Advantages of Using Wireless N over Wireless G Standard
Throughput is Halved by WDS in Repeater Mode
The network did not Assign a Valid IP address in a given time
Changing Wireless Channel to Improve Wireless Signal Quality
Delete Saved Preferred Wireless Network Profiles On Windows
How to Change Linksys Router Wireless Channel
No SSID Broadcast From Wireless Router & Access Point
The Connection Has Limited or No Connectivity
The laptop is Not Getting Wireless Signals and Internet
How to Connect to an Ad-Hoc Wireless Network
Basic Wireless Connection Troubleshooting Guide