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

The Author — Eric Geier

Eric Geier (Dayton, Ohio) is a Freelance  Tech Writer and Author specializing in computer networking. He's also the Founder and Owner of NoWiresSecurity, which provides a hosted cloud-based RADIUS service to help businesses easily secure their Wi-Fi networks with the Enterprise (802.1X) mode of WPA/WPA2 security. He’s also the Founder and Owner of On Spot Techs, which provides on-site computer and technology services.

Featured Links