Preventing Wireless Connection to Certain Networks in Vista/Server 2008

by Eric Geier [Published on 8 April 2009 / Last Updated on 3 Dec. 2008]

Windows Vista and Server 2008 include Netsh Commands specifically for WLANs, which let you block access to specified wireless networks.

If you find it necessary, you can prevent users from connecting to, or even seeing, certain Wi-Fi networks from Windows Vista or Server 2008. Thanks to the new Netsh WLAN commands, you can use the Command Prompt to create filters to deny or allow certain networks by their SSID. Maybe there’s an open wireless network around and you don’t want users to be able to connect, to reduce the chances of the workstation’s security being compromised.

 

Adding filter syntax:

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

 

Removing a filter syntax:

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

 

View the filters:

netsh wlan show filters

***

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).

See Also

Featured Links