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

Kent Chen

Microsoft MVP, IT Professional, Developer, Geek, and the co-founder of Next of Windows.

Last updated: 08/04/2014

Posted in: How to , Tips & Tricks
Discover more: , ,

Leave a Reply

Notify of
avatar

Ordri
Guest
Ordri
4 years 11 months ago

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.

Mitchell
Guest
Mitchell
4 years 9 months ago

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
Guest
4 years 2 months ago

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

Dubya
Guest
Dubya
4 years 2 months ago

Thanks. This was so much simpler with XP.

my proud
Guest
my proud
2 years 11 months ago

thx

Sander
Guest
Sander
2 years 10 months ago

Thanks alot!

wpDiscuz