This post shows students and new users steps to hide a WiFi network name or SSID from showing up among available networks in Windows 11. By default, when you click on the WiFi settings in Windows 11, it will scan and display all networks within range.
If there are networks within the range that you do not ever want to connect to or have offensive names, you can block them in Windows so they’re not listed among available networks in the WiFi networks pane.
One can use some tools to block networks from displaying in the WiFi connections list. However, Windows can do this easily without needing additional software or app. When you block a network SSID, it will never be shown among available networks. This is easy to accomplish and we’ll show you how to do that below.
You have two options to stop displaying other WiFi networks in Windows. You can block individual WiFi networks or block all then whitelist yours only.
Below we’ll show you how to do that.
How to stop showing your neighbor’s WiFi in Windows 11
As mentioned above, one can block a WiFi network from displaying among available networks in Windows 11. Below is how to do that.
You’ll default see a similar WiFi connection pane whenever you wish to connect to a new WiFi network. Windows allows you to hide individual or all the networks that are broadcasting.

Open the Command Prompt as administrator to hide a network or all networks on the connecting pane.

Next, run the commands below to block individual WiFi SSID from showing up among available networks in our WiFi connection settings.
netsh wlan add filter permission=block ssid=YYYYYYYY networktype=infrastructure netsh wlan add filter permission=block ssid=AAAAAAAA networktype=infrastructure
Replacing YYYYYYYY and AAAAAAA with the WiFi SSID you want to block in Windows.
When you do that, the highlighted SSID will be hidden from the available network pane.
How to block all WiFi SSID and whitelist yours
Alternatively, you can block all available networks from displaying in the window and only show yours (the one whitelisted).
To do that, open the Command Prompt as administrator.
Then run the commands below to deny all networks from showing on the available list.
netsh wlan add filter permission=denyall networktype=infrastructure
Next, whitelist the network you want to be shown on the available list, including yours.
netsh wlan add filter permission=allow ssid=ZZZZZZZZ networktype=infrastructure
That should do it!
Conclusion:
This post showed you how to block networks from showing among the available network lists. Please use the comment form below if you find any errors above or have something to add.