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

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.


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?

Related posts:

  1. How To Manage A Wireless WiFi Network from the Command Line in Windows 7
  2. How To Turn Your Windows 8 Computer into A Wireless Hotspot Access Point
  3. How To Reveal Saved Wireless Network Password in Windows 8
  4. Wireless Network Watcher Finds Out Who is on Your Wireless Network
  5. WirelessKeyView to Recover Your Lost Wireless Network Key
  • Pingback: Tweets that mention How To Block A Computer From Accessing To A Specific Wireless Network | Windows7hacker --

  • Ordri

    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




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

    • Mitchell

      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

  • Kyan Klee Cayad-an

    Can u post how to fix wifi connection it is always get dc after laptop connects but in mobiles it is ok

  • Dubya

    Thanks. This was so much simpler with XP.

  • my proud


  • Sander

    Thanks alot!