How To Block A Computer From Accessing To A Specific Wireless Network

8

imageEven though you have put pretty strong security on the wireless network, in some cases it helps if you still wants to completely lock down certain computers from accessing it. Unfortunately, there is no easy tool built-in Windows that can easily do that for you. You will have to go through the cool command line to make it happen. And this time, we will use netsh command line from the Command Prompt window.

Let’s say we want to block a computer from accessing a wireless network SSID “home”. Here is what we can do:

First, open Dos Prompt window as Administrator on the machine you want to block the access. Then, use the following command to block the access.

netsh wlan add filter permission=block ssid=home

After that, you can use

netsh wlan show filter

to double check if the setting is taken in place.

image

Furthermore, if you want to block this computer from accessing all wireless network, simply use denyall option in the command.

netsh wlan add filter permission=denyall networktype=adhoc

That’s it. Isn’t that hard?

SHARE

8 COMMENTS

  1. Thanks for the help! I tried for hours to find an option through the OS with no luck. As a side note, I had to add

    networktype=infrastructure

    -or-

    networktype=adhoc

    to the end of the line to get the code accepted.

    • This works great blocking my child from connecting to other networks around our apartment. If you are trying to block an SSID with two names like Boingo Hotspot use parenthesis around the two names (ssid=”Boingo Hotspot”. Also, as noted above, you need to have the networktype=infrastructure at the end.

      Mitch in NYC

  2. Hello.
    does this work with a wifi hotspot created on windows 7?
    how to only deny some pc’s?
    and how to only allow some pc’s?

LEAVE A REPLY

Please enter your comment!
Please enter your name here