How to Hide your Neighbors’ Wi-Fi Network (SSID) on Your Computer?

When you click on the Wi-Fi icon in the Notification area, you’ll see the list of Wireless network broadcasts that are within your connection range. With high range routers available in the market, the Wi-Fi broadcast signals are powerful and cover a long range. If you’re an apartment dweller, you’ll see too many SSIDs from your neighbors, which are of absolutely no use to you. You can clear the clutter by hiding those unneeded Wi-Fi networks from the list.

list of ssid wi-fi networks

How to Hide your Neighbors’ WiFi Networks (SSID) on Your Computer?

Using the Netsh.exe console tool, you can hide your neighbors’ Wi-Fi networks (SSIDs) from appearing on your computer’s available Wi-Fi networks list.

You have two options to remove unwanted networks from appearing in the Wi-Fi tab:

  • Method 1: Block and hide individual SSIDs (or)
  • Method 2: Block all SSIDs and then whitelist your own Wireless network(s).

Method 1: Block or Blacklist Unwanted Wi-Fi Network SSIDs

To hide the SSIDs KUKUKEKE and Aathikesh shown in the above screenshot, use the Netsh.exe command:

Open an Admin Command Prompt window and run these two commands:

netsh wlan add filter permission=block ssid=KUKUKEKE networktype=infrastructure
netsh wlan add filter permission=block ssid=Aathikesh networktype=infrastructure

netsh add filter permission block ssid

This removes the two items from the list of available Wi-Fi connections.

list of ssid wi-fi networks

If you plan to delete the filters in order to show those Wireless networks in the list again, use this command to undo the filter:

netsh wlan delete filter permission=block ssid=KUKUKEKE networktype=infrastructure
netsh wlan delete filter permission=block ssid=Aathikesh networktype=infrastructure

Method 2: Block All Wi-Fi Networks & Allow (Whitelist) Your Wi-Fi Network(s)

By default, all Wi-Fi networks are allowed. You can configure Windows to block or deny all SSIDs (permission=denyall) so that none is displayed/allowed to be connected. And then, whitelist individual SSIDs using the permission=allow parameter as mentioned below. The disallowed SSIDs don’t appear in the list of Wi-Fi networks in Windows 10.



Here is the command-line to deny all Wi-Fi networks:

netsh wlan add filter permission=denyall networktype=infrastructure

At this point, your existing Wi-Fi network will disconnect and none will show up in the list. The Wi-Fi flyout in Windows 10 shows the message “No Wi-Fi networks found.”

No Wi-Fi networks found

Now, add or whitelist your own Wi-Fi connection SSID (e.g. “Ramesh”), using this command:

netsh wlan add filter permission=allow ssid=Ramesh networktype=infrastructure

Likewise, you can add as many SSIDs to the “allow” list.

If you plan to remove the “deny all” filter in the future, use this command-line:

netsh wlan delete filter permission=denyall networktype=infrastructure

Note that the filters are honored only by Windows. Third-party apps can see all Wi-Fi networks regardless of the Netsh filters. For example, here is a screenshot of WifiInfoView, a Wi-Fi network viewer software from Nirsoft.net.

wifiinfoview list of ssids
WifiInfoView utility: List of Wi-Fi networks and their details

Hide your own SSID from neighbors

For security reasons, you may also want to hide your SSID from neighbors. You can do it in the router settings page.

hide ssid in router settings
Disable SSID broadcast in Router configuration page

If you deselect the “Enable SSID Broadcast” checkbox, the wireless device will not broadcast its name (SSID) on the air. However, if someone knows the Wireless network name (SSID) and password already, they can still connect to your Wireless network. If you have the Wireless network credentials saved on your devices, then you may turn off SSID broadcast and switch it On only when needed.


One small request: If you liked this post, please share this?

One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:
  • Pin it!
  • Share it to your favorite blog + Facebook, Reddit
  • Tweet it!
So thank you so much for your support, my reader. It won't take more than 10 seconds of your time. The share buttons are right here. :)

About the author

Ramesh Srinivasan founded Winhelponline.com back in 2005. He is passionate about Microsoft technologies and has a vast experience in Windows — delivering support for Microsoft's consumer products. He has been a Microsoft MVP (2003-2012) who contributes to various Windows support forums.

8 thoughts on “How to Hide your Neighbors’ Wi-Fi Network (SSID) on Your Computer?”

  1. Im sorry is there a way to block someone again that you have block him with the same ssid name,but he unfortunetaly i dont know he found a way to unblock himself…and i cannot block him…even thought i have block his SSID when i try to block the same ssid tells me that is already on the list ….and i see it on my network….please help me out!!! im begging you!!! :'(

  2. How to block someone’s ssid name from appearing when there is an emoji in their ssid? I do not know how to translate the emoji to a code the command prompt will recognize to filter out their wifi from appearing in my list.

    • @chuck: I tested the netsh command in v1903 to block neighbor’s wi-fi, and can confirm that it still works.

Leave a Comment