• RSS
  • Twitter
  • FaceBook

Block Users from Seeing or Connecting to Other Wi-Fi Networks

  • Section(s): Security, Networking, Network, Security
  • Published on Jul 02, 2009.
  • Last Modified on Mar 06, 2009.
  • Last Modified by Eric Geier.
  • Rated 4 out of 5 based on 1 votes.
Filtering networks using the WLAN Netsh commands.

In Windows Server 2008 or Vista, you can hide networks from appearing in the Connect to a Network dialog and block connections to certain networks. This is a great way to prevent computers from being accidentally or intentionally connected to other networks and compromising security. This functionality is provided by the filter feature of the new WLAN commands for Netsh, a powerful command line utility.

To see list of enabled filters: netsh wlan show filters

To add a filter:

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

If using the denyall permission, don’t include the SSID attribute. This lets you block all infrastructure or adhoc networks, while you still can explicitly allow other networks.

To remove a filter:

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

To either display or hide the blocked networks on the Connect to a Network dialog:

netsh wlan setblockednetworksdisplay={show|hide}

***
Eric Geier is an author of many wireless networking and computing books including Home Networking All-in-One Desk Reference For Dummies (Wiley 2008) and 100 Things You Need to Know about Upgrading to Windows Vista (Que 2007).

About Eric Geier

Eric Geier (Dayton, Ohio) is a tech writer and author specializing in computer networking.

He's also the founder and CEO of NoWiresSecurity, which provides an outsourced RADIUS/802.1X service to help businesses secure their Wi-Fi networks with the Enterprise mode of WPA/WPA2 encryption.

Additionally, he’s a Field Technician for Fast-Teks, an on-site computer services company that has hundreds of locations across the US.


Article not looking right or info is missing? Let us know so that we can fix it: .


Receive all the latest articles by email!

Receive Real-Time & Monthly WindowsNetworking.com article updates in your mailbox. Enter your email below!
Click for Real-Time sample & Monthly sample

Become a WindowsNetworking.com member!

Discuss your network issues with thousands of other network administrators. Click here to join!

Community Area

Log in | Register

Readers' Choice

Which is your preferred Network Monitoring & Management solution?